Skip site navigation (1)Skip section navigation (2)
Date:      Mon, 6 May 2002 08:21:11 -0700 (PDT)
From:      "Andrew R. Reiter" <arr@FreeBSD.org>
To:        Perforce Change Reviews <perforce@freebsd.org>
Subject:   PERFORCE change 10891 for review
Message-ID:  <200205061521.g46FLB871116@freefall.freebsd.org>

next in thread | raw e-mail | index | archive | help
http://people.freebsd.org/~peter/p4db/chv.cgi?CH=10891

Change 10891 by arr@arr_shibby on 2002/05/06 08:20:39

	integ 

Affected files ...

... //depot/projects/trustedbsd/audit/sys/alpha/alpha/clock.c#3 integrate
... //depot/projects/trustedbsd/audit/sys/alpha/alpha/mem.c#3 integrate
... //depot/projects/trustedbsd/audit/sys/alpha/conf/GENERIC#5 integrate
... //depot/projects/trustedbsd/audit/sys/compat/linux/linux_misc.c#5 integrate
... //depot/projects/trustedbsd/audit/sys/conf/NOTES#3 integrate
... //depot/projects/trustedbsd/audit/sys/conf/files#10 integrate
... //depot/projects/trustedbsd/audit/sys/conf/files.powerpc#4 integrate
... //depot/projects/trustedbsd/audit/sys/conf/kern.post.mk#4 integrate
... //depot/projects/trustedbsd/audit/sys/conf/kern.pre.mk#4 integrate
... //depot/projects/trustedbsd/audit/sys/conf/kmod.mk#5 integrate
... //depot/projects/trustedbsd/audit/sys/dev/aac/aac.c#5 integrate
... //depot/projects/trustedbsd/audit/sys/dev/aac/aac_cam.c#2 integrate
... //depot/projects/trustedbsd/audit/sys/dev/acpica/acpi_timer.c#5 integrate
... //depot/projects/trustedbsd/audit/sys/dev/aic7xxx/aicasm/Makefile#4 integrate
... //depot/projects/trustedbsd/audit/sys/dev/drm/drm_fops.h#2 integrate
... //depot/projects/trustedbsd/audit/sys/dev/em/if_em.c#5 integrate
... //depot/projects/trustedbsd/audit/sys/dev/isp/isp.c#5 integrate
... //depot/projects/trustedbsd/audit/sys/dev/md/md.c#5 integrate
... //depot/projects/trustedbsd/audit/sys/dev/mii/acphy.c#4 integrate
... //depot/projects/trustedbsd/audit/sys/dev/mii/qsphy.c#4 integrate
... //depot/projects/trustedbsd/audit/sys/dev/my/if_my.c#3 integrate
... //depot/projects/trustedbsd/audit/sys/dev/sound/pcm/ac97_if.m#2 integrate
... //depot/projects/trustedbsd/audit/sys/dev/sound/pcm/feeder_if.m#2 integrate
... //depot/projects/trustedbsd/audit/sys/dev/sound/pcm/mixer_if.m#2 integrate
... //depot/projects/trustedbsd/audit/sys/dev/tx/if_tx.c#3 integrate
... //depot/projects/trustedbsd/audit/sys/dev/usb/usbdi.c#4 integrate
... //depot/projects/trustedbsd/audit/sys/dev/wi/wi_hostap.c#3 integrate
... //depot/projects/trustedbsd/audit/sys/fs/deadfs/dead_vnops.c#3 integrate
... //depot/projects/trustedbsd/audit/sys/fs/devfs/devfs_vfsops.c#3 integrate
... //depot/projects/trustedbsd/audit/sys/fs/fdescfs/fdesc_vfsops.c#4 integrate
... //depot/projects/trustedbsd/audit/sys/fs/fifofs/fifo_vnops.c#6 integrate
... //depot/projects/trustedbsd/audit/sys/fs/hpfs/hpfs_vnops.c#5 integrate
... //depot/projects/trustedbsd/audit/sys/fs/pseudofs/pseudofs.c#3 integrate
... //depot/projects/trustedbsd/audit/sys/fs/pseudofs/pseudofs.h#3 integrate
... //depot/projects/trustedbsd/audit/sys/fs/pseudofs/pseudofs_vnops.c#5 integrate
... //depot/projects/trustedbsd/audit/sys/fs/udf/udf_vnops.c#2 integrate
... //depot/projects/trustedbsd/audit/sys/i386/acpica/Makefile#2 integrate
... //depot/projects/trustedbsd/audit/sys/i386/acpica/genwakecode.pl#2 delete
... //depot/projects/trustedbsd/audit/sys/i386/acpica/genwakecode.sh#1 branch
... //depot/projects/trustedbsd/audit/sys/i386/conf/GENERIC#6 integrate
... //depot/projects/trustedbsd/audit/sys/i386/conf/Makefile#3 integrate
... //depot/projects/trustedbsd/audit/sys/i386/conf/NOTES#6 integrate
... //depot/projects/trustedbsd/audit/sys/i386/conf/makeLINT.pl#2 delete
... //depot/projects/trustedbsd/audit/sys/i386/conf/makeLINT.sed#1 branch
... //depot/projects/trustedbsd/audit/sys/i386/conf/makeLINT.sh#1 branch
... //depot/projects/trustedbsd/audit/sys/i386/i386/mp_clock.c#3 integrate
... //depot/projects/trustedbsd/audit/sys/i386/isa/clock.c#6 integrate
... //depot/projects/trustedbsd/audit/sys/i386/isa/loran.c#2 integrate
... //depot/projects/trustedbsd/audit/sys/ia64/ia64/clock.c#3 integrate
... //depot/projects/trustedbsd/audit/sys/ia64/ia64/exception.s#4 integrate
... //depot/projects/trustedbsd/audit/sys/ia64/ia64/machdep.c#8 integrate
... //depot/projects/trustedbsd/audit/sys/ia64/ia64/mca.c#2 integrate
... //depot/projects/trustedbsd/audit/sys/ia64/ia64/mp_machdep.c#4 integrate
... //depot/projects/trustedbsd/audit/sys/ia64/ia64/pmap.c#6 integrate
... //depot/projects/trustedbsd/audit/sys/ia64/include/ansi.h#4 integrate
... //depot/projects/trustedbsd/audit/sys/ia64/include/frame.h#2 integrate
... //depot/projects/trustedbsd/audit/sys/kern/init_main.c#6 integrate
... //depot/projects/trustedbsd/audit/sys/kern/kern_audit.c#31 edit
... //depot/projects/trustedbsd/audit/sys/kern/kern_descrip.c#9 integrate
... //depot/projects/trustedbsd/audit/sys/kern/kern_environment.c#4 integrate
... //depot/projects/trustedbsd/audit/sys/kern/kern_exec.c#6 integrate
... //depot/projects/trustedbsd/audit/sys/kern/kern_exit.c#6 integrate
... //depot/projects/trustedbsd/audit/sys/kern/kern_fork.c#6 integrate
... //depot/projects/trustedbsd/audit/sys/kern/kern_malloc.c#5 integrate
... //depot/projects/trustedbsd/audit/sys/kern/kern_proc.c#6 integrate
... //depot/projects/trustedbsd/audit/sys/kern/kern_prot.c#5 integrate
... //depot/projects/trustedbsd/audit/sys/kern/kern_sig.c#7 integrate
... //depot/projects/trustedbsd/audit/sys/kern/kern_tc.c#8 integrate
... //depot/projects/trustedbsd/audit/sys/kern/makeobjops.pl#2 delete
... //depot/projects/trustedbsd/audit/sys/kern/subr_hints.c#4 integrate
... //depot/projects/trustedbsd/audit/sys/kern/subr_log.c#2 integrate
... //depot/projects/trustedbsd/audit/sys/kern/subr_witness.c#7 integrate
... //depot/projects/trustedbsd/audit/sys/kern/sys_generic.c#7 integrate
... //depot/projects/trustedbsd/audit/sys/kern/sys_pipe.c#5 integrate
... //depot/projects/trustedbsd/audit/sys/kern/tty.c#5 integrate
... //depot/projects/trustedbsd/audit/sys/kern/uipc_socket.c#7 integrate
... //depot/projects/trustedbsd/audit/sys/kern/uipc_socket2.c#5 integrate
... //depot/projects/trustedbsd/audit/sys/kern/vfs_aio.c#6 integrate
... //depot/projects/trustedbsd/audit/sys/kern/vfs_init.c#4 integrate
... //depot/projects/trustedbsd/audit/sys/kern/vfs_syscalls.c#9 edit
... //depot/projects/trustedbsd/audit/sys/kern/vnode_if.pl#2 delete
... //depot/projects/trustedbsd/audit/sys/modules/drm/mga/Makefile#2 integrate
... //depot/projects/trustedbsd/audit/sys/modules/drm/r128/Makefile#2 integrate
... //depot/projects/trustedbsd/audit/sys/modules/drm/radeon/Makefile#2 integrate
... //depot/projects/trustedbsd/audit/sys/net/bpf.c#4 integrate
... //depot/projects/trustedbsd/audit/sys/net/if_spppsubr.c#3 integrate
... //depot/projects/trustedbsd/audit/sys/net/if_tap.c#5 integrate
... //depot/projects/trustedbsd/audit/sys/net/if_tun.c#5 integrate
... //depot/projects/trustedbsd/audit/sys/net/rtsock.c#7 integrate
... //depot/projects/trustedbsd/audit/sys/netatm/atm_cm.c#5 integrate
... //depot/projects/trustedbsd/audit/sys/netatm/atm_cm.h#3 integrate
... //depot/projects/trustedbsd/audit/sys/netatm/atm_subr.c#6 integrate
... //depot/projects/trustedbsd/audit/sys/netatm/atm_var.h#5 integrate
... //depot/projects/trustedbsd/audit/sys/netinet/accf_data.c#3 integrate
... //depot/projects/trustedbsd/audit/sys/netinet/accf_http.c#3 integrate
... //depot/projects/trustedbsd/audit/sys/netinet/ip_fw.c#4 integrate
... //depot/projects/trustedbsd/audit/sys/netinet/tcp_input.c#5 integrate
... //depot/projects/trustedbsd/audit/sys/netkey/keysock.c#4 integrate
... //depot/projects/trustedbsd/audit/sys/pc98/conf/GENERIC#5 integrate
... //depot/projects/trustedbsd/audit/sys/pc98/pc98/clock.c#6 integrate
... //depot/projects/trustedbsd/audit/sys/pci/if_dc.c#6 integrate
... //depot/projects/trustedbsd/audit/sys/powerpc/powerpc/clock.c#4 integrate
... //depot/projects/trustedbsd/audit/sys/sparc64/conf/GENERIC#4 integrate
... //depot/projects/trustedbsd/audit/sys/sys/audit.h#25 edit
... //depot/projects/trustedbsd/audit/sys/sys/malloc.h#4 integrate
... //depot/projects/trustedbsd/audit/sys/sys/param.h#6 integrate
... //depot/projects/trustedbsd/audit/sys/sys/proc.h#7 integrate
... //depot/projects/trustedbsd/audit/sys/sys/signalvar.h#5 integrate
... //depot/projects/trustedbsd/audit/sys/sys/socketvar.h#6 integrate
... //depot/projects/trustedbsd/audit/sys/sys/time.h#6 integrate
... //depot/projects/trustedbsd/audit/sys/sys/timepps.h#4 integrate
... //depot/projects/trustedbsd/audit/sys/sys/timetc.h#6 integrate
... //depot/projects/trustedbsd/audit/sys/sys/user.h#4 integrate
... //depot/projects/trustedbsd/audit/sys/tools/makeobjops.awk#1 branch
... //depot/projects/trustedbsd/audit/sys/ufs/ffs/ffs_vnops.c#3 integrate
... //depot/projects/trustedbsd/audit/sys/ufs/ufs/extattr.h#2 integrate
... //depot/projects/trustedbsd/audit/sys/ufs/ufs/ufs_extattr.c#5 integrate
... //depot/projects/trustedbsd/audit/sys/ufs/ufs/ufs_vnops.c#5 integrate
... //depot/projects/trustedbsd/audit/sys/vm/uma.h#4 integrate
... //depot/projects/trustedbsd/audit/sys/vm/uma_core.c#4 integrate
... //depot/projects/trustedbsd/audit/sys/vm/uma_dbg.c#1 branch
... //depot/projects/trustedbsd/audit/sys/vm/uma_dbg.h#1 branch
... //depot/projects/trustedbsd/audit/sys/vm/vm_fault.c#5 integrate
... //depot/projects/trustedbsd/audit/sys/vm/vm_map.c#6 integrate
... //depot/projects/trustedbsd/audit/sys/vm/vm_map.h#6 integrate
... //depot/projects/trustedbsd/audit/sys/vm/vm_page.c#5 integrate

