aboutsummaryrefslogtreecommitdiff
path: root/sys/dev/puc
diff options
context:
space:
mode:
authorMarius Strobl <marius@FreeBSD.org>2005-08-07 13:37:25 +0000
committerMarius Strobl <marius@FreeBSD.org>2005-08-07 13:37:25 +0000
commit079f9edfef07ff1597f3297ba4ea4ed00760abec (patch)
treefcdd0a0042a7db233dd928061bab8fed6de30f4c /sys/dev/puc
parentd11b733f41fae49d20d3a225b4c82794c35857c8 (diff)
downloadsrc-079f9edfef07ff1597f3297ba4ea4ed00760abec.tar.gz
src-079f9edfef07ff1597f3297ba4ea4ed00760abec.zip
Recognize the SAB82532 in USIII machines.
Notes
Notes: svn path=/head/; revision=148824
Diffstat (limited to 'sys/dev/puc')
-rw-r--r--sys/dev/puc/puc_ebus.c5
1 files changed, 3 insertions, 2 deletions
diff --git a/sys/dev/puc/puc_ebus.c b/sys/dev/puc/puc_ebus.c
index 1e6696ce0da9..a94576ad2071 100644
--- a/sys/dev/puc/puc_ebus.c
+++ b/sys/dev/puc/puc_ebus.c
@@ -48,10 +48,11 @@ __FBSDID("$FreeBSD$");
static int
puc_ebus_probe(device_t dev)
{
- const char *nm;
+ const char *nm, *cmpt;
nm = ofw_bus_get_name(dev);
- if (!strcmp(nm, "se")) {
+ cmpt = ofw_bus_get_compat(dev);
+ if (!strcmp(nm, "se") || (cmpt != NULL && !strcmp(cmpt, "sab82532"))) {
device_set_desc(dev, "Siemens SAB 82532 dual channel SCC");
return (0);
}