diff options
Diffstat (limited to 'sys/dev/pci/ahci.c')
-rw-r--r-- | sys/dev/pci/ahci.c | 4 |
1 files changed, 3 insertions, 1 deletions
diff --git a/sys/dev/pci/ahci.c b/sys/dev/pci/ahci.c index c8fd227106a..f192129e084 100644 --- a/sys/dev/pci/ahci.c +++ b/sys/dev/pci/ahci.c @@ -1,4 +1,4 @@ -/* $OpenBSD: ahci.c,v 1.29 2006/12/12 02:41:50 dlg Exp $ */ +/* $OpenBSD: ahci.c,v 1.30 2006/12/12 02:44:00 dlg Exp $ */ /* * Copyright (c) 2006 David Gwynne <dlg@openbsd.org> @@ -472,6 +472,8 @@ ahci_port_alloc(struct ahci_softc *sc, u_int port) ahci_put_ccb(ap, ccb); } + sc->sc_ports[port] = ap; + return (0); freemaps: |