Skip site navigation (1)Skip section navigation (2)
Date:      Mon, 19 Jan 2009 23:25:18 +0000 (UTC)
From:      Nathan Whitehorn <nwhitehorn@FreeBSD.org>
To:        src-committers@freebsd.org, svn-src-all@freebsd.org, svn-src-head@freebsd.org
Subject:   svn commit: r187455 - head/sys/powerpc/powermac
Message-ID:  <200901192325.n0JNPIdr024763@svn.freebsd.org>

next in thread | raw e-mail | index | archive | help
Author: nwhitehorn
Date: Mon Jan 19 23:25:18 2009
New Revision: 187455
URL: http://svn.freebsd.org/changeset/base/187455

Log:
  Provide a device description for macio-attached ATA cells.

Modified:
  head/sys/powerpc/powermac/ata_macio.c

Modified: head/sys/powerpc/powermac/ata_macio.c
==============================================================================
--- head/sys/powerpc/powermac/ata_macio.c	Mon Jan 19 22:06:35 2009	(r187454)
+++ head/sys/powerpc/powermac/ata_macio.c	Mon Jan 19 23:25:18 2009	(r187455)
@@ -164,9 +164,11 @@ ata_macio_probe(device_t dev)
 	ch = &sc->sc_ch.sc_ch;
 
 	if (strcmp(name,"ata-4") == 0) {
+		device_set_desc(dev,"Apple MacIO Ultra ATA Controller");
 		sc->rev = 4;
 		sc->max_mode = ATA_UDMA4;
 	} else {
+		device_set_desc(dev,"Apple MacIO ATA Controller");
 		sc->rev = 3;
 		sc->max_mode = ATA_WDMA2;
 	}



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