root/trunk/patches/2.6.22/15-nas100d-pata-artop-single-port.patch
| Revision 867, 0.8 KB (checked in by rwhitby, 3 years ago) |
|---|
-
drivers/ata/pata_artop.c
old new 26 26 #include <scsi/scsi_host.h> 27 27 #include <linux/libata.h> 28 28 #include <linux/ata.h> 29 #include <asm/mach-types.h> 29 30 30 31 #define DRV_NAME "pata_artop" 31 32 #define DRV_VERSION "0.4.3" … … 480 481 pci_read_config_byte(pdev, 0x4a, ®); 481 482 pci_write_config_byte(pdev, 0x4a, (reg & ~0x01) | 0x80); 482 483 484 /* NAS100D workaround - probing second port kills uhci_hcd */ 485 #ifdef CONFIG_MACH_NAS100D 486 if (machine_is_nas100d()) 487 ppi[1] = &ata_dummy_port_info; 488 #endif 483 489 } 484 490 485 491 BUG_ON(ppi[0] == NULL);
Note: See TracBrowser
for help on using the browser.
