PERFORCE change 54252 for review
Scott Long
scottl at FreeBSD.org
Sun Jun 6 03:53:15 GMT 2004
http://perforce.freebsd.org/chv.cgi?CH=54252
Change 54252 by scottl at scottl-esp-sparc64 on 2004/06/06 03:52:13
set the device description in esp_probe.
Affected files ...
.. //depot/projects/scottl-esp/src/sys/dev/esp/esp_sbus.c#11 edit
Differences ...
==== //depot/projects/scottl-esp/src/sys/dev/esp/esp_sbus.c#11 (text+ko) ====
@@ -69,9 +69,6 @@
struct esp_softc {
struct ncr53c9x_softc sc_ncr53c9x; /* glue to MI code */
struct device *sc_dev;
-#if 0
- struct sbusdev sc_sd; /* sbus device */
-#endif
int sc_rid;
struct resource *sc_res;
@@ -145,8 +142,10 @@
char *name;
name = sbus_get_name(dev);
- if (strcmp("SUNW,fas", name) == 0)
+ if (strcmp("SUNW,fas", name) == 0) {
+ device_set_desc(dev, "Sun FAS366 Fast-Wide SCSI");
return (-10);
+ }
return (ENXIO);
}
@@ -403,7 +402,6 @@
/* Do the common parts of attachment. */
ncr53c9x_attach(sc);
-
}
/*
More information about the p4-projects
mailing list