Module Name:    src
Committed By:   snj
Date:           Tue Mar 24 20:48:14 UTC 2009

Modified Files:
        src/sys/dev/ic [netbsd-5]: ld_cac.c

Log Message:
Pull up following revision(s) (requested by ad in ticket #599):
        sys/dev/ic/ld_cac.c: revision 1.24
Fix the *third* break to this driver from sloppy device_t conversion.


To generate a diff of this commit:
cvs rdiff -u -r1.22.4.1 -r1.22.4.2 src/sys/dev/ic/ld_cac.c

Please note that diffs are not public domain; they are subject to the
copyright notices on the relevant files.

Modified files:

Index: src/sys/dev/ic/ld_cac.c
diff -u src/sys/dev/ic/ld_cac.c:1.22.4.1 src/sys/dev/ic/ld_cac.c:1.22.4.2
--- src/sys/dev/ic/ld_cac.c:1.22.4.1	Sat Dec 13 21:45:36 2008
+++ src/sys/dev/ic/ld_cac.c	Tue Mar 24 20:48:14 2009
@@ -1,4 +1,4 @@
-/*	$NetBSD: ld_cac.c,v 1.22.4.1 2008/12/13 21:45:36 bouyer Exp $	*/
+/*	$NetBSD: ld_cac.c,v 1.22.4.2 2009/03/24 20:48:14 snj Exp $	*/
 
 /*-
  * Copyright (c) 2000, 2006 The NetBSD Foundation, Inc.
@@ -34,7 +34,7 @@
  */
 
 #include <sys/cdefs.h>
-__KERNEL_RCSID(0, "$NetBSD: ld_cac.c,v 1.22.4.1 2008/12/13 21:45:36 bouyer Exp $");
+__KERNEL_RCSID(0, "$NetBSD: ld_cac.c,v 1.22.4.2 2009/03/24 20:48:14 snj Exp $");
 
 #include "rnd.h"
 
@@ -97,6 +97,7 @@
 	caca = aux;
 	ld->sc_dv = self;
 	sc->sc_mutex = &cac->sc_mutex;
+	sc->sc_hwunit = caca->caca_unit;
 
 	if (cac_cmd(cac, CAC_CMD_GET_LOG_DRV_INFO, &dinfo, sizeof(dinfo),
 	    sc->sc_hwunit, 0, CAC_CCB_DATA_IN, NULL)) {

Reply via email to