|
@@ -1334,9 +1334,13 @@ static int __devinit init_hpt366(struct pci_dev *dev)
|
|
|
static unsigned int __devinit init_chipset_hpt366(struct pci_dev *dev, const char *name)
|
|
|
{
|
|
|
int ret = 0;
|
|
|
- /* FIXME: Not portable */
|
|
|
+
|
|
|
+ /*
|
|
|
+ * FIXME: Not portable. Also, why do we enable the ROM in the first place?
|
|
|
+ * We don't seem to be using it.
|
|
|
+ */
|
|
|
if (dev->resource[PCI_ROM_RESOURCE].start)
|
|
|
- pci_write_config_byte(dev, PCI_ROM_ADDRESS,
|
|
|
+ pci_write_config_dword(dev, PCI_ROM_ADDRESS,
|
|
|
dev->resource[PCI_ROM_RESOURCE].start | PCI_ROM_ADDRESS_ENABLE);
|
|
|
|
|
|
pci_write_config_byte(dev, PCI_CACHE_LINE_SIZE, (L1_CACHE_BYTES / 4));
|