mirror of
https://github.com/freebsd/freebsd-src
synced 2024-10-01 22:25:22 +00:00
Use correct register values. This one was in aic7xxx and advansys too.
This commit is contained in:
parent
31891bc2bd
commit
403b9111fb
Notes:
svn2git
2020-12-20 02:59:44 +00:00
svn path=/head/; revision=61037
|
@ -93,7 +93,7 @@ dpt_pci_attach (device_t dev)
|
|||
io = bus_alloc_resource(dev, iotype, &rid, 0, ~0, 1, RF_ACTIVE);
|
||||
}
|
||||
#endif
|
||||
if (io == NULL && (command & PCI_COMMAND_IO_ENABLE) != 0) {
|
||||
if (io == NULL && (command & PCIM_CMD_PORTEN) != 0) {
|
||||
rid = DPT_PCI_IOADDR;
|
||||
iotype = SYS_RES_IOPORT;
|
||||
io = bus_alloc_resource(dev, iotype, &rid, 0, ~0, 1, RF_ACTIVE);
|
||||
|
|
Loading…
Reference in a new issue