diff options
author | Jonathan Matthew <jmatthew@cvs.openbsd.org> | 2015-02-11 07:13:45 +0000 |
---|---|---|
committer | Jonathan Matthew <jmatthew@cvs.openbsd.org> | 2015-02-11 07:13:45 +0000 |
commit | a6a9aec194d5f7552a3fdbbc23b475617d98942e (patch) | |
tree | f10cf42e4520bbf5de8e98dd584a7cbeeb0b2e6e /sys/dev/ic/ahci.c | |
parent | 2bda179157c412aa23997828c91da1b492bb0c6d (diff) |
include extended capabilities in ahci debug output
ok dlg@
Diffstat (limited to 'sys/dev/ic/ahci.c')
-rw-r--r-- | sys/dev/ic/ahci.c | 4 |
1 files changed, 3 insertions, 1 deletions
diff --git a/sys/dev/ic/ahci.c b/sys/dev/ic/ahci.c index bbeb1feb3cc..fb36dd3bbfc 100644 --- a/sys/dev/ic/ahci.c +++ b/sys/dev/ic/ahci.c @@ -1,4 +1,4 @@ -/* $OpenBSD: ahci.c,v 1.18 2015/02/11 07:08:34 jmatthew Exp $ */ +/* $OpenBSD: ahci.c,v 1.19 2015/02/11 07:13:44 jmatthew Exp $ */ /* * Copyright (c) 2006 David Gwynne <dlg@openbsd.org> @@ -209,6 +209,8 @@ ahci_attach(struct ahci_softc *sc) printf("%s: capabilities 0x%b, %d ports, %d cmds, gen %s\n", DEVNAME(sc), sc->sc_cap, AHCI_FMT_CAP, AHCI_REG_CAP_NP(sc->sc_cap), sc->sc_ncmds, gen); + printf("%s: extended capabilities 0x%b\n", DEVNAME(sc), + ahci_read(sc, AHCI_REG_CAP2), AHCI_FMT_CAP2); } #endif |