*
* You should have received a copy of the GNU General Public License
* along with this program; if not, write to the Free Software
- * Foundation, Inc., 59 Temple Place, Suite 330, Boston,
- * MA 02111-1307 USA
+ * Foundation, Inc., 51 Franklin St, Fifth Floor, Boston,
+ * MA 02110-1301 USA
*/
/*
#include <arch/io.h>
#include <device/pci.h>
#include <device/pci_ids.h>
-#include <device/chip.h>
#include <console/console.h>
#include "w83c553f.h"
static void
w83c553_init(struct device *dev)
{
- unsigned char reg8;
-
printk_info("Configure W83C553F ISA Bridge (Function 0)\n");
#if 0
outw(W83C553F_DMA2 + W83C553F_DMA2_CS, 0x0000);
}
+static void w83c553_enable_resources(device_t dev)
+{
+ pci_dev_enable_resources(dev);
+ enable_childrens_resources(dev);
+}
+
struct device_operations w83c553_ops = {
.read_resources = pci_dev_read_resources,
.set_resources = pci_dev_set_resources,
- .enable_resources = pci_dev_enable_resources,
+ .enable_resources = w83c553_enable_resources,
.init = w83c553_init,
- .scan_bus = 0,
+ .scan_bus = scan_static_bus,
};
struct pci_driver w83c553f_pci_driver __pci_driver = {