Skip site navigation (1)Skip section navigation (2)
Date:      Sun, 6 Jun 2004 03:53:13 GMT
From:      Scott Long <scottl@FreeBSD.org>
To:        Perforce Change Reviews <perforce@freebsd.org>
Subject:   PERFORCE change 54252 for review
Message-ID:  <200406060353.i563rDKq014252@repoman.freebsd.org>

next in thread | raw e-mail | index | archive | help
http://perforce.freebsd.org/chv.cgi?CH=54252

Change 54252 by scottl@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);
-
 }
 
 /*



Want to link to this message? Use this URL: <https://mail-archive.FreeBSD.org/cgi/mid.cgi?200406060353.i563rDKq014252>