In ata_cmd_allocate() only call ata_pci_allocate once.

found by:	jhb@
This commit is contained in:
Søren Schmidt 2006-02-23 18:52:15 +00:00
parent f47dba63bb
commit c94b3e542e

View File

@ -4075,7 +4075,6 @@ ata_cmd_allocate(device_t dev)
/* setup the usual register normal pci style */
if (ata_pci_allocate(dev))
return ENXIO;
ata_pci_allocate(dev);
if (ctlr->chip->cfg2 & SIIINTR)
ch->hw.status = ata_cmd_status;