Subject: PR/34219 CVS commit: [netbsd-4] src
To: None <plunky@NetBSD.org, gnats-admin@netbsd.org,>
From: Matthias Scheler <tron@netbsd.org>
List: netbsd-bugs
Date: 08/25/2006 12:35:02
The following reply was made to PR kern/34219; it has been noted by GNATS.

From: Matthias Scheler <tron@netbsd.org>
To: gnats-bugs@NetBSD.org
Cc: 
Subject: PR/34219 CVS commit: [netbsd-4] src
Date: Fri, 25 Aug 2006 12:33:58 +0000 (UTC)

 Module Name:	src
 Committed By:	tron
 Date:		Fri Aug 25 12:33:58 UTC 2006
 
 Modified Files:
 	src/distrib/sets/lists/man [netbsd-4]: mi
 	src/share/man/man4 [netbsd-4]: Makefile ubt.4
 	src/sys/dev [netbsd-4]: DEVNAMES
 	src/sys/dev/usb [netbsd-4]: FILES files.usb ubt.c
 Removed Files:
 	src/share/man/man4 [netbsd-4]: ubtbcmfw.4
 	src/sys/dev/usb [netbsd-4]: ubtbcmfw.c
 
 Log Message:
 Pull up following revision(s) (requested by plunky in ticket #49):
 	share/man/man4/Makefile: revision 1.400
 	sys/dev/usb/FILES: revision 1.10
 	sys/dev/usb/files.usb: revision 1.69
 	share/man/man4/ubt.4: revision 1.2
 	sys/dev/usb/ubt.c: revision 1.15
 	share/man/man4/ubtbcmfw.4: file removal
 	distrib/sets/lists/man/mi: revision 1.922
 	sys/dev/DEVNAMES: revision 1.210
 	sys/dev/usb/ubtbcmfw.c: file removal
 The ubtbcmfw(4) driver fails to compile, as noted by PR kern/34219.
 While it can be made to compile, the paradigm is not quite right because
 it attempts to contact the filesystem during autoconfig which sometimes
 causes a panic. Even if that was fixed, there is another potential problem
 in that the driver tries/sleeps/tries/sleeps and the sleep could
 theoretically sleep past the rc.d/btconfig stage and the controller
 would remain unconfigured.
 So, I have prepared a different method for loading the firmware to
 Broadcom BCM2033 chip based devices. A package 'sysutils/bcmfw' will load
 the firmware files via a ugen(4) device interface.
 This update removes the ubtbcmfw(4) driver and adds a table to the ubt(4)
 driver so that it will not attach to Broadcom BCM2033 based devices before
 the firmware was loaded.
 This fixes kern/34219
 
 
 To generate a diff of this commit:
 cvs rdiff -r1.917 -r1.917.2.1 src/distrib/sets/lists/man/mi
 cvs rdiff -r1.397 -r1.397.2.1 src/share/man/man4/Makefile
 cvs rdiff -r1.1 -r1.1.2.1 src/share/man/man4/ubt.4
 cvs rdiff -r1.1 -r0 src/share/man/man4/ubtbcmfw.4
 cvs rdiff -r1.208 -r1.208.2.1 src/sys/dev/DEVNAMES
 cvs rdiff -r1.9 -r1.9.2.1 src/sys/dev/usb/FILES
 cvs rdiff -r1.68 -r1.68.2.1 src/sys/dev/usb/files.usb
 cvs rdiff -r1.14 -r1.14.2.1 src/sys/dev/usb/ubt.c
 cvs rdiff -r1.13 -r0 src/sys/dev/usb/ubtbcmfw.c
 
 Please note that diffs are not public domain; they are subject to the
 copyright notices on the relevant files.