svn commit: r188850 - head/sys/dev/ata

Alexander Motin mav at FreeBSD.org
Fri Feb 20 06:10:24 PST 2009


Author: mav
Date: Fri Feb 20 14:10:23 2009
New Revision: 188850
URL: http://svn.freebsd.org/changeset/base/188850

Log:
  Fix pc98 build error due to missing variable.
  
  Submitted by:	avg

Modified:
  head/sys/dev/ata/ata-cbus.c

Modified: head/sys/dev/ata/ata-cbus.c
==============================================================================
--- head/sys/dev/ata/ata-cbus.c	Fri Feb 20 13:05:29 2009	(r188849)
+++ head/sys/dev/ata/ata-cbus.c	Fri Feb 20 14:10:23 2009	(r188850)
@@ -304,6 +304,7 @@ ata_cbuschannel_attach(device_t dev)
 static int
 ata_cbuschannel_detach(device_t dev)
 {
+    struct ata_channel *ch = device_get_softc(dev);
 
     if (!ch->attached)
 	return (0);


More information about the svn-src-head mailing list