diff options
| -rw-r--r-- | drivers/ide/Makefile | 1 | ||||
| -rw-r--r-- | drivers/ide/ide-lib.c | 13 | ||||
| -rw-r--r-- | drivers/ide/pci/alim15x3.c | 10 | ||||
| -rw-r--r-- | drivers/ide/pci/amd74xx.c | 7 | ||||
| -rw-r--r-- | drivers/ide/pci/cs5530.c | 4 | ||||
| -rw-r--r-- | drivers/ide/pci/cy82c693.c | 8 | ||||
| -rw-r--r-- | drivers/ide/pci/it8172.c | 4 | ||||
| -rw-r--r-- | drivers/ide/pci/ns87415.c | 2 | ||||
| -rw-r--r-- | drivers/ide/pci/opti621.c | 2 | ||||
| -rw-r--r-- | drivers/ide/pci/sc1200.c | 2 | ||||
| -rw-r--r-- | drivers/ide/pci/sl82c105.c | 6 | ||||
| -rw-r--r-- | drivers/ide/pci/slc90e66.c | 2 | ||||
| -rw-r--r-- | drivers/ide/pci/triflex.c | 2 | ||||
| -rw-r--r-- | drivers/ide/pci/via82cxxx.c | 4 | ||||
| -rw-r--r-- | include/linux/pci_ids.h | 1 |
15 files changed, 34 insertions, 34 deletions
diff --git a/drivers/ide/Makefile b/drivers/ide/Makefile index 5be8ad6dc9ed..cca9c075966d 100644 --- a/drivers/ide/Makefile +++ b/drivers/ide/Makefile | |||
| @@ -20,7 +20,6 @@ ide-core-$(CONFIG_BLK_DEV_CMD640) += pci/cmd640.o | |||
| 20 | # Core IDE code - must come before legacy | 20 | # Core IDE code - must come before legacy |
| 21 | ide-core-$(CONFIG_BLK_DEV_IDEPCI) += setup-pci.o | 21 | ide-core-$(CONFIG_BLK_DEV_IDEPCI) += setup-pci.o |
| 22 | ide-core-$(CONFIG_BLK_DEV_IDEDMA) += ide-dma.o | 22 | ide-core-$(CONFIG_BLK_DEV_IDEDMA) += ide-dma.o |
| 23 | ide-core-$(CONFIG_BLK_DEV_IDE_TCQ) += ide-tcq.o | ||
| 24 | ide-core-$(CONFIG_PROC_FS) += ide-proc.o | 23 | ide-core-$(CONFIG_PROC_FS) += ide-proc.o |
| 25 | ide-core-$(CONFIG_BLK_DEV_IDEPNP) += ide-pnp.o | 24 | ide-core-$(CONFIG_BLK_DEV_IDEPNP) += ide-pnp.o |
| 26 | 25 | ||
diff --git a/drivers/ide/ide-lib.c b/drivers/ide/ide-lib.c index 6806d407e9c1..b09a6537c7a8 100644 --- a/drivers/ide/ide-lib.c +++ b/drivers/ide/ide-lib.c | |||
| @@ -487,8 +487,7 @@ static u8 ide_dump_ata_status(ide_drive_t *drive, const char *msg, u8 stat) | |||
| 487 | u8 err = 0; | 487 | u8 err = 0; |
| 488 | 488 | ||
| 489 | local_irq_set(flags); | 489 | local_irq_set(flags); |
| 490 | printk("%s: %s: status=0x%02x", drive->name, msg, stat); | 490 | printk("%s: %s: status=0x%02x { ", drive->name, msg, stat); |
| 491 | printk(" { "); | ||
| 492 | if (stat & BUSY_STAT) | 491 | if (stat & BUSY_STAT) |
| 493 | printk("Busy "); | 492 | printk("Busy "); |
| 494 | else { | 493 | else { |
| @@ -500,15 +499,13 @@ static u8 ide_dump_ata_status(ide_drive_t *drive, const char *msg, u8 stat) | |||
| 500 | if (stat & INDEX_STAT) printk("Index "); | 499 | if (stat & INDEX_STAT) printk("Index "); |
| 501 | if (stat & ERR_STAT) printk("Error "); | 500 | if (stat & ERR_STAT) printk("Error "); |
| 502 | } | 501 | } |
| 503 | printk("}"); | 502 | printk("}\n"); |
| 504 | printk("\n"); | ||
| 505 | if ((stat & (BUSY_STAT|ERR_STAT)) == ERR_STAT) { | 503 | if ((stat & (BUSY_STAT|ERR_STAT)) == ERR_STAT) { |
| 506 | err = hwif->INB(IDE_ERROR_REG); | 504 | err = hwif->INB(IDE_ERROR_REG); |
| 507 | printk("%s: %s: error=0x%02x", drive->name, msg, err); | 505 | printk("%s: %s: error=0x%02x { ", drive->name, msg, err); |
| 508 | printk(" { "); | ||
| 509 | if (err & ABRT_ERR) printk("DriveStatusError "); | 506 | if (err & ABRT_ERR) printk("DriveStatusError "); |
| 510 | if (err & ICRC_ERR) | 507 | if (err & ICRC_ERR) |
| 511 | printk("Bad%s ", (err & ABRT_ERR) ? "CRC" : "Sector"); | 508 | printk((err & ABRT_ERR) ? "BadCRC " : "BadSector "); |
| 512 | if (err & ECC_ERR) printk("UncorrectableError "); | 509 | if (err & ECC_ERR) printk("UncorrectableError "); |
| 513 | if (err & ID_ERR) printk("SectorIdNotFound "); | 510 | if (err & ID_ERR) printk("SectorIdNotFound "); |
| 514 | if (err & TRK0_ERR) printk("TrackZeroNotFound "); | 511 | if (err & TRK0_ERR) printk("TrackZeroNotFound "); |
| @@ -546,8 +543,8 @@ static u8 ide_dump_ata_status(ide_drive_t *drive, const char *msg, u8 stat) | |||
| 546 | printk(", sector=%llu", | 543 | printk(", sector=%llu", |
| 547 | (unsigned long long)HWGROUP(drive)->rq->sector); | 544 | (unsigned long long)HWGROUP(drive)->rq->sector); |
| 548 | } | 545 | } |
| 546 | printk("\n"); | ||
| 549 | } | 547 | } |
| 550 | printk("\n"); | ||
| 551 | ide_dump_opcode(drive); | 548 | ide_dump_opcode(drive); |
| 552 | local_irq_restore(flags); | 549 | local_irq_restore(flags); |
| 553 | return err; | 550 | return err; |
diff --git a/drivers/ide/pci/alim15x3.c b/drivers/ide/pci/alim15x3.c index 67efb38a9f6c..6cf49394a80f 100644 --- a/drivers/ide/pci/alim15x3.c +++ b/drivers/ide/pci/alim15x3.c | |||
| @@ -583,7 +583,7 @@ static int ali15x3_dma_setup(ide_drive_t *drive) | |||
| 583 | * appropriate also sets up the 1533 southbridge. | 583 | * appropriate also sets up the 1533 southbridge. |
| 584 | */ | 584 | */ |
| 585 | 585 | ||
| 586 | static unsigned int __init init_chipset_ali15x3 (struct pci_dev *dev, const char *name) | 586 | static unsigned int __devinit init_chipset_ali15x3 (struct pci_dev *dev, const char *name) |
| 587 | { | 587 | { |
| 588 | unsigned long flags; | 588 | unsigned long flags; |
| 589 | u8 tmpbyte; | 589 | u8 tmpbyte; |
| @@ -677,7 +677,7 @@ static unsigned int __init init_chipset_ali15x3 (struct pci_dev *dev, const char | |||
| 677 | * FIXME: frobs bits that are not defined on newer ALi devicea | 677 | * FIXME: frobs bits that are not defined on newer ALi devicea |
| 678 | */ | 678 | */ |
| 679 | 679 | ||
| 680 | static unsigned int __init ata66_ali15x3 (ide_hwif_t *hwif) | 680 | static unsigned int __devinit ata66_ali15x3 (ide_hwif_t *hwif) |
| 681 | { | 681 | { |
| 682 | struct pci_dev *dev = hwif->pci_dev; | 682 | struct pci_dev *dev = hwif->pci_dev; |
| 683 | unsigned int ata66 = 0; | 683 | unsigned int ata66 = 0; |
| @@ -748,7 +748,7 @@ static unsigned int __init ata66_ali15x3 (ide_hwif_t *hwif) | |||
| 748 | * Initialize the IDE structure side of the ALi 15x3 driver. | 748 | * Initialize the IDE structure side of the ALi 15x3 driver. |
| 749 | */ | 749 | */ |
| 750 | 750 | ||
| 751 | static void __init init_hwif_common_ali15x3 (ide_hwif_t *hwif) | 751 | static void __devinit init_hwif_common_ali15x3 (ide_hwif_t *hwif) |
| 752 | { | 752 | { |
| 753 | hwif->autodma = 0; | 753 | hwif->autodma = 0; |
| 754 | hwif->tuneproc = &ali15x3_tune_drive; | 754 | hwif->tuneproc = &ali15x3_tune_drive; |
| @@ -794,7 +794,7 @@ static void __init init_hwif_common_ali15x3 (ide_hwif_t *hwif) | |||
| 794 | * Sparc systems | 794 | * Sparc systems |
| 795 | */ | 795 | */ |
| 796 | 796 | ||
| 797 | static void __init init_hwif_ali15x3 (ide_hwif_t *hwif) | 797 | static void __devinit init_hwif_ali15x3 (ide_hwif_t *hwif) |
| 798 | { | 798 | { |
| 799 | u8 ideic, inmir; | 799 | u8 ideic, inmir; |
| 800 | s8 irq_routing_table[] = { -1, 9, 3, 10, 4, 5, 7, 6, | 800 | s8 irq_routing_table[] = { -1, 9, 3, 10, 4, 5, 7, 6, |
| @@ -847,7 +847,7 @@ static void __init init_hwif_ali15x3 (ide_hwif_t *hwif) | |||
| 847 | * the actual work. | 847 | * the actual work. |
| 848 | */ | 848 | */ |
| 849 | 849 | ||
| 850 | static void __init init_dma_ali15x3 (ide_hwif_t *hwif, unsigned long dmabase) | 850 | static void __devinit init_dma_ali15x3 (ide_hwif_t *hwif, unsigned long dmabase) |
| 851 | { | 851 | { |
| 852 | if (m5229_revision < 0x20) | 852 | if (m5229_revision < 0x20) |
| 853 | return; | 853 | return; |
diff --git a/drivers/ide/pci/amd74xx.c b/drivers/ide/pci/amd74xx.c index 4e0f13d1d060..844a6c9fb949 100644 --- a/drivers/ide/pci/amd74xx.c +++ b/drivers/ide/pci/amd74xx.c | |||
| @@ -73,6 +73,7 @@ static struct amd_ide_chip { | |||
| 73 | { PCI_DEVICE_ID_NVIDIA_NFORCE_CK804_IDE, 0x50, AMD_UDMA_133 }, | 73 | { PCI_DEVICE_ID_NVIDIA_NFORCE_CK804_IDE, 0x50, AMD_UDMA_133 }, |
| 74 | { PCI_DEVICE_ID_NVIDIA_NFORCE_MCP04_IDE, 0x50, AMD_UDMA_133 }, | 74 | { PCI_DEVICE_ID_NVIDIA_NFORCE_MCP04_IDE, 0x50, AMD_UDMA_133 }, |
| 75 | { PCI_DEVICE_ID_NVIDIA_NFORCE_MCP51_IDE, 0x50, AMD_UDMA_133 }, | 75 | { PCI_DEVICE_ID_NVIDIA_NFORCE_MCP51_IDE, 0x50, AMD_UDMA_133 }, |
| 76 | { PCI_DEVICE_ID_NVIDIA_NFORCE_MCP55_IDE, 0x50, AMD_UDMA_133 }, | ||
| 76 | { 0 } | 77 | { 0 } |
| 77 | }; | 78 | }; |
| 78 | 79 | ||
| @@ -309,7 +310,7 @@ static int amd74xx_ide_dma_check(ide_drive_t *drive) | |||
| 309 | * and initialize its drive independent registers. | 310 | * and initialize its drive independent registers. |
| 310 | */ | 311 | */ |
| 311 | 312 | ||
| 312 | static unsigned int __init init_chipset_amd74xx(struct pci_dev *dev, const char *name) | 313 | static unsigned int __devinit init_chipset_amd74xx(struct pci_dev *dev, const char *name) |
| 313 | { | 314 | { |
| 314 | unsigned char t; | 315 | unsigned char t; |
| 315 | unsigned int u; | 316 | unsigned int u; |
| @@ -413,7 +414,7 @@ static unsigned int __init init_chipset_amd74xx(struct pci_dev *dev, const char | |||
| 413 | return dev->irq; | 414 | return dev->irq; |
| 414 | } | 415 | } |
| 415 | 416 | ||
| 416 | static void __init init_hwif_amd74xx(ide_hwif_t *hwif) | 417 | static void __devinit init_hwif_amd74xx(ide_hwif_t *hwif) |
| 417 | { | 418 | { |
| 418 | int i; | 419 | int i; |
| 419 | 420 | ||
| @@ -489,6 +490,7 @@ static ide_pci_device_t amd74xx_chipsets[] __devinitdata = { | |||
| 489 | /* 13 */ DECLARE_NV_DEV("NFORCE-CK804"), | 490 | /* 13 */ DECLARE_NV_DEV("NFORCE-CK804"), |
| 490 | /* 14 */ DECLARE_NV_DEV("NFORCE-MCP04"), | 491 | /* 14 */ DECLARE_NV_DEV("NFORCE-MCP04"), |
| 491 | /* 15 */ DECLARE_NV_DEV("NFORCE-MCP51"), | 492 | /* 15 */ DECLARE_NV_DEV("NFORCE-MCP51"), |
| 493 | /* 16 */ DECLARE_NV_DEV("NFORCE-MCP55"), | ||
| 492 | }; | 494 | }; |
| 493 | 495 | ||
| 494 | static int __devinit amd74xx_probe(struct pci_dev *dev, const struct pci_device_id *id) | 496 | static int __devinit amd74xx_probe(struct pci_dev *dev, const struct pci_device_id *id) |
| @@ -524,6 +526,7 @@ static struct pci_device_id amd74xx_pci_tbl[] = { | |||
| 524 | { PCI_VENDOR_ID_NVIDIA, PCI_DEVICE_ID_NVIDIA_NFORCE_CK804_IDE, PCI_ANY_ID, PCI_ANY_ID, 0, 0, 13 }, | 526 | { PCI_VENDOR_ID_NVIDIA, PCI_DEVICE_ID_NVIDIA_NFORCE_CK804_IDE, PCI_ANY_ID, PCI_ANY_ID, 0, 0, 13 }, |
| 525 | { PCI_VENDOR_ID_NVIDIA, PCI_DEVICE_ID_NVIDIA_NFORCE_MCP04_IDE, PCI_ANY_ID, PCI_ANY_ID, 0, 0, 14 }, | 527 | { PCI_VENDOR_ID_NVIDIA, PCI_DEVICE_ID_NVIDIA_NFORCE_MCP04_IDE, PCI_ANY_ID, PCI_ANY_ID, 0, 0, 14 }, |
| 526 | { PCI_VENDOR_ID_NVIDIA, PCI_DEVICE_ID_NVIDIA_NFORCE_MCP51_IDE, PCI_ANY_ID, PCI_ANY_ID, 0, 0, 15 }, | 528 | { PCI_VENDOR_ID_NVIDIA, PCI_DEVICE_ID_NVIDIA_NFORCE_MCP51_IDE, PCI_ANY_ID, PCI_ANY_ID, 0, 0, 15 }, |
| 529 | { PCI_VENDOR_ID_NVIDIA, PCI_DEVICE_ID_NVIDIA_NFORCE_MCP55_IDE, PCI_ANY_ID, PCI_ANY_ID, 0, 0, 16 }, | ||
| 527 | { 0, }, | 530 | { 0, }, |
| 528 | }; | 531 | }; |
| 529 | MODULE_DEVICE_TABLE(pci, amd74xx_pci_tbl); | 532 | MODULE_DEVICE_TABLE(pci, amd74xx_pci_tbl); |
diff --git a/drivers/ide/pci/cs5530.c b/drivers/ide/pci/cs5530.c index 0381961db263..09269e574b3e 100644 --- a/drivers/ide/pci/cs5530.c +++ b/drivers/ide/pci/cs5530.c | |||
| @@ -217,7 +217,7 @@ static int cs5530_config_dma (ide_drive_t *drive) | |||
| 217 | * Initialize the cs5530 bridge for reliable IDE DMA operation. | 217 | * Initialize the cs5530 bridge for reliable IDE DMA operation. |
| 218 | */ | 218 | */ |
| 219 | 219 | ||
| 220 | static unsigned int __init init_chipset_cs5530 (struct pci_dev *dev, const char *name) | 220 | static unsigned int __devinit init_chipset_cs5530 (struct pci_dev *dev, const char *name) |
| 221 | { | 221 | { |
| 222 | struct pci_dev *master_0 = NULL, *cs5530_0 = NULL; | 222 | struct pci_dev *master_0 = NULL, *cs5530_0 = NULL; |
| 223 | unsigned long flags; | 223 | unsigned long flags; |
| @@ -308,7 +308,7 @@ static unsigned int __init init_chipset_cs5530 (struct pci_dev *dev, const char | |||
| 308 | * performs channel-specific pre-initialization before drive probing. | 308 | * performs channel-specific pre-initialization before drive probing. |
| 309 | */ | 309 | */ |
| 310 | 310 | ||
| 311 | static void __init init_hwif_cs5530 (ide_hwif_t *hwif) | 311 | static void __devinit init_hwif_cs5530 (ide_hwif_t *hwif) |
| 312 | { | 312 | { |
| 313 | unsigned long basereg; | 313 | unsigned long basereg; |
| 314 | u32 d0_timings; | 314 | u32 d0_timings; |
diff --git a/drivers/ide/pci/cy82c693.c b/drivers/ide/pci/cy82c693.c index 80d67e99ccb5..5a33513f3dd1 100644 --- a/drivers/ide/pci/cy82c693.c +++ b/drivers/ide/pci/cy82c693.c | |||
| @@ -391,7 +391,7 @@ static void cy82c693_tune_drive (ide_drive_t *drive, u8 pio) | |||
| 391 | /* | 391 | /* |
| 392 | * this function is called during init and is used to setup the cy82c693 chip | 392 | * this function is called during init and is used to setup the cy82c693 chip |
| 393 | */ | 393 | */ |
| 394 | static unsigned int __init init_chipset_cy82c693(struct pci_dev *dev, const char *name) | 394 | static unsigned int __devinit init_chipset_cy82c693(struct pci_dev *dev, const char *name) |
| 395 | { | 395 | { |
| 396 | if (PCI_FUNC(dev->devfn) != 1) | 396 | if (PCI_FUNC(dev->devfn) != 1) |
| 397 | return 0; | 397 | return 0; |
| @@ -443,7 +443,7 @@ static unsigned int __init init_chipset_cy82c693(struct pci_dev *dev, const char | |||
| 443 | /* | 443 | /* |
| 444 | * the init function - called for each ide channel once | 444 | * the init function - called for each ide channel once |
| 445 | */ | 445 | */ |
| 446 | static void __init init_hwif_cy82c693(ide_hwif_t *hwif) | 446 | static void __devinit init_hwif_cy82c693(ide_hwif_t *hwif) |
| 447 | { | 447 | { |
| 448 | hwif->autodma = 0; | 448 | hwif->autodma = 0; |
| 449 | 449 | ||
| @@ -467,9 +467,9 @@ static void __init init_hwif_cy82c693(ide_hwif_t *hwif) | |||
| 467 | hwif->drives[1].autodma = hwif->autodma; | 467 | hwif->drives[1].autodma = hwif->autodma; |
| 468 | } | 468 | } |
| 469 | 469 | ||
| 470 | static __initdata ide_hwif_t *primary; | 470 | static __devinitdata ide_hwif_t *primary; |
| 471 | 471 | ||
| 472 | void __init init_iops_cy82c693(ide_hwif_t *hwif) | 472 | void __devinit init_iops_cy82c693(ide_hwif_t *hwif) |
| 473 | { | 473 | { |
| 474 | if (PCI_FUNC(hwif->pci_dev->devfn) == 1) | 474 | if (PCI_FUNC(hwif->pci_dev->devfn) == 1) |
| 475 | primary = hwif; | 475 | primary = hwif; |
diff --git a/drivers/ide/pci/it8172.c b/drivers/ide/pci/it8172.c index 631927cf17d4..93462926b9d5 100644 --- a/drivers/ide/pci/it8172.c +++ b/drivers/ide/pci/it8172.c | |||
| @@ -216,7 +216,7 @@ fast_ata_pio: | |||
| 216 | return 0; | 216 | return 0; |
| 217 | } | 217 | } |
| 218 | 218 | ||
| 219 | static unsigned int __init init_chipset_it8172 (struct pci_dev *dev, const char *name) | 219 | static unsigned int __devinit init_chipset_it8172 (struct pci_dev *dev, const char *name) |
| 220 | { | 220 | { |
| 221 | unsigned char progif; | 221 | unsigned char progif; |
| 222 | 222 | ||
| @@ -230,7 +230,7 @@ static unsigned int __init init_chipset_it8172 (struct pci_dev *dev, const char | |||
| 230 | } | 230 | } |
| 231 | 231 | ||
| 232 | 232 | ||
| 233 | static void __init init_hwif_it8172 (ide_hwif_t *hwif) | 233 | static void __devinit init_hwif_it8172 (ide_hwif_t *hwif) |
| 234 | { | 234 | { |
| 235 | struct pci_dev* dev = hwif->pci_dev; | 235 | struct pci_dev* dev = hwif->pci_dev; |
| 236 | unsigned long cmdBase, ctrlBase; | 236 | unsigned long cmdBase, ctrlBase; |
diff --git a/drivers/ide/pci/ns87415.c b/drivers/ide/pci/ns87415.c index 205a32fbc2f0..fcd5142f5cfe 100644 --- a/drivers/ide/pci/ns87415.c +++ b/drivers/ide/pci/ns87415.c | |||
| @@ -195,7 +195,7 @@ static int ns87415_ide_dma_check (ide_drive_t *drive) | |||
| 195 | return __ide_dma_check(drive); | 195 | return __ide_dma_check(drive); |
| 196 | } | 196 | } |
| 197 | 197 | ||
| 198 | static void __init init_hwif_ns87415 (ide_hwif_t *hwif) | 198 | static void __devinit init_hwif_ns87415 (ide_hwif_t *hwif) |
| 199 | { | 199 | { |
| 200 | struct pci_dev *dev = hwif->pci_dev; | 200 | struct pci_dev *dev = hwif->pci_dev; |
| 201 | unsigned int ctrl, using_inta; | 201 | unsigned int ctrl, using_inta; |
diff --git a/drivers/ide/pci/opti621.c b/drivers/ide/pci/opti621.c index cf4fd91d396a..7a7c2ef78ac2 100644 --- a/drivers/ide/pci/opti621.c +++ b/drivers/ide/pci/opti621.c | |||
| @@ -326,7 +326,7 @@ static void opti621_tune_drive (ide_drive_t *drive, u8 pio) | |||
| 326 | /* | 326 | /* |
| 327 | * init_hwif_opti621() is called once for each hwif found at boot. | 327 | * init_hwif_opti621() is called once for each hwif found at boot. |
| 328 | */ | 328 | */ |
| 329 | static void __init init_hwif_opti621 (ide_hwif_t *hwif) | 329 | static void __devinit init_hwif_opti621 (ide_hwif_t *hwif) |
| 330 | { | 330 | { |
| 331 | hwif->autodma = 0; | 331 | hwif->autodma = 0; |
| 332 | hwif->drives[0].drive_data = PIO_DONT_KNOW; | 332 | hwif->drives[0].drive_data = PIO_DONT_KNOW; |
diff --git a/drivers/ide/pci/sc1200.c b/drivers/ide/pci/sc1200.c index 3bc3bf1be49b..10592cec6c43 100644 --- a/drivers/ide/pci/sc1200.c +++ b/drivers/ide/pci/sc1200.c | |||
| @@ -459,7 +459,7 @@ printk("%s: SC1200: resume\n", hwif->name); | |||
| 459 | * This gets invoked by the IDE driver once for each channel, | 459 | * This gets invoked by the IDE driver once for each channel, |
| 460 | * and performs channel-specific pre-initialization before drive probing. | 460 | * and performs channel-specific pre-initialization before drive probing. |
| 461 | */ | 461 | */ |
| 462 | static void __init init_hwif_sc1200 (ide_hwif_t *hwif) | 462 | static void __devinit init_hwif_sc1200 (ide_hwif_t *hwif) |
| 463 | { | 463 | { |
| 464 | if (hwif->mate) | 464 | if (hwif->mate) |
| 465 | hwif->serialized = hwif->mate->serialized = 1; | 465 | hwif->serialized = hwif->mate->serialized = 1; |
diff --git a/drivers/ide/pci/sl82c105.c b/drivers/ide/pci/sl82c105.c index 1d970a0de21a..ea0806c82be0 100644 --- a/drivers/ide/pci/sl82c105.c +++ b/drivers/ide/pci/sl82c105.c | |||
| @@ -386,7 +386,7 @@ static unsigned int sl82c105_bridge_revision(struct pci_dev *dev) | |||
| 386 | * channel 0 here at least, but channel 1 has to be enabled by | 386 | * channel 0 here at least, but channel 1 has to be enabled by |
| 387 | * firmware or arch code. We still set both to 16 bits mode. | 387 | * firmware or arch code. We still set both to 16 bits mode. |
| 388 | */ | 388 | */ |
| 389 | static unsigned int __init init_chipset_sl82c105(struct pci_dev *dev, const char *msg) | 389 | static unsigned int __devinit init_chipset_sl82c105(struct pci_dev *dev, const char *msg) |
| 390 | { | 390 | { |
| 391 | u32 val; | 391 | u32 val; |
| 392 | 392 | ||
| @@ -399,7 +399,7 @@ static unsigned int __init init_chipset_sl82c105(struct pci_dev *dev, const char | |||
| 399 | return dev->irq; | 399 | return dev->irq; |
| 400 | } | 400 | } |
| 401 | 401 | ||
| 402 | static void __init init_dma_sl82c105(ide_hwif_t *hwif, unsigned long dma_base) | 402 | static void __devinit init_dma_sl82c105(ide_hwif_t *hwif, unsigned long dma_base) |
| 403 | { | 403 | { |
| 404 | unsigned int rev; | 404 | unsigned int rev; |
| 405 | u8 dma_state; | 405 | u8 dma_state; |
| @@ -431,7 +431,7 @@ static void __init init_dma_sl82c105(ide_hwif_t *hwif, unsigned long dma_base) | |||
| 431 | * Initialise the chip | 431 | * Initialise the chip |
| 432 | */ | 432 | */ |
| 433 | 433 | ||
| 434 | static void __init init_hwif_sl82c105(ide_hwif_t *hwif) | 434 | static void __devinit init_hwif_sl82c105(ide_hwif_t *hwif) |
| 435 | { | 435 | { |
| 436 | struct pci_dev *dev = hwif->pci_dev; | 436 | struct pci_dev *dev = hwif->pci_dev; |
| 437 | u32 val; | 437 | u32 val; |
diff --git a/drivers/ide/pci/slc90e66.c b/drivers/ide/pci/slc90e66.c index 7fbf36342f73..5112c726633b 100644 --- a/drivers/ide/pci/slc90e66.c +++ b/drivers/ide/pci/slc90e66.c | |||
| @@ -196,7 +196,7 @@ fast_ata_pio: | |||
| 196 | } | 196 | } |
| 197 | #endif /* CONFIG_BLK_DEV_IDEDMA */ | 197 | #endif /* CONFIG_BLK_DEV_IDEDMA */ |
| 198 | 198 | ||
| 199 | static void __init init_hwif_slc90e66 (ide_hwif_t *hwif) | 199 | static void __devinit init_hwif_slc90e66 (ide_hwif_t *hwif) |
| 200 | { | 200 | { |
| 201 | u8 reg47 = 0; | 201 | u8 reg47 = 0; |
| 202 | u8 mask = hwif->channel ? 0x01 : 0x02; /* bit0:Primary */ | 202 | u8 mask = hwif->channel ? 0x01 : 0x02; /* bit0:Primary */ |
diff --git a/drivers/ide/pci/triflex.c b/drivers/ide/pci/triflex.c index a1df2bfe3631..f96b56838f33 100644 --- a/drivers/ide/pci/triflex.c +++ b/drivers/ide/pci/triflex.c | |||
| @@ -130,7 +130,7 @@ static int triflex_config_drive_xfer_rate(ide_drive_t *drive) | |||
| 130 | return hwif->ide_dma_off_quietly(drive); | 130 | return hwif->ide_dma_off_quietly(drive); |
| 131 | } | 131 | } |
| 132 | 132 | ||
| 133 | static void __init init_hwif_triflex(ide_hwif_t *hwif) | 133 | static void __devinit init_hwif_triflex(ide_hwif_t *hwif) |
| 134 | { | 134 | { |
| 135 | hwif->tuneproc = &triflex_tune_drive; | 135 | hwif->tuneproc = &triflex_tune_drive; |
| 136 | hwif->speedproc = &triflex_tune_chipset; | 136 | hwif->speedproc = &triflex_tune_chipset; |
diff --git a/drivers/ide/pci/via82cxxx.c b/drivers/ide/pci/via82cxxx.c index 069dbffe2116..a4d099c937ff 100644 --- a/drivers/ide/pci/via82cxxx.c +++ b/drivers/ide/pci/via82cxxx.c | |||
| @@ -415,7 +415,7 @@ static int via82cxxx_ide_dma_check (ide_drive_t *drive) | |||
| 415 | * and initialize its drive independent registers. | 415 | * and initialize its drive independent registers. |
| 416 | */ | 416 | */ |
| 417 | 417 | ||
| 418 | static unsigned int __init init_chipset_via82cxxx(struct pci_dev *dev, const char *name) | 418 | static unsigned int __devinit init_chipset_via82cxxx(struct pci_dev *dev, const char *name) |
| 419 | { | 419 | { |
| 420 | struct pci_dev *isa = NULL; | 420 | struct pci_dev *isa = NULL; |
| 421 | u8 t, v; | 421 | u8 t, v; |
| @@ -576,7 +576,7 @@ static unsigned int __init init_chipset_via82cxxx(struct pci_dev *dev, const cha | |||
| 576 | return 0; | 576 | return 0; |
| 577 | } | 577 | } |
| 578 | 578 | ||
| 579 | static void __init init_hwif_via82cxxx(ide_hwif_t *hwif) | 579 | static void __devinit init_hwif_via82cxxx(ide_hwif_t *hwif) |
| 580 | { | 580 | { |
| 581 | int i; | 581 | int i; |
| 582 | 582 | ||
diff --git a/include/linux/pci_ids.h b/include/linux/pci_ids.h index c3ee1ae4545a..27348c22dacb 100644 --- a/include/linux/pci_ids.h +++ b/include/linux/pci_ids.h | |||
| @@ -1238,6 +1238,7 @@ | |||
| 1238 | #define PCI_DEVICE_ID_NVIDIA_NFORCE_MCP51_IDE 0x0265 | 1238 | #define PCI_DEVICE_ID_NVIDIA_NFORCE_MCP51_IDE 0x0265 |
| 1239 | #define PCI_DEVICE_ID_NVIDIA_NFORCE_MCP51_SATA 0x0266 | 1239 | #define PCI_DEVICE_ID_NVIDIA_NFORCE_MCP51_SATA 0x0266 |
| 1240 | #define PCI_DEVICE_ID_NVIDIA_NFORCE_MCP51_SATA2 0x0267 | 1240 | #define PCI_DEVICE_ID_NVIDIA_NFORCE_MCP51_SATA2 0x0267 |
| 1241 | #define PCI_DEVICE_ID_NVIDIA_NFORCE_MCP55_IDE 0x036E | ||
| 1241 | #define PCI_DEVICE_ID_NVIDIA_NVENET_12 0x0268 | 1242 | #define PCI_DEVICE_ID_NVIDIA_NVENET_12 0x0268 |
| 1242 | #define PCI_DEVICE_ID_NVIDIA_NVENET_13 0x0269 | 1243 | #define PCI_DEVICE_ID_NVIDIA_NVENET_13 0x0269 |
| 1243 | #define PCI_DEVICE_ID_NVIDIA_MCP51_AUDIO 0x026B | 1244 | #define PCI_DEVICE_ID_NVIDIA_MCP51_AUDIO 0x026B |