Differences ...

==== //depot/projects/trustedbsd/audit/sys/alpha/alpha/clock.c#3 (text+ko) ====

@@ -1,4 +1,4 @@
-/* $FreeBSD: src/sys/alpha/alpha/clock.c,v 1.28 2002/03/20 18:58:44 obrien Exp $ */
+/* $FreeBSD: src/sys/alpha/alpha/clock.c,v 1.29 2002/04/30 19:34:28 phk Exp $ */
 /* $NetBSD: clock.c,v 1.20 1998/01/31 10:32:47 ross Exp $ */
 
 /*
@@ -124,9 +124,6 @@
 	"alpha"			/* name */
 };
 
-SYSCTL_OPAQUE(_debug, OID_AUTO, alpha_timecounter, CTLFLAG_RD, 
-	&alpha_timecounter, sizeof(alpha_timecounter), "S,timecounter", "");
-
 static struct timecounter i8254_timecounter = {
 	i8254_get_timecount,	/* get_timecount */
 	0,			/* no poll_pps */
@@ -135,9 +132,6 @@
 	"i8254"			/* name */
 };
 
-SYSCTL_OPAQUE(_debug, OID_AUTO, i8254_timecounter, CTLFLAG_RD, 
-	&i8254_timecounter, sizeof(i8254_timecounter), "S,timecounter", "");
-
 /* Values for timerX_state: */
 #define	RELEASED	0
 #define	RELEASE_PENDING	1

