summaryrefslogtreecommitdiff
diff options
context:
space:
mode:
authorMike Smith <msmith@FreeBSD.org>1998-12-21 08:55:56 +0000
committerMike Smith <msmith@FreeBSD.org>1998-12-21 08:55:56 +0000
commitfc28edf53efc74e500d5041a62a838788080157f (patch)
treea240786a100b7454e466338bbf811bca9f483c50
parenta1d6c3ec875e4a9539043f8e2e2e2489321ad6c7 (diff)
Notes
-rw-r--r--sys/pci/ide_pci.c4
1 files changed, 2 insertions, 2 deletions
diff --git a/sys/pci/ide_pci.c b/sys/pci/ide_pci.c
index 91b1867d14c6..3c1016890eb7 100644
--- a/sys/pci/ide_pci.c
+++ b/sys/pci/ide_pci.c
@@ -26,7 +26,7 @@
* OF THE USE OF THIS SOFTWARE, EVEN IF ADVISED OF THE POSSIBILITY OF
* SUCH DAMAGE.
*
- * $Id: ide_pci.c,v 1.17 1998/12/14 05:47:26 dillon Exp $
+ * $Id: ide_pci.c,v 1.18 1998/12/14 05:49:04 dillon Exp $
*/
#include "pci.h"
@@ -1195,7 +1195,7 @@ ide_pci_candma(int iobase_wd, int unit)
cp = softc.cookies.lh_first;
while(cp) {
- if (cp->ctlr == unit &&
+ if (cp->unit == unit &&
((iobase_wd == 0) || (cp->iobase_wd == iobase_wd)))
break;
cp = cp->le.le_next;