diff options
Diffstat (limited to 'drivers/ide/pci/serverworks.c')
-rw-r--r-- | drivers/ide/pci/serverworks.c | 6 |
1 files changed, 3 insertions, 3 deletions
diff --git a/drivers/ide/pci/serverworks.c b/drivers/ide/pci/serverworks.c index e26bc8326dbb..d173f2937722 100644 --- a/drivers/ide/pci/serverworks.c +++ b/drivers/ide/pci/serverworks.c | |||
@@ -174,7 +174,7 @@ static void svwks_set_dma_mode(ide_drive_t *drive, const u8 speed) | |||
174 | pci_write_config_byte(dev, 0x54, ultra_enable); | 174 | pci_write_config_byte(dev, 0x54, ultra_enable); |
175 | } | 175 | } |
176 | 176 | ||
177 | static unsigned int __devinit init_chipset_svwks (struct pci_dev *dev, const char *name) | 177 | static unsigned int __devinit init_chipset_svwks(struct pci_dev *dev) |
178 | { | 178 | { |
179 | unsigned int reg; | 179 | unsigned int reg; |
180 | u8 btr; | 180 | u8 btr; |
@@ -190,8 +190,8 @@ static unsigned int __devinit init_chipset_svwks (struct pci_dev *dev, const cha | |||
190 | pci_read_config_dword(isa_dev, 0x64, ®); | 190 | pci_read_config_dword(isa_dev, 0x64, ®); |
191 | reg &= ~0x00002000; /* disable 600ns interrupt mask */ | 191 | reg &= ~0x00002000; /* disable 600ns interrupt mask */ |
192 | if(!(reg & 0x00004000)) | 192 | if(!(reg & 0x00004000)) |
193 | printk(KERN_DEBUG "%s %s: UDMA not BIOS " | 193 | printk(KERN_DEBUG DRV_NAME " %s: UDMA not BIOS " |
194 | "enabled.\n", name, pci_name(dev)); | 194 | "enabled.\n", pci_name(dev)); |
195 | reg |= 0x00004000; /* enable UDMA/33 support */ | 195 | reg |= 0x00004000; /* enable UDMA/33 support */ |
196 | pci_write_config_dword(isa_dev, 0x64, reg); | 196 | pci_write_config_dword(isa_dev, 0x64, reg); |
197 | } | 197 | } |