1. 30 4月, 2007 24 次提交
  2. 28 4月, 2007 16 次提交
    • L
      Merge branch 'upstream-linus' of master.kernel.org:/pub/scm/linux/kernel/git/jgarzik/netdev-2.6 · b9099ff6
      Linus Torvalds 提交于
      * 'upstream-linus' of master.kernel.org:/pub/scm/linux/kernel/git/jgarzik/netdev-2.6:
        sis900: Allocate rx replacement buffer before rx operation
        usb-net/pegasus: simplify carrier detection
      b9099ff6
    • N
      sis900: Allocate rx replacement buffer before rx operation · dc5a1449
      Neil Horman 提交于
      Just found a hole in my last patch.  It was reported to me that shortly after we
      integrated this patch.  The report was of an oops that took place inside of
      netif_rx when using the sis900 driver.  Looking at my origional patch I noted
      that there was a spot between the new skb_alloc and the refill_rx_ring label
      where skb got reassigned to the pointer currently held in the rx_ring for the
      purposes of receiveing the frame.  The result of this is however that the buffer
      that gets passed to netif_rx (if it is called), then gets placed right back into
      the rx_ring.  So if you receive frames fast enough the skb being processed by
      the network stack can get corrupted.  The reporter is testing out the fix I've
      written for this below (I'm not near my hardware at the moment to test myself),
      but I wanted to post it for review ASAP.  I'll post test results when I hear
      them, but I think this is a pretty straightforward fix.  It just uses a separate
      pointer to do the rx operation, so that we don't improperly reassign the pointer
      that we use to refill the rx ring.
      Signed-off-by: NNeil Horman <nhorman@tuxdriver.com>
      Signed-off-by: NJeff Garzik <jeff@garzik.org>
      dc5a1449
    • D
      usb-net/pegasus: simplify carrier detection · 1764f150
      Dan Williams 提交于
      Simplify pegasus carrier detection; rely only on the periodic MII
      polling.  Reverts pieces of c43c49bd.
      Signed-off-by: NDan Williams <dcbw@redhat.com>
      Signed-off-by: NJeff Garzik <jeff@garzik.org>
      1764f150
    • L
      Merge master.kernel.org:/pub/scm/linux/kernel/git/davem/sparc-2.6 · 94015530
      Linus Torvalds 提交于
      * master.kernel.org:/pub/scm/linux/kernel/git/davem/sparc-2.6:
        [SCSI] esp_scsi.c: Fix compilation.
      94015530
    • L
      Merge master.kernel.org:/pub/scm/linux/kernel/git/davem/net-2.6 · 42fae7fb
      Linus Torvalds 提交于
      * master.kernel.org:/pub/scm/linux/kernel/git/davem/net-2.6:
        [NET]: Fix networking compilation errors
        [AF_RXRPC/AFS]: Arch-specific fixes.
        [AFS]: Fix VLocation record update wakeup
        [NET]: Revert sk_buff walker cleanups.
      42fae7fb
    • L
      Merge git://git.infradead.org/mtd-2.6 · f0054636
      Linus Torvalds 提交于
      * git://git.infradead.org/mtd-2.6: (46 commits)
        [MTD] [MAPS] drivers/mtd/maps/ck804xrom.c: convert pci_module_init()
        [MTD] [NAND] CM-x270 MTD driver
        [MTD] [NAND] Wrong calculation of page number in nand_block_bad()
        [MTD] [MAPS] fix plat-ram printk format
        [JFFS2] Fix compr_rubin.c build after include file elimination.
        [JFFS2] Handle inodes with only a single metadata node with non-zero isize
        [JFFS2] Tidy up licensing/copyright boilerplate.
        [MTD] [OneNAND] Exit loop only when column start with 0
        [MTD] [OneNAND] Fix access the past of the real oobfree array
        [MTD] [OneNAND] Update Samsung OneNAND official URL
        [JFFS2] Better fix for all-zero node headers
        [JFFS2] Improve read_inode memory usage, v2.
        [JFFS2] Improve failure mode if inode checking leaves unchecked space.
        [JFFS2] Fix cross-endian build.
        [MTD] Finish conversion mtd_blkdevs to use the kthread API
        [JFFS2] Obsolete dirent nodes immediately on unlink, where possible.
        Use menuconfig objects: MTD
        [MTD] mtd_blkdevs: Convert to use the kthread API
        [MTD] Fix fwh_lock locking
        [JFFS2] Speed up mount for directly-mapped NOR flash
        ...
      f0054636
    • A
      [MTD] [MAPS] drivers/mtd/maps/ck804xrom.c: convert pci_module_init() · 28b57cdd
      Adrian Bunk 提交于
      This patch converts the pci_module_init() usage to pci_register_driver().
      
      It's currently #if 0'ed, but still not a bad idea to change it.
      Signed-off-by: NAdrian Bunk <bunk@stusta.de>
      Signed-off-by: NDavid Woodhouse <dwmw2@infradead.org>
      28b57cdd
    • D
      [NET]: Fix networking compilation errors · b8b8fd2d
      David Howells 提交于
      Fix miscellaneous networking compilation errors.
      
       (*) Export ktime_add_ns() for modules.
      
       (*) wext_proc_init() should have an ANSI declaration.
      Signed-off-by: NDavid Howells <dhowells@redhat.com>
      Signed-off-by: NDavid S. Miller <davem@davemloft.net>
      b8b8fd2d
    • D
      [AF_RXRPC/AFS]: Arch-specific fixes. · b1bdb691
      David Howells 提交于
      Fixes for various arch compilation problems:
      
       (*) Missing module exports.
      
       (*) Variable name collision when rxkad and af_rxrpc both built in
           (rxrpc_debug).
      
       (*) Large constant representation problem (AFS_UUID_TO_UNIX_TIME).
      
       (*) Configuration dependencies.
      
       (*) printk() format warnings.
      Signed-off-by: NDavid Howells <dhowells@redhat.com>
      Signed-off-by: NDavid S. Miller <davem@davemloft.net>
      b1bdb691
    • D
      [AFS]: Fix VLocation record update wakeup · 47051a21
      David Howells 提交于
      Fix the wakeup transitions after a VLocation record update completes
      one way or another.  This builds on Dave Miller's partial fix.
      
      Also move wakeups outside the spinlocked sections.
      Signed-off-by: NDavid Howells <dhowells@redhat.com>
      Signed-off-by: NDavid S. Miller <davem@davemloft.net>
      47051a21
    • D
      [NET]: Revert sk_buff walker cleanups. · 1a028e50
      David S. Miller 提交于
      This reverts eefa3906
      
      The simplification made in that change works with the assumption that
      the 'offset' parameter to these functions is always positive or zero,
      which is not true.  It can be and often is negative in order to access
      SKB header values in front of skb->data.
      Signed-off-by: NDavid S. Miller <davem@davemloft.net>
      1a028e50
    • A
      [SCSI] esp_scsi.c: Fix compilation. · e1f2a094
      Alexey Dobriyan 提交于
      irqreturn.h for irqreturn_t and dma_addr_t being u128 warnings ;-)
      Signed-off-by: NAlexey Dobriyan <adobriyan@gmail.com>
      Signed-off-by: NDavid S. Miller <davem@davemloft.net>
      e1f2a094
    • M
      [MTD] [NAND] CM-x270 MTD driver · 54d33c4c
      Mike Rapoport 提交于
      This patch provides MTD support for NAND flash devices on CM-x270 modules.
      Signed-off-by: NMike Rapoport <mike@compulab.co.il>
      Signed-off-by: NDavid Woodhouse <dwmw2@infradead.org>
      54d33c4c
    • L
      Merge master.kernel.org:/pub/scm/linux/kernel/git/gregkh/usb-2.6 · 50f732ee
      Linus Torvalds 提交于
      * master.kernel.org:/pub/scm/linux/kernel/git/gregkh/usb-2.6: (78 commits)
        USB: update MAINAINERS and CREDITS for Freescale USB driver
        USB: update gadget files for fsl_usb2_udc driver
        USB: add Freescale high-speed USB SOC device controller driver
        USB: quirk for broken suspend of IT8152F/G
        USB: iowarrior.c: timeouts too small in usb_control_msg calls
        USB: dell device id for option.c
        USB: Remove Huawei unusual_devs entry
        USB: CP2101 New Device IDs
        USB: add picdem device to ldusb
        usbfs micro optimitation
        USB: remove ancient/broken CRIS hcd
        usb ethernet gadget, workaround network stack API glitch
        USB: add "busnum" attribute for USB devices
        USB: cxacru: ADSL state management
        usbatm: Detect usb device shutdown and ignore failed urbs
        USB: Remove duplicate define of OHCI_QUIRK_ZFMICRO
        USB: BandRich BandLuxe HSDPA Data Card Driver
        USB gadget rndis: fix struct rndis_packet_msg_type unaligned bug
        USB Elan FTDI: check for driver registration status
        USB: sierra: add more checks on shutdown
        ...
      50f732ee
    • L
      Merge branch 'master' of ssh://master.kernel.org/pub/scm/linux/kernel/git/mchehab/v4l-dvb · aa5bc2b5
      Linus Torvalds 提交于
      * 'master' of ssh://master.kernel.org/pub/scm/linux/kernel/git/mchehab/v4l-dvb: (184 commits)
        V4L/DVB (5563): Radio-maestro.c Replace radio_ioctl to use video_ioctl2
        V4L/DVB (5562): Radio-gemtek-pci.c Replace gemtek_pci_ioctl to use video_ioctl2
        V4L/DVB (5560): Ivtv: fix incorrect bitwise-and for command flags.
        V4L/DVB (5558): Opera: use 7-bit i2c addresses
        V4L/DVB (5557): Cafe_ccic: check return value of pci_enable_device
        V4L/DVB (5556): Radio-gemtek.c Replace gemtek_ioctl to use video_ioctl2
        V4L/DVB (5555): Radio-aimslab.c Replace rt_ioctl to use video_ioctl2
        V4L/DVB (5554): Fix: vidioc_g_parm were not zeroing the memory
        V4L/DVB (5553): Replace typhoon_do_ioctl to use video_ioctl2
        V4L/DVB (5552): Plan-b: Switch to refcounting PCI API
        V4L/DVB (5551): Plan-b: header change
        V4L/DVB (5550): Radio-sf16fmi.c Replace fmi_do_ioctl to use video_ioctl2
        V4L/DVB (5549): Radio-sf16fmr2.c Replace fmr2_do_ioctl to use video_ioctl2
        V4L/DVB (5548): Fix v4l2 buffer to the length
        V4L/DVB (5547): Add ENUM_FRAMESIZES and ENUM_FRAMEINTERVALS ioctls
        V4L/DVB (5546): Radio-terratec.c Replace tt_do_ioctl to use video_ioctl2
        V4L/DVB (5545): Saa7146: Release capture buffers on device close
        V4L/DVB (5544): Budget-av: Make inversion setting configurable, add KNC ONE V1.0 card
        V4L/DVB (5543): Tda10023: Add support for frontend TDA10023
        V4L/DVB (5542): Budget-av: Remove polarity switching of the clock for DVB-C
        ...
      aa5bc2b5
    • L
      USB: update MAINAINERS and CREDITS for Freescale USB driver · a7205b30
      Li Yang 提交于
      Add MAINAINERS and CREDITS entry for Freescale Highspeed USB device
      driver.
      Signed-off-by: NLi Yang <leoli@freescale.com>
      Signed-off-by: NDavid Brownell <dbrownell@users.sourceforge.net>
      Signed-off-by: NGreg Kroah-Hartman <gregkh@suse.de>
      
      a7205b30