Skip site navigation (1)Skip section navigation (2)
Date:      Fri, 20 Feb 2009 14:10:23 +0000 (UTC)
From:      Alexander Motin <mav@FreeBSD.org>
To:        src-committers@freebsd.org, svn-src-all@freebsd.org, svn-src-head@freebsd.org
Subject:   svn commit: r188850 - head/sys/dev/ata
Message-ID:  <200902201410.n1KEANwK030837@svn.freebsd.org>

next in thread | raw e-mail | index | archive | help
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);



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