diff options
author | David Gwynne <dlg@cvs.openbsd.org> | 2005-11-24 08:24:00 +0000 |
---|---|---|
committer | David Gwynne <dlg@cvs.openbsd.org> | 2005-11-24 08:24:00 +0000 |
commit | f0e7c172dc20b887b58572fbdd7889cce86385b2 (patch) | |
tree | 8d0040f780437bbc81eaf886a4597524563908a9 /sys/arch | |
parent | 7a49dc0672e833714b33d15947e6b16897dccf92 (diff) |
print something out when we hit unsupported devices. hopefully we can
pick up a dmesg with them.
Diffstat (limited to 'sys/arch')
-rw-r--r-- | sys/arch/i386/i386/esm.c | 29 |
1 files changed, 28 insertions, 1 deletions
diff --git a/sys/arch/i386/i386/esm.c b/sys/arch/i386/i386/esm.c index b84b891b21c..4a59e8edf3c 100644 --- a/sys/arch/i386/i386/esm.c +++ b/sys/arch/i386/i386/esm.c @@ -1,4 +1,4 @@ -/* $OpenBSD: esm.c,v 1.14 2005/11/24 08:11:04 dlg Exp $ */ +/* $OpenBSD: esm.c,v 1.15 2005/11/24 08:23:59 dlg Exp $ */ /* * Copyright (c) 2005 Jordan Hargrave <jordan@openbsd.org> @@ -584,6 +584,16 @@ esm_devmap(struct esm_softc *sc, struct esm_devmap *devmap) DEVNAME(sc), name, devmap->rev_major, devmap->rev_minor); break; + case ESM2_DEV_DRACII: + printf("%s: Dell Remote Assistance Card II %d.%d\n", + DEVNAME(sc), devmap->rev_major, devmap->rev_minor); + return; + + case ESM2_DEV_FRONT_PANEL: + printf("%s: Front Panel %d.%d\n", DEVNAME(sc), + devmap->rev_major, devmap->rev_minor); + return; + case ESM2_DEV_BACKPLANE2: sensor_map = esm_sensors_backplane; mapsize = 22; @@ -601,6 +611,23 @@ esm_devmap(struct esm_softc *sc, struct esm_devmap *devmap) devmap->rev_major, devmap->rev_minor); break; + case ESM2_DEV_ENCL2_BACKPLANE: + case ESM2_DEV_ENCL1_BACKPLANE: + printf("%s: Enclosure Backplane %d.%d\n", DEVNAME(sc), + devmap->rev_major, devmap->rev_minor); + return; + + case ESM2_DEV_ENCL2_POWERUNIT: + case ESM2_DEV_ENCL1_POWERUNIT: + printf("%s: Enclosure Powerunit %d.%d\n", DEVNAME(sc), + devmap->rev_major, devmap->rev_minor); + return; + + case ESM2_DEV_HPPCI: /* nfi what this is */ + printf("%s: HPPCI %d.%d\n", DEVNAME(sc), + devmap->rev_major, devmap->rev_minor); + return; + case ESM2_DEV_BACKPLANE3: sensor_map = esm_sensors_backplane; mapsize = sizeof(esm_sensors_backplane) / |