1 diff -uprN linux-2.6.23.orig/drivers/ata/pata_artop.c linux-2.6.23/drivers/ata/pata_artop.c
2 --- linux-2.6.23.orig/drivers/ata/pata_artop.c 2007-10-09 15:31:38.000000000 -0500
3 +++ linux-2.6.23/drivers/ata/pata_artop.c 2007-10-11 00:59:14.000000000 -0500
5 #include <scsi/scsi_host.h>
6 #include <linux/libata.h>
8 +#include <asm/mach-types.h>
10 #define DRV_NAME "pata_artop"
11 #define DRV_VERSION "0.4.4"
12 @@ -489,6 +490,11 @@ static int artop_init_one (struct pci_de
13 pci_read_config_byte(pdev, 0x4a, ®);
14 pci_write_config_byte(pdev, 0x4a, (reg & ~0x01) | 0x80);
16 + /* NAS100D workaround - probing second port kills uhci_hcd */
17 +#ifdef CONFIG_MACH_NAS100D
18 + if (machine_is_nas100d())
19 + ppi[1] = &ata_dummy_port_info;
23 BUG_ON(ppi[0] == NULL);