diff options
author | David Gwynne <dlg@cvs.openbsd.org> | 2006-12-11 13:08:12 +0000 |
---|---|---|
committer | David Gwynne <dlg@cvs.openbsd.org> | 2006-12-11 13:08:12 +0000 |
commit | 60d89b9be5048de909d51426f606d78a33f5bcfd (patch) | |
tree | b28d6949d982a29abd88f159b3be21e2487b47d0 /sys/dev/pci/ahci.c | |
parent | 768cd38eb63f24405aad63217c1db7cae1851134 (diff) |
dont stash the implemented ports map, im going to use a different
mechanism to figure out if a port is usable or not later on.
Diffstat (limited to 'sys/dev/pci/ahci.c')
-rw-r--r-- | sys/dev/pci/ahci.c | 8 |
1 files changed, 1 insertions, 7 deletions
diff --git a/sys/dev/pci/ahci.c b/sys/dev/pci/ahci.c index ce05b33733c..90ef6b0dfc1 100644 --- a/sys/dev/pci/ahci.c +++ b/sys/dev/pci/ahci.c @@ -1,4 +1,4 @@ -/* $OpenBSD: ahci.c,v 1.17 2006/12/11 13:06:33 dlg Exp $ */ +/* $OpenBSD: ahci.c,v 1.18 2006/12/11 13:08:11 dlg Exp $ */ /* * Copyright (c) 2006 David Gwynne <dlg@openbsd.org> @@ -178,8 +178,6 @@ struct ahci_softc { bus_space_handle_t sc_ioh; bus_size_t sc_ios; bus_dma_tag_t sc_dmat; - - u_int32_t sc_portmap; }; #define DEVNAME(_s) ((_s)->sc_dev.dv_xname) @@ -264,8 +262,6 @@ ahci_attach(struct device *parent, struct device *self, void *aux) printf("%s: capabilities: 0x%b ports: %d ncmds: %d gen: %s\n", DEVNAME(sc), reg, AHCI_FMT_CAP, AHCI_REG_CAP_NP(reg), AHCI_REG_CAP_NCS(reg), gen); - printf("%s: ports implemented: 0x%08x\n", DEVNAME(sc), - sc->sc_portmap); } #endif @@ -366,8 +362,6 @@ ahci_init(struct ahci_softc *sc) printf(": AHCI %s", revision); - sc->sc_portmap = ahci_read(sc, AHCI_REG_PI); - return (0); } |