- 14 Nov, 2002 20 commits
-
-
David Brownell authored
I thought I'd send the results of some experimentation of mine getting an MGE UPS (Evolution) to talk to 2.5 ... basically it behaved after some patches, though the "hidups" driver didn't. They're all attached: - "hiddev-1.patch" ... The default queue size was so small that this low-speed device couldn't queue up about 110 control requests (that many reports to check!) during init. - "hiddev-2.patch" ... Makes hid debug output more useful by (a) making it compile again; (b) adding lots of "Power Device" and "Battery System" reports, and putting all that data into the readonly data section; (c) actually printing the usage strings, if they're known; (d) printing a message when neither input nor hiddev claim the device ... likely something's wrong, like someone didn't configure in input subsystem or hiddev support. - "hiddev-3.patch" ... Teaches hiddev to expose the physical ID just like the input event framework does. Useful to help sort out which UPS is which, so you won't power down the wrong set of servers by accident.
-
David Brownell authored
This fixes a problem from Chris' patch, letting the driverfs files work again. The root cause was a duplicate "parent_dev" field, now gone. This also adds minor cleanup in the hcd glue, renaming the value being duplicated as the "controller" that the HCD is driving. (A "parent" should rarely be used, but the "controller" has reasonable uses all over the place ... like in dev_dbg calls!) It's initted by the PCI bus glue, or by the SA-1111 bus glue. Also makes some OHCI debug messages appear only when VERBOSE debug is (manually) enabled. This was self-defense, otherwise running the link/unlink "usbtest" cases could fill up the log filesystem (with debug enabled).
-
Greg Kroah-Hartman authored
into kroah.com:/home/greg/linux/BK/gregkh-2.5
-
Greg Kroah-Hartman authored
-
Greg Kroah-Hartman authored
-
David Brownell authored
This fixes various minor problems: - re-orders some tests so that "(no bus?)" diagnostic should no longer be appearing (and making folk worry needlessly) - removes one unreachable test for URB_TIMEOUT_KILLED - removes the reachable test, since it's never an error on the part of the device driver to unlink something the HCD is already unlinking. - gets rid of some comments and code that expected automagic resubmits for interrupts (no more!), - resolves a FIXME for a rather unlikely situation (HCD can't perform the unlink, it reports an error) It also starts to use dev_dbg() macros, which give more concise (lately) and useful (they have both driver name and device id) diagnostics than the previous usb-only dbg() macros. To do this, DEBUG had to be #defined before <linux/driver.h> is included, but it can't be #undeffed before <linux/kernel.h> is included.
-
David Brownell authored
This mostly moves the initialization of some sysfs-related fields earlier, so HCD code can access them during those (initial error prone) parts of enumeration without oopsing. The particular access I wanted was using <linux/driver.h> debug utilities like dev_dbg(), dev_warn() and so on ... so I also changed the name the "generic" driver gives itself to be "usb" so those messages make more sense. Also added comments about how usb_new_device() moves the device through the other chapter 9 usb device states.
-
David Brownell authored
This patch shows how many configurations a device has, which will be important for eventual user mode tools that manage configurations.
-
Greg Kroah-Hartman authored
-
Linus Torvalds authored
into home.transmeta.com:/home/torvalds/v2.5/linux
-
Linus Torvalds authored
-
Linus Torvalds authored
-
David S. Miller authored
-
Andrew Morton authored
-
David S. Miller authored
into nuts.ninka.net:/home/davem/src/BK/net-2.5
-
Arnaldo Carvalho de Melo authored
Also: . prototypes for _proc_init functions only needed in af_inet.c, and only if CONFIG_PROC_FS is set. . net/socket.c needs include <linux/seq_file.h> . review raw.c needed includes
-
David S. Miller authored
-
David S. Miller authored
-
Alexey Kuznetsov authored
- xfrm_state.c: never return mature SAs on getspi. - af_key.c: do not forget to delete dummy super-larvals when they are resolved - af_key.c: wow! specially for this case I added gfp argument to xfrm_alloc_policy() and forgot to use it really.
-
James Morris authored
-
- 13 Nov, 2002 4 commits
-
-
David S. Miller authored
into nuts.ninka.net:/home/davem/src/BK/net-2.5
-
Rusty Russell authored
Fixes crypto so it compiles with !CONFIG_MODULES, and cleans up two other cases which did #ifdef CONFIG_MODULES.
-
Rusty Russell authored
My patch accidentally deleted module_map and module_unmap, which Sparc64 uses to get 32-bit memory (Sparc64 was the entire reason the arch has to supply the module allocation functions, and then I didn't use it. Doh). Plus a thinko in relocation calculation (dunno how that ever worked).
-
Arnaldo Carvalho de Melo authored
Also only compile/link socket_seq_show (previously socket_get_info) in net/socket.c if CONFIG_PROC_FS is enabled.
-
- 12 Nov, 2002 16 commits
-
-
Arnaldo Carvalho de Melo authored
-
David S. Miller authored
-
Alexey Kuznetsov authored
-
David S. Miller authored
into nuts.ninka.net:/home/davem/src/BK/net-2.5
-
Greg Kroah-Hartman authored
-
Randy Dunlap authored
Here is the usblp buffer allocation patch for 2.5.47.
-
Greg Kroah-Hartman authored
This was suggested by Max Krasnyansky to try to remove confusion between this driver and the BlueZ supported driver.
-
David Brownell authored
This fixes a number of issues in OHCI: - Force out the PCI write disabling control/bulk queues. This "shouldn't" matter, they're empty. - The rule is that if an ED is IDLE, its OK to just schedule it and start appending TDs. Hard to do that when the typical error path left them still halted! - Sometimes ed->hwTailP needs updating when TDs are removed from the queue, not just ed->hwHeadP. Oops. - Oh, and it's not the high bits we want to save when we unlink ... it's the low bits (actually just toggle). Except for forcing the writes to the controller, these patches should only affect (improve :) fault and unlink handling.
-
Jes Sorensen authored
This makes drivers/net/rrunner.[ch] use the PCI DMA mapping API. It also fixes some potential SMP bugs where spin locks were taking outside of interrupt context without disabling interrupts.
-
Andrew Morton authored
ncpfs has a dynamically allocated timer.
-
Andrew Morton authored
Initialise dynamically allocated timers under sound/
-
Andrew Morton authored
The output from a second pass across the tree. I visited all instances of ".function" and "->function". net/ has been sent to David.
-
Linus Torvalds authored
-
Pavel Machek authored
This rewrites the parts that can not be safely written in C (ie the low-level register save/restore) to assembly.
-
Rusty Russell authored
The code was broken if module unload support was turned off. symbol_put_addr() in module.c should be moved under __symbol_put.
-
Ari Juhani Hämeenaho authored
Bad news is that the scanner endpoint change did not work, maybe I mistested it or it never worked. My version worked, but was very ugly. Here is a working one (against 2.5.47), this also looks nicer (I did not know the EP_XXX() could be changed too):
-