Source-Changes-HG archive

[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index][Old Index]

[src/trunk]: src/sys/arch/ofppc/conf When detecting a new USB device on the b...



details:   https://anonhg.NetBSD.org/src/rev/4b8447671bf6
branches:  trunk
changeset: 777866:4b8447671bf6
user:      phx <phx%NetBSD.org@localhost>
date:      Thu Mar 08 14:18:04 2012 +0000

description:
When detecting a new USB device on the bus ofppc panics in usb_allocmem().
Although the problem doesn't seem to affect other PPC ports, it causes big
trouble for my Pegasos2.
So as long as there is no real solution we should add the option
USB_FRAG_DMA_WORKAROUND to the GENERIC config file.

diffstat:

 sys/arch/ofppc/conf/GENERIC |  5 +++--
 1 files changed, 3 insertions(+), 2 deletions(-)

diffs (26 lines):

diff -r 8a2b04e07516 -r 4b8447671bf6 sys/arch/ofppc/conf/GENERIC
--- a/sys/arch/ofppc/conf/GENERIC       Thu Mar 08 05:42:44 2012 +0000
+++ b/sys/arch/ofppc/conf/GENERIC       Thu Mar 08 14:18:04 2012 +0000
@@ -1,4 +1,4 @@
-# $NetBSD: GENERIC,v 1.139 2011/12/18 05:49:31 dholland Exp $
+# $NetBSD: GENERIC,v 1.140 2012/03/08 14:18:04 phx Exp $
 #
 # GENERIC machine description file
 # 
@@ -22,7 +22,7 @@
 
 options        INCLUDE_CONFIG_FILE     # embed config file in kernel binary
 
-#ident                 "GENERIC-$Revision: 1.139 $"
+#ident                 "GENERIC-$Revision: 1.140 $"
 
 maxusers       32
 
@@ -339,6 +339,7 @@
 uhci*  at pci? dev ? function ?        # USB Universal Host Controller
 ohci*  at pci? dev ? function ?        # USB Open Host Controller
 ehci*  at pci? dev ? function ?        # USB Enhanced Host Controller
+options USB_FRAG_DMA_WORKAROUND                # Workaround panic in usb_allocmem()
 
 usb*   at uhci?                        # USB bus support
 usb*   at ohci?                        # USB bus support



Home | Main Index | Thread Index | Old Index