==== //depot/projects/trustedbsd/audit/sys/alpha/alpha/mem.c#3 (text+ko) ====

@@ -38,7 +38,7 @@
  *
  *	from: Utah $Hdr: mem.c 1.13 89/10/08$
  *	from: @(#)mem.c	7.2 (Berkeley) 5/9/91
- * $FreeBSD: src/sys/alpha/alpha/mem.c,v 1.39 2002/02/27 18:31:35 jhb Exp $
+ * $FreeBSD: src/sys/alpha/alpha/mem.c,v 1.40 2002/05/01 06:24:51 peter Exp $
  */
 
 /*
@@ -59,8 +59,6 @@
 #include <sys/signalvar.h>
 #include <sys/uio.h>
 
-#include <machine/frame.h>
-#include <machine/psl.h>
 #ifdef PERFMON
 #include <machine/perfmon.h>
 #endif

==== //depot/projects/trustedbsd/audit/sys/alpha/conf/GENERIC#5 (text+ko) ====

@@ -19,7 +19,7 @@
 #
 # For hardware specific information check HARDWARE.TXT
 #
-# $FreeBSD: src/sys/alpha/conf/GENERIC,v 1.137 2002/04/18 03:44:44 rwatson Exp $
+# $FreeBSD: src/sys/alpha/conf/GENERIC,v 1.138 2002/05/03 17:59:21 jmallett Exp $
 
 machine		alpha
 cpu		EV4
@@ -74,7 +74,7 @@
 options 	DDB			#Enable the kernel debugger
 options 	INVARIANTS		#Enable calls of extra sanity checking
 options 	INVARIANT_SUPPORT	#Extra sanity checks of internal structures, required by INVARIANTS
-#options 	WITNESS			#Enable checks to detects deadlocks and cycles
+#options 	WITNESS			#Enable checks to detect deadlocks and cycles
 
 # To make an SMP kernel, the next line is needed
 options 	SMP			# Symmetric MultiProcessor Kernel

==== //depot/projects/trustedbsd/audit/sys/compat/linux/linux_misc.c#5 (text+ko) ====

@@ -25,7 +25,7 @@
  * (INCLUDING NEGLIGENCE OR OTHERWISE) ARISING IN ANY WAY OUT OF THE USE OF
  * THIS SOFTWARE, EVEN IF ADVISED OF THE POSSIBILITY OF SUCH DAMAGE.
  *
- * $FreeBSD: src/sys/compat/linux/linux_misc.c,v 1.120 2002/04/20 14:43:34 rwatson Exp $
+ * $FreeBSD: src/sys/compat/linux/linux_misc.c,v 1.121 2002/05/01 02:17:33 peter Exp $
  */
 
 #include "opt_compat.h"
@@ -64,13 +64,7 @@
 #include <vm/vm_object.h>
 #include <vm/swap_pager.h>
 
-#include <machine/frame.h>
 #include <machine/limits.h>
-#include <machine/psl.h>
-#include <machine/sysarch.h>
-#ifdef __i386__
-#include <machine/segments.h>
-#endif
 
 #include <posix4/sched.h>
 

==== //depot/projects/trustedbsd/audit/sys/conf/NOTES#3 (text+ko) ====

@@ -14,7 +14,7 @@
 # This file contains machine independent kernel configuration notes.  For
 # machine dependent notes, look in /sys/<arch>/conf/NOTES.
 #
-# $FreeBSD: src/sys/conf/NOTES,v 1.1027 2002/04/28 04:58:12 anholt Exp $
+# $FreeBSD: src/sys/conf/NOTES,v 1.1029 2002/04/30 22:47:26 scottl Exp $
 #
 
 #
@@ -1308,7 +1308,7 @@
 #			support).
 #
 device		aac
-device		aacp	# SCSI Passthrough interface (optional)
+device		aacp	# SCSI Passthrough interface (optional, CAM required)
 
 #
 # Compaq Smart RAID, Mylex DAC960 and AMI MegaRAID controllers.  Only
@@ -1633,6 +1633,7 @@
 device		de		# DEC/Intel DC21x4x (``Tulip'')
 device		txp		# 3Com 3cR990 (``Typhoon'')
 device		vx		# 3Com 3c590, 3c595 (``Vortex'')
+device		my		# Myson controllers
 
 # PCI Gigabit & FDDI NICs.
 device		bge

==== //depot/projects/trustedbsd/audit/sys/conf/files#10 (text+ko) ====

@@ -1,4 +1,4 @@
-# $FreeBSD: src/sys/conf/files,v 1.629 2002/04/28 04:58:12 anholt Exp $
+# $FreeBSD: src/sys/conf/files,v 1.630 2002/04/30 07:54:21 jeff Exp $
 #
 # The long compile-with and dependency lines are required because of
 # limitations in config: backslash-newline doesn't work in strings, and
@@ -1373,4 +1373,5 @@
 vm/vm_swap.c		standard
 vm/vm_unix.c		standard
 vm/uma_core.c		standard
+vm/uma_dbg.c		standard
 vm/vnode_pager.c	standard

==== //depot/projects/trustedbsd/audit/sys/conf/files.powerpc#4 (text+ko) ====

@@ -1,7 +1,7 @@
 # This file tells config what files go into building a kernel,
 # files marked standard are always included.
 #
-# $FreeBSD: src/sys/conf/files.powerpc,v 1.8 2002/04/15 12:30:14 benno Exp $
+# $FreeBSD: src/sys/conf/files.powerpc,v 1.9 2002/04/30 11:13:16 benno Exp $
 #
 # The long compile-with and dependency lines are required because of
 # limitations in config: backslash-newline doesn't work in strings, and
@@ -25,6 +25,7 @@
 powerpc/powerpc/ofwmagic.s	standard
 powerpc/powerpc/ofw_machdep.c	standard
 powerpc/powerpc/pmap.c		standard
+powerpc/powerpc/sigcode.S	standard
 powerpc/powerpc/suswintr.c	standard
 powerpc/powerpc/syncicache.c	standard
 powerpc/powerpc/sys_machdep.c	standard

==== //depot/projects/trustedbsd/audit/sys/conf/kern.post.mk#4 (text+ko) ====

@@ -1,4 +1,3 @@
-
 # Part of unified Makefile for building kenrels.  This includes all
 # the definitions that need to be included after all the % directives,
 # except %RULES and things that act like they are part of %RULES
@@ -7,7 +6,7 @@
 # should be defined in the kern.pre.mk so that port makefiles can
 # override or augment them.
 #
-# $FreeBSD: src/sys/conf/kern.post.mk,v 1.16 2002/04/24 11:26:19 ru Exp $
+# $FreeBSD: src/sys/conf/kern.post.mk,v 1.17 2002/05/01 03:28:14 obrien Exp $
 #
 
 # XXX why are only some phony targets marked phony?
@@ -43,7 +42,7 @@
 
 .for mfile in ${MFILES}
 ${mfile:T:S/.m$/.h/}: ${mfile}
-	perl5 $S/kern/makeobjops.pl -h ${mfile}
+	${AWK} -f $S/tools/makeobjops.awk ${mfile} -h
 .endfor
 
 kernel-clean:

==== //depot/projects/trustedbsd/audit/sys/conf/kern.pre.mk#4 (text+ko) ====

@@ -3,7 +3,7 @@
 # Unified Makefile for building kenrels.  This includes all the definitions
 # that need to be included before %BEFORE_DEPEND
 #
-# $FreeBSD: src/sys/conf/kern.pre.mk,v 1.10 2002/03/24 17:45:46 obrien Exp $
+# $FreeBSD: src/sys/conf/kern.pre.mk,v 1.11 2002/05/01 03:28:14 obrien Exp $
 #
 
 # Can be overridden by makeoptions or /etc/make.conf
@@ -73,7 +73,7 @@
 PROFILE_C= ${CC} -c ${CFLAGS} ${WERROR} ${.IMPSRC}
 NORMAL_C_NOWERROR= ${CC} -c ${CFLAGS} ${PROF} ${.IMPSRC}
 
-NORMAL_M= perl5 $S/kern/makeobjops.pl -c $<; \
+NORMAL_M= ${AWK} -f $S/tools/makeobjops.awk $< -c ; \
 	  ${CC} -c ${CFLAGS} ${PROF} ${.PREFIX}.c
 
 GEN_CFILES= $S/$M/$M/genassym.c

==== //depot/projects/trustedbsd/audit/sys/conf/kmod.mk#5 (text+ko) ====

@@ -1,5 +1,5 @@
 #	From: @(#)bsd.prog.mk	5.26 (Berkeley) 6/25/91
-# $FreeBSD: src/sys/conf/kmod.mk,v 1.120 2002/04/29 06:35:25 obrien Exp $
+# $FreeBSD: src/sys/conf/kmod.mk,v 1.123 2002/05/01 19:24:26 imp Exp $
 #
 # The include file <bsd.kmod.mk> handles installing Kernel Loadable Device
 # drivers (KLD's).
@@ -82,6 +82,10 @@
 KMODUNLOAD?=	/sbin/kldunload
 OBJCOPY?=	objcopy
 
+.if defined(KMODDEPS)
+.error "Do not use KMODDEPS on 5.0+, use MODULE_VERSION/MODULE_DEPEND"
+.endif
+
 .include <bsd.init.mk>
 
 .SUFFIXES: .out .o .c .cc .cxx .C .y .l .s .S
@@ -166,6 +170,9 @@
 .endif
 .endif
 
+.if !exists(/usr/sbin/kldxref)
+NO_XREF=yes
+.endif
 
 _ILINKS=@ machine
 
@@ -253,9 +260,7 @@
 	done; true
 .endif
 .if !defined(NO_XREF)
-	@echo "FAILURES HERE ARE OK"
 	-kldxref ${DESTDIR}${KMODDIR}
-	@echo "END OF SECTION WHERE FAILURES ARE OK"
 .endif
 .endif
 
@@ -308,9 +313,9 @@
 ${_src}: @
 .endif
 .if exists(@)
-${_src}: @/kern/makeobjops.pl @/${_srcsrc}
+${_src}: @/tools/makeobjops.awk @/${_srcsrc}
 .endif
-	perl @/kern/makeobjops.pl -${_ext} @/${_srcsrc}
+	${AWK} -f @/tools/makeobjops.awk @/${_srcsrc} -${_ext}
 .endif
 .endfor # _src
 .endfor # _ext
@@ -341,5 +346,4 @@
 .endif
 
 .include <bsd.obj.mk>
-
 .include <bsd.kern.mk>

==== //depot/projects/trustedbsd/audit/sys/dev/aac/aac.c#5 (text+ko) ====

@@ -26,7 +26,7 @@
  * OUT OF THE USE OF THIS SOFTWARE, EVEN IF ADVISED OF THE POSSIBILITY OF
  * SUCH DAMAGE.
  *
- *	$FreeBSD: src/sys/dev/aac/aac.c,v 1.38 2002/04/27 01:31:13 scottl Exp $
+ *	$FreeBSD: src/sys/dev/aac/aac.c,v 1.39 2002/05/03 00:07:50 scottl Exp $
  */
 
 /*
@@ -355,17 +355,17 @@
 	mi = (struct aac_mntinfo *)&fib->data[0];
 
 	/* loop over possible containers */
-	mi->Command = VM_NameServe;
-	mi->MntType = FT_FILESYS;
 	do {
 		/* request information on this container */
+		bzero(mi, sizeof(struct aac_mntinfo));
+		mi->Command = VM_NameServe;
+		mi->MntType = FT_FILESYS;
 		mi->MntCount = i;
 		if (aac_sync_fib(sc, ContainerCommand, 0, fib,
 				 sizeof(struct aac_mntinfo))) {
 			debug(2, "error probing container %d", i);
 			continue;
 		}
-		/* check response size */
 
 		mir = (struct aac_mntinforesp *)&fib->data[0];
 		aac_add_container(sc, mir, 0);
@@ -550,6 +550,7 @@
 	aac_alloc_sync_fib(sc, &fib, AAC_SYNC_LOCK_FORCE);
 	cc = (struct aac_close_command *)&fib->data[0];
 
+	bzero(cc, sizeof(struct aac_close_command));
 	cc->Command = VM_CloseAll;
 	cc->ContainerId = 0xffffffff;
 	if (aac_sync_fib(sc, ContainerCommand, 0, fib,
@@ -2373,8 +2374,6 @@
 			 */
 			aac_alloc_sync_fib(sc, &fib, 0);
 			mi = (struct aac_mntinfo *)&fib->data[0];
-			mi->Command = VM_NameServe;
-			mi->MntType = FT_FILESYS;
 			do {
 				/*
 				 * Ask the controller for its containers one at
@@ -2383,6 +2382,9 @@
 				 * midway through this enumaration?
 				 * XXX This should be done async.
 				 */
+				bzero(mi, sizeof(struct aac_mntinfo));
+				mi->Command = VM_NameServe;
+				mi->MntType = FT_FILESYS;
 				mi->MntCount = i;
 				rsize = sizeof(mir);
 				if (aac_sync_fib(sc, ContainerCommand, 0, fib,
@@ -2717,6 +2719,7 @@
 
 	aac_alloc_sync_fib(sc, &fib, 0);
 	c_cmd = (struct aac_ctcfg *)&fib->data[0];
+	bzero(c_cmd, sizeof(struct aac_ctcfg));
 
 	c_cmd->Command = VM_ContainerConfig;
 	c_cmd->cmd = CT_GET_SCSI_METHOD;
@@ -2742,6 +2745,8 @@
 	sc->scsi_method_id = c_resp->param;
 
 	vmi = (struct aac_vmioctl *)&fib->data[0];
+	bzero(vmi, sizeof(struct aac_vmioctl));
+
 	vmi->Command = VM_Ioctl;
 	vmi->ObjType = FT_DRIVE;
 	vmi->MethId = sc->scsi_method_id;

==== //depot/projects/trustedbsd/audit/sys/dev/aac/aac_cam.c#2 (text+ko) ====

@@ -23,7 +23,7 @@
  * OUT OF THE USE OF THIS SOFTWARE, EVEN IF ADVISED OF THE POSSIBILITY OF
  * SUCH DAMAGE.
  *
- *	$FreeBSD: src/sys/dev/aac/aac_cam.c,v 1.1 2002/04/27 01:31:13 scottl Exp $
+ *	$FreeBSD: src/sys/dev/aac/aac_cam.c,v 1.3 2002/05/03 00:07:50 scottl Exp $
  */
 
 /*
@@ -67,8 +67,6 @@
 struct aac_cam {
 	device_t		dev;
 	struct aac_cam_inf	*inf;
-	u_int32_t		scsi_method_id;
-	int			bus;
 	struct cam_sim		*sim;
 	struct cam_path		*path;
 };
@@ -149,6 +147,7 @@
 		return (EIO);
 	}
 
+	/* Since every bus has it's own sim, every bus 'appears' as bus 0 */
 	if (xpt_bus_register(sim, 0) != CAM_SUCCESS) {
 		cam_sim_free(sim, TRUE);
 		return (EIO);
@@ -163,7 +162,6 @@
 
 	camsc->sim = sim;
 	camsc->path = path;
-	camsc->bus = cam_sim_bus(sim);
 
 	return (0);
 }
@@ -227,7 +225,7 @@
 		cpi->max_target = camsc->inf->TargetsPerBus;
 		cpi->max_lun = 8;	/* Per the controller spec */
 		cpi->initiator_id = camsc->inf->InitiatorBusId;
-		cpi->bus_id = cam_sim_bus(sim);
+		cpi->bus_id = camsc->inf->BusNumber;
 		cpi->base_transfer_speed = 3300;
 		strncpy(cpi->sim_vid, "FreeBSD", SIM_IDLEN);
 		strncpy(cpi->hba_vid, "Adaptec", HBA_IDLEN);
@@ -242,7 +240,7 @@
 	{
 		u_int32_t handle;
 
-		handle = AAC_BTL_TO_HANDLE(cam_sim_bus(sim),
+		handle = AAC_BTL_TO_HANDLE(camsc->inf->BusNumber,
 		    ccb->ccb_h.target_id, ccb->ccb_h.target_lun);
 		ccb->ccb_h.status = aac_cam_get_tran_settings(sc, &ccb->cts,
 		    handle);
@@ -371,7 +369,7 @@
 		break;
 	}
 
-	srb->bus = cam_sim_bus(sim);	/* Bus number relative to the card */
+	srb->bus = camsc->inf->BusNumber; /* Bus number relative to the card */
 	srb->target = ccb->ccb_h.target_id;
 	srb->lun = ccb->ccb_h.target_lun;
 	srb->timeout = ccb->ccb_h.timeout;	/* XXX */
@@ -502,6 +500,8 @@
 	aac_alloc_sync_fib(sc, &fib, 0);
 
 	vmi = (struct aac_vmioctl *)&fib->data[0];
+	bzero(vmi, sizeof(struct aac_vmioctl));
+
 	vmi->Command = VM_Ioctl;
 	vmi->ObjType = FT_DRIVE;
 	vmi->MethId = sc->scsi_method_id;
@@ -509,7 +509,7 @@
 	vmi->IoctlCmd = ResetBus;
 
 	rbc = (struct aac_resetbus *)&vmi->IoctlBuf[0];
-	rbc->BusNumber = cam_sim_bus(sim);
+	rbc->BusNumber = camsc->inf->BusNumber;
 
 	e = aac_sync_fib(sc, ContainerCommand, 0, fib,
 	    sizeof(struct aac_vmioctl));
@@ -546,6 +546,7 @@
 
 	aac_alloc_sync_fib(sc, &fib, 0);
 	vmi = (struct aac_vmioctl *)&fib->data[0];
+	bzero(vmi, sizeof(struct aac_vmioctl));
 
 	vmi->Command = VM_Ioctl;
 	vmi->ObjType = FT_DRIVE;

==== //depot/projects/trustedbsd/audit/sys/dev/acpica/acpi_timer.c#5 (text+ko) ====

@@ -24,7 +24,7 @@
  * OUT OF THE USE OF THIS SOFTWARE, EVEN IF ADVISED OF THE POSSIBILITY OF
  * SUCH DAMAGE.
  *
- *	$FreeBSD: src/sys/dev/acpica/acpi_timer.c,v 1.17 2002/04/26 10:06:24 phk Exp $
+ *	$FreeBSD: src/sys/dev/acpica/acpi_timer.c,v 1.18 2002/04/30 19:34:30 phk Exp $
  */
 #include "opt_acpi.h"
 #include <sys/param.h>
@@ -102,8 +102,6 @@
     "ACPI"
 };
 
-SYSCTL_OPAQUE(_debug, OID_AUTO, acpi_timecounter, CTLFLAG_RD,
-	      &acpi_timer_timecounter, sizeof(acpi_timer_timecounter), "S,timecounter", "");
 static int test_counter(void);
 
 #define N 2000

==== //depot/projects/trustedbsd/audit/sys/dev/aic7xxx/aicasm/Makefile#4 (text+ko) ====

@@ -1,6 +1,6 @@
 # $Id$
 #
-# $FreeBSD: src/sys/dev/aic7xxx/aicasm/Makefile,v 1.11 2002/04/24 16:24:43 gibbs Exp $
+# $FreeBSD: src/sys/dev/aic7xxx/aicasm/Makefile,v 1.12 2002/05/01 06:50:59 peter Exp $
 
 PROG=	aicasm
 
@@ -23,6 +23,9 @@
 .endif
 
 CFLAGS+= -I/usr/include -I.
+.ifdef MAKESRCPATH
+CFLAGS+= -I${MAKESRCPATH}
+.endif
 NOMAN=	noman
 YFLAGS= -b ${.TARGET:R} ${.TARGET:M*macro*:S/$(.TARGET)/-p mm/} -d
 LFLAGS+= ${.TARGET:M*macro*:S/$(.TARGET)/-Pmm/}

==== //depot/projects/trustedbsd/audit/sys/dev/drm/drm_fops.h#2 (text+ko) ====

@@ -29,7 +29,7 @@
  *    Daryll Strauss <daryll@valinux.com>
  *    Gareth Hughes <gareth@valinux.com>
  *
- * $FreeBSD: src/sys/dev/drm/drm_fops.h,v 1.3 2002/04/29 18:18:42 anholt Exp $
+ * $FreeBSD: src/sys/dev/drm/drm_fops.h,v 1.4 2002/05/03 07:45:26 tanimura Exp $
  */
 
 #define __NO_VERSION__
@@ -315,7 +315,7 @@
 	DRM_DEBUG("dev->buf_sigio=%p\n", dev->buf_sigio);
 	if (dev->buf_sigio) {
 		DRM_DEBUG("dev->buf_sigio->sio_pgid=%d\n", dev->buf_sigio->sio_pgid);
-		pgsigio(dev->buf_sigio, SIGIO, 0);
+		pgsigio(&dev->buf_sigio, SIGIO, 0);
 	}
 	DRM_DEBUG("waking\n");
 	wakeup(&dev->buf_rp);

==== //depot/projects/trustedbsd/audit/sys/dev/em/if_em.c#5 (text+ko) ====

@@ -33,7 +33,7 @@
 
 ***************************************************************************/
 
-/*$FreeBSD: src/sys/dev/em/if_em.c,v 1.6 2002/04/28 20:34:19 phk Exp $*/
+/*$FreeBSD: src/sys/dev/em/if_em.c,v 1.7 2002/05/02 22:21:01 pdeuskar Exp $*/
 
 #include <dev/em/if_em.h>
 
@@ -532,8 +532,8 @@
        * Advance the Transmit Descriptor Tail (Tdt), this tells the E1000
        * that this frame is available to transmit.
        */
-      E1000_WRITE_REG(&adapter->shared, TDT, (((u_int32_t) adapter->next_avail_tx_desc -
-                             (u_int32_t) adapter->first_tx_desc) >> 4));
+      E1000_WRITE_REG(&adapter->shared, TDT, (((uintptr_t) adapter->next_avail_tx_desc -
+                             (uintptr_t) adapter->first_tx_desc) >> 4));
    } /* end of while loop */
 
    splx(s);
@@ -1716,8 +1716,8 @@
    /* Setup the HW Rx Head and Tail Descriptor Pointers */
    E1000_WRITE_REG(&adapter->shared, RDH, 0);
    E1000_WRITE_REG(&adapter->shared, RDT,
-               (((u_int32_t) adapter->last_rx_desc -
-                 (u_int32_t) adapter->first_rx_desc) >> 4));
+               (((uintptr_t) adapter->last_rx_desc -
+                 (uintptr_t) adapter->first_rx_desc) >> 4));
    
    /* Setup the Receive Control Register */
    reg_rctl = E1000_RCTL_EN | E1000_RCTL_BAM | E1000_RCTL_LBM_NO |

==== //depot/projects/trustedbsd/audit/sys/dev/isp/isp.c#5 (text+ko) ====

@@ -1,4 +1,4 @@
-/* $FreeBSD: src/sys/dev/isp/isp.c,v 1.92 2002/04/16 19:55:35 mjacob Exp $ */
+/* $FreeBSD: src/sys/dev/isp/isp.c,v 1.93 2002/05/01 21:58:36 mjacob Exp $ */
 /*
  * Machine and OS Independent (well, as best as possible)
  * code for the Qlogic ISP SCSI adapters.
@@ -107,6 +107,8 @@
 static const char sc2[] = "%s CHAN %d TGT %d FLAGS 0x%x 0x%x/0x%x";
 static const char sc3[] = "Generated";
 static const char sc4[] = "NVRAM";
+static const char bun[] =
+    "bad underrun for %d.%d (count %d, resid %d, status %s)";
 
 /*
  * Local function prototypes.
@@ -4397,11 +4399,25 @@
 		break;
 
 	case RQCS_DATA_UNDERRUN:
+	{
+		if (IS_FC(isp)) {
+			int ru_marked = (sp->req_scsi_status & RQCS_RU) != 0;
+			if (!ru_marked || sp->req_resid > XS_XFRLEN(xs)) {
+				isp_prt(isp, ISP_LOGWARN, bun, XS_TGT(xs),
+				    XS_LUN(xs), XS_XFRLEN(xs), sp->req_resid,
+				    (ru_marked)? "marked" : "not marked");
+				if (XS_NOERR(xs)) {
+					XS_SETERR(xs, HBA_BOTCH);
+				}
+				return;
+			}
+		}
 		XS_RESID(xs) = sp->req_resid;
 		if (XS_NOERR(xs)) {
 			XS_SETERR(xs, HBA_NOERROR);
 		}
 		return;
+	}
 
 	case RQCS_XACT_ERR1:
 		isp_prt(isp, ISP_LOGERR, xact1, XS_CHANNEL(xs),
@@ -4424,8 +4440,8 @@
 
 	case RQCS_QUEUE_FULL:
 		isp_prt(isp, ISP_LOGDEBUG0,
-		    "internal queues full for %d.%d.%d status 0x%x", XS_TGT(xs),
-		    XS_LUN(xs), XS_CHANNEL(xs), *XS_STSP(xs));
+		    "internal queues full for %d.%d.%d status 0x%x",
+		    XS_CHANNEL(xs), XS_TGT(xs), XS_LUN(xs), *XS_STSP(xs));
 
 		/*
 		 * If QFULL or some other status byte is set, then this
@@ -4507,13 +4523,14 @@
 		 */
 		if ((sp->req_completion_status & 0xff) == RQCS_PORT_UNAVAILABLE)
 			isp_prt(isp, ISP_LOGINFO,
-			    "Port Unavailable for target %d", XS_TGT(xs));
+			    "port unavailable for target %d", XS_TGT(xs));
 		else
 			isp_prt(isp, ISP_LOGINFO,
 			    "port logout for target %d", XS_TGT(xs));
 		/*
 		 * If we're on a local loop, force a LIP (which is overkill)
-		 * to force a re-login of this unit.
+		 * to force a re-login of this unit. If we're on fabric,
+		 * then we'll have to relogin as a matter of course.
 		 */
 		if (FCPARAM(isp)->isp_topo == TOPO_NL_PORT ||
 		    FCPARAM(isp)->isp_topo == TOPO_FL_PORT) {
@@ -4933,8 +4950,8 @@
 	ISPOPMAP(0x00, 0x00),	/* 0x58: */
 	ISPOPMAP(0x00, 0x00),	/* 0x59: */
 	ISPOPMAP(0x00, 0x00),	/* 0x5a: */
-	ISPOPMAP(0x00, 0x00),	/* 0x5b: */
-	ISPOPMAP(0x00, 0x00),	/* 0x5c: */
+	ISPOPMAP(0x03, 0x01),	/* 0x5b: MBOX_DRIVER_HEARTBEAT */
+	ISPOPMAP(0xcf, 0x01),	/* 0x5c: MBOX_FW_HEARTBEAT */
 	ISPOPMAP(0x07, 0x03),	/* 0x5d: MBOX_GET_SET_DATA_RATE */
 	ISPOPMAP(0x00, 0x00),	/* 0x5e: */
 	ISPOPMAP(0x00, 0x00),	/* 0x5f: */

==== //depot/projects/trustedbsd/audit/sys/dev/md/md.c#5 (text+ko) ====

@@ -6,7 +6,7 @@
  * this stuff is worth it, you can buy me a beer in return.   Poul-Henning Kamp
  * ----------------------------------------------------------------------------
  *
- * $FreeBSD: src/sys/dev/md/md.c,v 1.57 2002/03/20 09:55:07 jeff Exp $
+ * $FreeBSD: src/sys/dev/md/md.c,v 1.58 2002/05/03 17:55:10 phk Exp $
  *
  */
 
@@ -609,18 +609,6 @@
 	struct nameidata nd;
 	int error, flags;
 
-	if (mdio->md_options & MD_AUTOUNIT) {
-		sc = mdnew(-1);
-		mdio->md_unit = sc->unit;
-	} else {
-		sc = mdnew(mdio->md_unit);
-	}
-	if (sc == NULL)
-		return (EBUSY);
-
-	sc->type = MD_VNODE;
-	sc->flags = mdio->md_options & MD_FORCE;
-
 	flags = FREAD|FWRITE;
 	NDINIT(&nd, LOOKUP, FOLLOW, UIO_USERSPACE, mdio->md_file, td);
 	error = vn_open(&nd, &flags, 0);
@@ -628,7 +616,6 @@
 		if (error != EACCES && error != EPERM && error != EROFS)
 			return (error);
 		flags &= ~FWRITE;
-		sc->flags |= MD_READONLY;
 		NDINIT(&nd, LOOKUP, FOLLOW, UIO_USERSPACE, mdio->md_file, td);
 		error = vn_open(&nd, &flags, 0);
 		if (error)
@@ -642,6 +629,22 @@
 		return (error ? error : EINVAL);
 	}
 	VOP_UNLOCK(nd.ni_vp, 0, td);
+
+	if (mdio->md_options & MD_AUTOUNIT) {
+		sc = mdnew(-1);
+		mdio->md_unit = sc->unit;
+	} else {
+		sc = mdnew(mdio->md_unit);
+	}
+	if (sc == NULL) {
+		(void) vn_close(nd.ni_vp, flags, td->td_ucred, td);
+		return (EBUSY);
+	}
+
+	sc->type = MD_VNODE;
+	sc->flags = mdio->md_options & MD_FORCE;
+	if (!(flags & FWRITE))
+		sc->flags |= MD_READONLY;
 	sc->secsize = DEV_BSIZE;
 	sc->vnode = nd.ni_vp;
 

==== //depot/projects/trustedbsd/audit/sys/dev/mii/acphy.c#4 (text+ko) ====

@@ -89,7 +89,7 @@
 
 #if !defined(lint)
 static const char rcsid[] =
-  "$FreeBSD: src/sys/dev/mii/acphy.c,v 1.7 2002/04/29 13:07:31 phk Exp $";
+  "$FreeBSD: src/sys/dev/mii/acphy.c,v 1.8 2002/05/01 19:15:54 semenu Exp $";
 #endif
 
 static int acphy_probe		(device_t);
@@ -176,33 +176,31 @@
 	struct ifmedia_entry *ife = mii->mii_media.ifm_cur;
 	int reg;
 
+	/*
+	 * If we're not selected, then do nothing, just isolate and power
+	 * down, if changing media.
+	 */
+	if (IFM_INST(ife->ifm_media) != sc->mii_inst) {
+		if (cmd == MII_MEDIACHG) {
+			reg = PHY_READ(sc, MII_BMCR);
+			PHY_WRITE(sc, MII_BMCR, reg | BMCR_ISO | BMCR_PDOWN);
+		}
+
+		return (0);
+	}
+
 	switch (cmd) {
 	case MII_POLLSTAT:
-		/*
-		 * If we're not polling our PHY instance, just return.
-		 */
-		if (IFM_INST(ife->ifm_media) != sc->mii_inst)
-			return (0);
 		break;
 
 	case MII_MEDIACHG:
 		/*
-		 * If the media indicates a different PHY instance,
-		 * isolate ourselves.
-		 */
-		if (IFM_INST(ife->ifm_media) != sc->mii_inst) {
-			reg = PHY_READ(sc, MII_BMCR);
-			PHY_WRITE(sc, MII_BMCR, reg | BMCR_ISO | BMCR_PDOWN);
-			return (0);
-		}
-
-		/*
 		 * If the interface is not up, don't do anything.
 		 */
 		if ((mii->mii_ifp->if_flags & IFF_UP) == 0)
 			break;
 
-		/* Wake & deisolate up is needed */
+		/* Wake & deisolate up if necessary */
 		reg = PHY_READ(sc, MII_BMCR);
 		if (reg & (BMCR_ISO | BMCR_PDOWN)) 
 			PHY_WRITE(sc, MII_BMCR, reg & ~(BMCR_ISO | BMCR_PDOWN));
@@ -230,12 +228,6 @@
 
 	case MII_TICK:
 		/*
-		 * If we're not currently selected, just return.
-		 */
-		if (IFM_INST(ife->ifm_media) != sc->mii_inst)
-			return (0);
-
-		/*
 		 * Is the interface even up?
 		 */
 		if ((mii->mii_ifp->if_flags & IFF_UP) == 0)
@@ -248,23 +240,8 @@
 			break;
 
 		/*
-		 * check for link.
-		 * Read the status register twice; BMSR_LINK is latch-low.
+		 * This PHY's autonegotiation doesn't need to be kicked.
 		 */
-		reg = PHY_READ(sc, MII_BMSR) | PHY_READ(sc, MII_BMSR);
-		if (reg & BMSR_LINK)
-			break;
-
-		/*
-		 * Only retry autonegotiation every 5 seconds.
-		 */
-		if (++sc->mii_ticks != 5)
-			return (0);
-
-		sc->mii_ticks = 0;
-		acphy_reset(sc);
-		if (mii_phy_auto(sc, 0) == EJUSTRETURN)
-			return (0);
 		break;
 	}
 
@@ -308,8 +285,7 @@
 			mii->mii_media_active |= IFM_NONE;
 			return;
 		}
-		diag = PHY_READ(sc, MII_ACPHY_DIAG) |
-		    PHY_READ(sc, MII_ACPHY_DIAG);
+		diag = PHY_READ(sc, MII_ACPHY_DIAG);
 		if (diag & AC_DIAG_SPEED)
 			mii->mii_media_active |= IFM_100_TX;
 		else

==== //depot/projects/trustedbsd/audit/sys/dev/mii/qsphy.c#4 (text+ko) ====

@@ -93,7 +93,7 @@
 
 #if !defined(lint)
 static const char rcsid[] =
-  "$FreeBSD: src/sys/dev/mii/qsphy.c,v 1.6 2002/04/29 13:07:32 phk Exp $";
+  "$FreeBSD: src/sys/dev/mii/qsphy.c,v 1.7 2002/05/01 19:15:54 semenu Exp $";
 #endif
 
 static int qsphy_probe		(device_t);
@@ -180,27 +180,25 @@
 	struct ifmedia_entry *ife = mii->mii_media.ifm_cur;
 	int reg;
 
+	/*
+	 * If we're not selected, then do nothing, just isolate, if
+	 * changing media.
+	 */
+	if (IFM_INST(ife->ifm_media) != sc->mii_inst) {
+		if (cmd == MII_MEDIACHG) {
+			reg = PHY_READ(sc, MII_BMCR);
+			PHY_WRITE(sc, MII_BMCR, reg | BMCR_ISO);
+		}
+
+		return (0);
+	}
+
 	switch (cmd) {
 	case MII_POLLSTAT:
-		/*
-		 * If we're not polling our PHY instance, just return.
-		 */
-		if (IFM_INST(ife->ifm_media) != sc->mii_inst)
-			return (0);
 		break;
 
 	case MII_MEDIACHG:
 		/*
-		 * If the media indicates a different PHY instance,
-		 * isolate ourselves.
-		 */
-		if (IFM_INST(ife->ifm_media) != sc->mii_inst) {
-			reg = PHY_READ(sc, MII_BMCR);
-			PHY_WRITE(sc, MII_BMCR, reg | BMCR_ISO);
-			return (0);
-		}
-
-		/*
 		 * If the interface is not up, don't do anything.
 		 */
 		if ((mii->mii_ifp->if_flags & IFF_UP) == 0)
@@ -229,12 +227,6 @@
 
 	case MII_TICK:
 		/*
-		 * If we're not currently selected, just return.
-		 */
-		if (IFM_INST(ife->ifm_media) != sc->mii_inst)
-			return (0);
-
-		/*
 		 * Is the interface even up?
 		 */
 		if ((mii->mii_ifp->if_flags & IFF_UP) == 0)
@@ -247,23 +239,8 @@
 			break;
 
 		/*
-		 * check for link.
-		 * Read the status register twice; BMSR_LINK is latch-low.
+		 * This PHY's autonegotiation doesn't need to be kicked.
 		 */
-		reg = PHY_READ(sc, MII_BMSR) | PHY_READ(sc, MII_BMSR);
-		if (reg & BMSR_LINK)
-			break;
-
-		/*
-		 * Only retry autonegotiation every 5 seconds.
-		 */
-		if (++sc->mii_ticks != 5)

>>> TRUNCATED FOR MAIL (1000 lines) <<<

To Unsubscribe: send mail to majordomo@FreeBSD.org
with "unsubscribe p4-projects" in the body of the message




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