Subject: PR/34219 CVS commit: src
To: None <plunky@NetBSD.org, gnats-admin@netbsd.org,>
From: Iain Hibbert <plunky@netbsd.org>
List: netbsd-bugs
Date: 08/19/2006 16:40:03
The following reply was made to PR kern/34219; it has been noted by GNATS.

From: Iain Hibbert <plunky@netbsd.org>
To: gnats-bugs@NetBSD.org
Cc: 
Subject: PR/34219 CVS commit: src
Date: Sat, 19 Aug 2006 16:35:03 +0000 (UTC)

 Module Name:	src
 Committed By:	plunky
 Date:		Sat Aug 19 16:35:03 UTC 2006
 
 Modified Files:
 	src/distrib/sets/lists/man: mi
 	src/share/man/man4: Makefile ubt.4
 	src/sys/dev: DEVNAMES
 	src/sys/dev/usb: FILES files.usb ubt.c
 Removed Files:
 	src/share/man/man4: ubtbcmfw.4
 	src/sys/dev/usb: ubtbcmfw.c
 
 Log Message:
 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.921 -r1.922 src/distrib/sets/lists/man/mi
 cvs rdiff -r1.399 -r1.400 src/share/man/man4/Makefile
 cvs rdiff -r1.1 -r1.2 src/share/man/man4/ubt.4
 cvs rdiff -r1.1 -r0 src/share/man/man4/ubtbcmfw.4
 cvs rdiff -r1.209 -r1.210 src/sys/dev/DEVNAMES
 cvs rdiff -r1.9 -r1.10 src/sys/dev/usb/FILES
 cvs rdiff -r1.68 -r1.69 src/sys/dev/usb/files.usb
 cvs rdiff -r1.14 -r1.15 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.