[PATCH] April Bluetooth stack does not build under 5.0-RELEASE

Maksim Yevmenkin <[email protected]>
Newsgroups gmane.os.freebsd.devel.mobile
Message-ID <20030413190130.53345.qmail__14351.6180025928$1050260489@web40302.mail.yahoo.com>
Dear Hackers,

Please find attached patch for the ng_ubt(4) driver. This patch fixes
stupid typo error in 2003/04/07 snapshot. 

Symptoms: 

link_elf: symbol usbd_intr_transfer undefined
KLD file ng_ubt.ko - could not finalize loading

Solution:

Apply the attached patch, recompile and reinstall the ng_ubt(4) module.

Impact:

Minimal. This patch only affects new device nodes interface.

Many thanks to Pav Lucistnik <[email protected]> who reported this problem.
I'm sorry about this.

max

__________________________________________________
Do you Yahoo!?
Yahoo! Tax Center - File online, calculators, forms, and more
http://tax.yahoo.com

_______________________________________________
[email protected] mailing list
http://lists.freebsd.org/mailman/listinfo/freebsd-mobile
To unsubscribe, send any mail to "[email protected]"
ng_ubt.typo.diff (application/octet-stream, 337 B)
--- ng_ubt.c.orig	Sun Apr 13 11:44:50 2003
+++ ng_ubt.c	Sun Apr 13 11:48:31 2003
@@ -2460,7 +2460,7 @@
 		if (error != 0)
 			break;
 
-		status = usbd_intr_transfer(sc->sc_bulk_out_xfer,
+		status = usbd_bulk_transfer(sc->sc_bulk_out_xfer,
 				sc->sc_bulk_out_pipe, 0, USBD_DEFAULT_TIMEOUT,
 				buf, &n,"ubtwr");
 		switch (status) {
lmpx.com only provides a reader for public news (NNTP) servers. It is not affiliated with the servers or forums shown here and is not responsible for the content of articles, which is written by their respective authors.