Updating FSF address in the code.
[coreboot.git] / src / southbridge / winbond / w83c553 / w83c553f.c
index cf91893f280014a9c3930f73231d7e88e7331194..6208afec96c569544b3987c22d64a50511a921be 100644 (file)
@@ -17,8 +17,8 @@
  *
  * 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
  */
 
 /*
@@ -34,7 +34,6 @@
 #include <arch/io.h>
 #include <device/pci.h>
 #include <device/pci_ids.h>
-#include <device/chip.h>
 #include <console/console.h>
 #include "w83c553f.h"
 
@@ -44,8 +43,6 @@ void initialise_dma(void);
 static void 
 w83c553_init(struct device *dev)
 {
-       unsigned char reg8;
-
        printk_info("Configure W83C553F ISA Bridge (Function 0)\n");
 
 #if 0
@@ -185,12 +182,18 @@ void initialise_dma(void)
        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 = {