1
0
mirror of https://git.FreeBSD.org/src.git synced 2024-12-15 10:17:20 +00:00

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
Notes: svn2git 2020-12-20 02:59:44 +00:00
svn path=/head/; revision=155955

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;