In ata_cmd_allocate() only call ata_pci_allocate once.
found by: jhb@
This commit is contained in:
parent
f47dba63bb
commit
c94b3e542e
@ -4075,7 +4075,6 @@ ata_cmd_allocate(device_t dev)
|
|||||||
/* setup the usual register normal pci style */
|
/* setup the usual register normal pci style */
|
||||||
if (ata_pci_allocate(dev))
|
if (ata_pci_allocate(dev))
|
||||||
return ENXIO;
|
return ENXIO;
|
||||||
ata_pci_allocate(dev);
|
|
||||||
|
|
||||||
if (ctlr->chip->cfg2 & SIIINTR)
|
if (ctlr->chip->cfg2 & SIIINTR)
|
||||||
ch->hw.status = ata_cmd_status;
|
ch->hw.status = ata_cmd_status;
|
||||||
|
Loading…
Reference in New Issue
Block a user