Index: ata-pci.c =================================================================== RCS file: /home/ncvs/src/sys/dev/ata/ata-pci.c,v retrieving revision 1.81 diff -u -r1.81 ata-pci.c --- ata-pci.c 24 Apr 2004 16:32:06 -0000 1.81 +++ ata-pci.c 27 Apr 2004 05:42:43 -0000 @@ -177,7 +177,7 @@ ctlr->locking = ata_pci_locknoop; progif = pci_read_config(dev, PCIR_PROGIF, 1); - if ((progif & 0x80)) + if ((progif & 0x85) == 0x80) prisec = 1; /* if needed try to enable busmastering */