1. 25 Mar, 2004 18 commits
    • David Brownell's avatar
      [PATCH] USB: fix osdl bugid 481 (USB boot messages) · ff256570
      David Brownell authored
      Some boot-time messages were obnoxiously long because
      they used "old-style" diagnostics.
      
      
      OSDL bugid 481
      
      Get rid of most remaining "old style" diagnostics from usbcore.
      Most messages use driver model style diagnostics.  Messages that
      don't have an associated device use the standard kernel printk
      wrappers and label themselves as from "usbcore".  (Except that
      there's no such wrapper for KERN_ERR.)
      
      This doesn't touch usbfs, "config.c" (Alan's patches do this), or
      usb_reset_device() (needs a more substantial overhaul).  Or any
      other USB drivers (notably HID).
      ff256570
    • Alan Stern's avatar
      [PATCH] USB: Code improvements for core/config.c · c3d3c472
      Alan Stern authored
      This patch makes some improvements to the code in config.c.
      
      	Create a subroutine to handle the repeated task of skipping
      	forward to the next descriptor of a certain type.
      
      	Remove some fairly useless debugging messages (they could
      	never even have been enabled in the pre-as221 code).
      
      	Verify that endpoint descriptors don't have an address
      	equal to 0 (as well as not being above 15).
      
      	Rename some local variables so they are a little more
      	consistent and meaningful.
      
      Despite all the changes, the functionality should remain the same.
      Please apply.
      c3d3c472
    • Alan Stern's avatar
      [PATCH] USB: Improve core/config.c error messages · e51bf644
      Alan Stern authored
      This patch improves error reporting in the configuration parsing routines.
      It also adds a few extra minor tweaks.
      
      	#include linux/config.h and make the usual DEBUG settings
      	available.
      
      	Use the driver-model dev_xxx() macros for log output.
      
      	Be much more explicit about the nature of errors, including
      	configuration, interface, and altsetting numbers where
      	appropriate.
      
      	Log fatal problems as errors, non-fatal ones as warnings.
      
      	Remove a #define'd constant that is already set in linux/usb.h.
      
      	Fix some variables declared as pointer to char that really
      	should be pointers to unsigned char.
      
      	Replace a whole bunch of "out-of-memory" error messages with
      	a single message.
      
      	Wrap source lines that are longer than 80 columns (but not
      	log output lines!).
      
      	Clean up the logic for detecting errors when retrieving a
      	configuration descriptor.
      
      Apart from the log messages themselves, this introduces no functional
      changes.
      e51bf644
    • David Brownell's avatar
      [PATCH] USB: USB gadgets can autoconfigure endpoints · b71db443
      David Brownell authored
      This adds some code that gadget drivers can call from
      driver initialization, to simplify the "configure against
      this hardware" step.
      
      
      Add endpoint autoconfiguration for gadget drivers.
      
      Endpoint selection is currently being done with conditional compilation.
      That doesn't look nice, but more importantly it doesn't work well with
      the model that some distributions won't be custom-matched to hardware.
      Say, a PDA distro running on iPaq (pxa2xx_udc) or Axim (mq11xx_udc).
      
      This code just makes it easier for drivers to match to hardware at
      run-time.  It's a convenience function for something they could have
      been doing already, but weren't.
      b71db443
    • Greg Kroah-Hartman's avatar
      f5cd1024
    • Erik Rigtorp's avatar
      [PATCH] USB: new cypress thermometer driver · 61e91dd2
      Erik Rigtorp authored
      61e91dd2
    • Petko Manolov's avatar
      [PATCH] USB: rtl8150 update · 1affd9da
      Petko Manolov authored
      adds two more vid/did and better packet error statistics.  Link
      detection also has been added.
      1affd9da
    • David Brownell's avatar
      [PATCH] USB: gadget zero does endpoint autoconfig · 71640f89
      David Brownell authored
      Here's where all those preceding autoconfig patches start
      to fit together:  one gadget driver gets rid of almost all
      the controller-specific #ifdeffery.
      
      Two of the other gadget drivers can do the same thing,
      and just as easily:  file storage, and serial.  (I'll
      hope their maintainers do those changes though.)
      
      The "ether.c" gadget driver is a lot more complicated to
      do this way since it has to cope with some differences
      by switching to alternate protocols (CDC Ethernet vs
      a subset) and soon be able to handle RNDIS.  So that'll
      be a while yet.
      
      
      Gadget Zero learns to autoconfigure.
      
          - Gets rid of remaining controller-specific #ifdeffery.  Now
            hardware choices can be made at run time too (not just
            compile time).
      
          - Simplifies its use of the "DEBUG" CPP symbol.
      
          - Force device to report itself consistently as self-powered.
      71640f89
    • Michael Still's avatar
      [PATCH] USB: kernel-doc comment tweak · 4992d46a
      Michael Still authored
      Correct kernel-doc comment with incorrect parameters documented
      4992d46a
    • Gude Analog- und Digitalsysteme GmbH's avatar
      [PATCH] USB: FTDI 232BM "USB-RS232 OptoBridge" · 08e60f3a
      Gude Analog- und Digitalsysteme GmbH authored
      we (the german company Gude Analog und Digitalsysteme GmbH,
      http://www.gude.info) have manufactored a USB<->RS232 adapter with
      galvanic isolated RS232 Interface. Data is transmitted by optical
      signals only.
      
      The Product's name is "USB-RS232 OptoBridge".
      We used the FTDI 233BM Chip with PID 0xE889 (VID 0x0403).
      The Product will be released this Cebit 2004.
      
      Could you please extend the ftdi_sio code with this PID.
      You find a .diff file attached which I have tested with kernel 2.6.4
      
      At http://ftdi-usb-sio.sourceforge.net/ I saw that you provide a patch
      for 2.4.x kernels. Will our PID also find it's way in this back-ported
      driver patch?
      
      In the future (in the next 10 month), our company will have some more
      Products using the FTDI Chip. The PID's FTDI already allocated for us
      are: E888 to E88F and E808 to E80F
      
      
      Thank you very much,
         Martin Bachem
      08e60f3a
    • Jeff Garzik's avatar
      [PATCH] forgotten pci_dma_mapping_error on x86-64 · 7d9432d8
      Jeff Garzik authored
      x86-64 needs this (obvious) patch, due to the rename.
      7d9432d8
    • Andrew Morton's avatar
      [PATCH] ia64: don't prompt for the floppy driver · 3b2c9f64
      Andrew Morton authored
      From: David Mosberger <davidm@napali.hpl.hp.com>
      
      From: Bjorn Helgaas <bjorn.helgaas@hp.com>
      
      We can't build floppy.o on ia64, so why bother asking?
      3b2c9f64
    • Andrew Morton's avatar
      [PATCH] don't show cdroms in /proc/partitions · a5a2b078
      Andrew Morton authored
      From: Jens Axboe <axboe@suse.de>
      
      Currently SCSI cdroms show up in /proc/partitions in 2.6, they didn't in
      2.4.  And ATAPI cdroms don't show up either.  Mark both as genhd removable
      for now, when they are partionable this can be updated.
      a5a2b078
    • Andrew Morton's avatar
      [PATCH] Broken CDROMs default to writeable · bd2a8f79
      Andrew Morton authored
      From: Jens Axboe <axboe@suse.de>
      
      If the drive doesn't support GPCMD_READ_DISC_INFO at all, permit writeable
      opens.
      bd2a8f79
    • Andrew Morton's avatar
      [PATCH] ext2&3: use the right i_flags in find_group_orlov() · e6626b78
      Andrew Morton authored
      Spotted by Jorn Engel <joern@wohnheim.fh-wedel.de>: both the generic and
      fs-specific parts of the inode have an i_flags.  find_group_orlov() is using
      the wrong one.
      e6626b78
    • Andrew Morton's avatar
      [PATCH] null-terminate sb->s_id · 1267b235
      Andrew Morton authored
      strncpy() may not null-terminate the destination.
      1267b235
    • Andrew Morton's avatar
      [PATCH] ppc64: SMT snooze fix in idle loop · b0887c1c
      Andrew Morton authored
      From: Olof Johansson <olof@austin.ibm.com>
      
      A smt_snooze_delay of 0 is supposed to mean "disabled", but current idle
      loop logic doesn't take that into account and snoozes immediately instead.
      
      Below patch fixes the logic in the idle loop, as well as cleans up the test
      a bit.  An idling processor might no longer see a snooze change
      immediately, but that's not needed anyway.
      b0887c1c
    • Andrew Morton's avatar
      [PATCH] ppc64: getdents patch for 32 -> 64 converter · 0e062700
      Andrew Morton authored
      From: Anton Blanchard <anton@samba.org>
      
      From: Marcus Meissner <meissner@suse.de>
      
      With 2.6.4 we now have the glorious hidden d_type passing in getdents.
      
      glibc CVS expects this to be passed if we have a kernel version after
      2.6.4, so we have to also handle it in the 32bit syscall converter.
      0e062700
  2. 24 Mar, 2004 12 commits
  3. 23 Mar, 2004 10 commits