summaryrefslogtreecommitdiff
path: root/drivers/usb/usb.c
AgeCommit message (Collapse)Author
2002-04-03USBGreg Kroah-Hartman
moved files to different subdirectories to make try to make sense of the current mess, and to allow usb client drivers to integrate into the tree easier.
2002-03-26USB core sanity checkDavid Brownell
Periodically folk have run into problems where usb-ohci oopses due to device refcount bugs ... This is a minor patch to move the sanity check out of usb-ohci into the generic bits of usbcore. There are comments that suggest a path for a more comprehensive approach too. Applies cleanly against 2.5.7 and I've been testing with it for a while. I can't think of any reason it shouldn't also go into 2.4, beyond the patch not applying cleanly there ... :)
2002-03-11Make USB core init an subsys_initcall, like the other buses.Kai Germaschewski
As it's linked after PCI, usb_init() will be called after pci_init(), which is an subsys_initcall, too. Subtle, but right.
2002-02-27usb core:Greg Kroah-Hartman
- removed debugging statement in usb_free_urb() that I accidentally left in :(
2002-02-26This is another USB API cleanup patch. It's against 2.5.5: David Brownell
- Moves 8 functions from usb.[hc] to hcd.[hc] - Also moves some data structures and types - Now usbdevfs and "old" HCDs #include "hcd.h" - Minor tweaks to the "hcd" layer (one less FIXME) - Minor kernel doc and comment cleanups Basically this continues moving the HCD-only functionality out of the way of normal USB device drivers. Converging "usb_bus" and "usb_hcd" (later!) will be a bit easier too. I did basic sanity tests, there's little to break ... :) There are still a few functions in usb.c that aren't for general driver use. They're mostly for enumeration, in areas where the hub driver and HCD root hubs need to do various kinds of magic. It wasn't clear how to decouple those, they can certainly wait.
2002-02-14usb core:Greg Kroah-Hartman
- Fix for removing a device that does not have a driver bound to it.
2002-02-13Added mem_flags to usb_submit_urb(), this is the USB core code changes.Greg Kroah-Hartman
2002-02-12[PATCH] usb_set_interface: correct toggle resetMartin Diehl
this is a patch to prevent usb_set_interface() from erroneously resetting the toggles for all endpoints instead of only the affected ones from the requested interface/altsetting. I've also added some missing parentheses to related macros in usb.h as I prefered not to take special care for nasty side-effects ;-) Patch below was created against 2.4.18-pre9 (with some lines of offset it applies to 2.5.4-pre5 as well). Tested in multi-interface configuration to provide evidence it: * correctly identifies the affected endpoints and resets the toggles * doesn't touch endpoints from other interfaces * provides correct handling of shared EP0 * solves an issue I had with 2.4.18-pre9 where setting one interface occasionally caused transfers on other interface to hang due to lost toggle synchronisation Despite being a pure bugfix, well localized and (IMHO) pretty obviously correct wrt. USB-spec, I'd like to suggest including this in early 2.4.19-pre. Just in case some existing driver would somehow workaround the currently wrong behavior and might break with this fix. And it's not very urgent right now, as we are probably close to 2.4.18-rc1. Regards, Martin
2002-02-08[PATCH] includes cleanup, 2nd try.Dave Jones
Big bits first, I'll redo the smaller bits tomorrow after some sleep. Same as last time, rediffed against pre5
2002-02-06Added driverfs support for the USB subsystem.Greg Kroah-Hartman
2002-02-05usb core:Greg Kroah-Hartman
- initial add of the "int mem_flags" call to the usb_submit_urb() call
2002-02-05[PATCH] USB core updateGreg Kroah-Hartman
Here's a patch against 2.5.3 for the USB core that fixes a possible initialization bug for some platforms when allocating a new usb, and changes the warning level on a message (it isn't an error.) This patch was done by Oliver Neukum and David Brownell.
2002-02-05v2.5.2.6 -> v2.5.3Linus Torvalds
- Doug Ledford: i810 audio driver update - Evgeniy Polyakov: update various SCSI drivers to new locking - David Howells: syscall latency improvement, try 2 - Francois Romieu: dscc4 driver update - Patrick Mochel: driver model fixes - Andrew Morton: clean up a few details in ext3 inode initialization - Pete Wyckoff: make x86 machine check print out right address.. - Hans Reiser: reiserfs update - Richard Gooch: devfs update - Greg KH: USB updates - Dave Jones: PNPBIOS - Nathan Scott: extended attributes - Corey Minyard: clean up zlib duplication (triplication..)
2002-02-05v2.5.2.5 -> v2.5.2.6Linus Torvalds
- Asit Mallick: mtrr update - Patrick Mochel: split up kernel/device.c into drivers/base - Mikael Pettersson/Al Viro: fix missing in-core inode initialization in ext2 introduced by Al's inode trimming - David Miller: sparc and network updates - Frank Davis: firewire video mmap page remapping fix - me: fix configure help scripts to fix breakage noticed by Dave Jones - Greg KH: USB updates - Kai Germaschewski: ISDN fixes, Config.help entries - Douglas Gilbert: SCSI doc update - Ingo Molnar: x86 taskswitch optimizations, scheduler updates - Mikael Pettersson: make APIC work on old external setups - Al Viro: more inode trimming
2002-02-05v2.5.2.2 -> v2.5.2.3Linus Torvalds
- Al Viro: VFS inode allocation moved down to filesystem, trim inodes - Greg KH: USB update, hotplug documentation - Kai Germaschewski: ISDN update - Ingo Molnar: scheduler tweaking ("J2") - Arnaldo: emu10k kdev_t updates - Ben Collins: firewire updates - Björn Wesen: cris arch update - Hal Duston: ps2esdi driver bio/kdev_t fixes - Jean Tourrilhes: move wireless drivers into drivers/net/wireless, update wireless API #1 - Richard Gooch: devfs race fix - OGAWA Hirofumi: FATFS update
2002-02-05v2.5.2.1 -> v2.5.2.1.1Linus Torvalds
- David Howells: abtract out "current->need_resched" as "need_resched()" - Frank Davis: ide-tape update for bio - various: header file fixups - Jens Axboe: fix up bio/ide/highmem issues - Kai Germaschewski: ISDN update - Tim Waugh: parport update - Patrik Mochel: initcall update - Greg KH: USB and Compaq PCI hotplug updates
2002-02-05v2.5.1.9 -> v2.5.1.10Linus Torvalds
- Kai Germaschewski: ISDN updates - Al Viro: start moving buffer cache indexing to "struct block_device *" - Greg KH: USB update - Russell King: fix up some ARM merge issues - Ingo Molnar: scalable scheduler
2002-02-04v2.5.1.7 -> v2.5.1.8Linus Torvalds
- Greg KH: USB updates - various: kdev_t updates - Al Viro: more bread()/filesystem cleanups
2002-02-04v2.5.1.5 -> v2.5.1.6Linus Torvalds
- Davide Libenzi: nicer timeslices for scheduler - Arnaldo: wd7000 scsi driver cleanups and bio update - Greg KH: USB update (including initial 2.0 support) - me: strict typechecking on "kdev_t"
2002-02-04v2.5.0.7 -> v2.5.0.8Linus Torvalds
- Greg KH: USB updates - Jens Axboe: more bio updates - Christoph Rohland: fix up proper shmat semantics
2002-02-04v2.5.0.1 -> v2.5.0.2Linus Torvalds
- Greg KH: USB update - Richard Gooch: refcounting for devfs - Jens Axboe: start of new block IO layer
2002-02-04v2.4.14.8 -> v2.4.14.9Linus Torvalds
- David Brownell: usbnet update - Greg KH: USB and PCI hotplug update - Ingo/me: fix SCHED_FIFO for UP/SMP for good (flw). - Add back direct_IO now that it works again.
2002-02-04v2.4.12.5 -> v2.4.12.6Linus Torvalds
- Stephen Rothwell: APM idle time handling fixes, docbook update, cleanup - Jeff Garzik: network driver updates - Greg KH: USB updates - Al Viro: UFS update, binfmt_misc rewrite. - Andreas Dilger: /dev/random fixes - David Miller: network/sparc updates
2002-02-04v2.4.10.6 -> v2.4.11Linus Torvalds
- Jeff Garzik: net driver updates - me: symlink attach fix - Greg KH: USB update - Rui Sousa: emu10k driver update
2002-02-04v2.4.10.1 -> v2.4.10.2Linus Torvalds
- me/Al Viro: fix bdget() oops with block device modules that don't clean up after they exit - Alan Cox: continued merging (drivers, license tags) - David Miller: sparc update, network fixes - Christoph Hellwig: work around broken drivers that add a gendisk more than once - Jakub Jelinek: handle more ELF loading special cases - Trond Myklebust: NFS client and lockd reclaimer cleanups/fixes - Greg KH: USB updates - Mikael Pettersson: sparate out local APIC / IO-APIC config options
2002-02-04v2.4.9.1 -> v2.4.9.2Linus Torvalds
- Al Viro: block device cleanups - Marcelo Tosatti: make bounce buffer allocations more robust (it's ok for them to do IO, just not cause recursive bounce IO. So allow them) - Anton Altaparmakov: NTFS update (1.1.17) - Paul Mackerras: PPC update (big re-org) - Petko Manolov: USB pegasus driver fixes - David Miller: networking and sparc updates - Trond Myklebust: Export atomic_dec_and_lock - OGAWA Hirofumi: find and fix umsdos "filldir" users that were broken by the 64-bit-cleanups. Fix msdos warnings. - Al Viro: superblock handling cleanups and race fixes - Johannes Erdfelt++: USB updates
2002-02-04v2.4.7 -> v2.4.7.1Linus Torvalds
- Anton Altaparmakov: NTFS error checking - Johannes Erdfelt: USB updates - OGAWA Hirofumi: FAT update - Alan Cox: driver + s390 update merge - Richard Henderson: fix alpha sigsuspend error return value - Marcelo Tosatti: per-zone VM shortage - Daniel Phillips: generic use-once optimization instead of drop-behind - Bjorn Wesen: Cris architecture update - Anton Altaparmakov: support for Windows Dynamic Disks - James Washer: LDT loading SMP bug fix
2002-02-04v2.4.6.6 -> v2.4.6.7Linus Torvalds
- Andreas Dilger: various ext2 cleanups - Richard Gooch: devfs update - Johannes Erdfelt: USB updates - Alan Cox: merges - David Miller: fix SMP pktsched bootup deadlock (CONFIG_NET_SCHED) - Roman Zippel: AFFS update - Anton Altaparmakov: NTFS update - me: fix races in vfork() (semaphores are not good completion handlers) - Jeff Garzik: net driver updates, sysvfs update
2002-02-04v2.4.6.1 -> v2.4.6.2Linus Torvalds
- merge with Alan (USB, zoran, sony motion-eye, rio, dmi-scan)
2002-02-04v2.4.5.2 -> v2.4.5.3Linus Torvalds
- remember to increment the version number - Chris Mason: reiserfs mark_journal_new and bh leak fix - Richard Gooch: devfs update - Alexander Viro: further FS cleanup (superblock list) - David Woodhouse: MTD update - Kai Germaschewski: ISDN update (stanford checker fixes etc) - Rich Baum: gcc-3.0 warning fixes - Jeff Garzik: network driver updates - Geert Uytterhoeven: m68k fbdev logo merge glitch fix - Andrea Arcangeli: fix signal return path - David Miller: Sparc updates - Johannes Erdfelt: USB update - Carsten Otte, Andries Brouwer: don't clear blk_size unconditionally on partition check - Martin Frey: alpha Sable irq fix - Paul Mackerras: PPC softirq update - Patrick Mochel: PCI power management infrastructure - Robert Siemer: miroSOUND driver update - Neil Brown: knfsd updates, including ability to export ReiserFS filesystems - Trond Myklebust: NFS readdir fixup, don't update atime on client - Andrew Morton: truncate_inode_pages speedup - Paul Menage: make inode quota count all inodes..
2002-02-04v2.4.5 -> v2.4.5.1Linus Torvalds
- Andreas Dilger: make ext2fs react more gracefully to inode disk errors - Andrea Arkangeli: fix up alpha compile issues - Ingo Molnar: io-apic MP table parsing update and softirq latency update - Johannes Erdfelt: USB updates - Richard Henderson: alpha rawhide irq handling fixes - Marcelo, Andrea, Rik: more VM issues - Al Viro: fix various ext2 directory handling checks by biting the bullet and using the page cache.
2002-02-04v2.4.4 -> v2.4.4.1Linus Torvalds
- Al Viro: clean up driver "invalidate_device()" mess - Andries Brouwer: make sd.c work with USB Dane-Elec CompactFlash Card Reader - me: fix nasty lazy kernel page table update problem - me: undo fork changes. Too many user-level bugs and unresolved issues. - Peter Anvin: iso9660 cleanups - Alan Cox: big merge - Johannes Erdfelt: UHCI pci DMA setup fix
2002-02-04v2.4.3.6 -> v2.4.3.7Linus Torvalds
- Johannes Erdfelt: USB updates - David Howells: more rw-sem stuff - David Miller: network callback cleanups and fixes - Jan Harkes: make Coda use the proper VFS layer interfaces, so that it can use "non-traditional-unix" filesystems without inode numbers for backing store.
2002-02-04v2.4.2.7 -> v2.4.2.8Linus Torvalds
- Paul Mackerras: PPC update for thread-safe page table handling - Ingo Molnar: x86 PAE update for thread-safe page table handling - Jeff Garzik: network driver updates, i810 rng driver, and "alloc_etherdev()" network driver insert race condition fix. - David Miller: UltraSparcIII update, network locking fixes - Al Viro: fix fs counts on mount failure
2002-02-04v2.4.2.6 -> v2.4.2.7Linus Torvalds
- more bugs found by the automatic stanford checker, yay! - Andrew Morton: fix SAK locking bugs by moving it into a process context - Johannes Erdfelt: USB updates - Jeff Garzik: merge Hermes driver by David Gibson - Jens Axboe: cdrom merges, ll_rw_blk proper accounting
2002-02-04v2.4.2.1 -> v2.4.2.2Linus Torvalds
- Jens Axboe: fix loop device deadlocks - Greg KH: USB updates - Alan Cox: continued merging - Tim Waugh: parport and documentation updates - Cort Dougan: PowerPC merge - Jeff Garzik: network driver updates - Justin Gibbs: new and much improved aic7xxx driver 6.1.5
2002-02-04v2.4.1.2 -> v2.4.1.3Linus Torvalds
- Jens: better ordering of requests when unable to merge - Neil Brown: make md work as a module again (we cannot autodetect in modules, not enough background information) - Neil Brown: raid5 SMP locking cleanups - Neil Brown: nfsd: handle Irix NFS clients named pipe behavior and dentry leak fix - maestro3 shutdown fix - fix dcache hash calculation that could cause bad hashes under certain circumstances (Dean Gaudet) - David Miller: networking and sparc updates - Jeff Garzik: include file cleanups - Andy Grover: ACPI update - Coda-fs error return fixes - rth: alpha Jensen update
2002-02-04Import changesetLinus Torvalds