07 May, 2007
1 commit
-
* 'for-linus' of master.kernel.org:/home/rmk/linux-2.6-arm: (82 commits)
[ARM] Add comments marking in-use ptrace numbers
[ARM] Move syscall saving out of the way of utrace
[ARM] 4360/1: S3C24XX: regs-udc.h remove unused macro
[ARM] 4358/1: S3C24XX: mach-qt2410.c: remove linux/mmc/protocol.h header
[ARM] mm 10: allow memory type to be specified with ioremap
[ARM] mm 9: add additional device memory types
[ARM] mm 8: define mem_types table L1 bit 4 to be for ARMv6
[ARM] iop: add missing parens in macro
[ARM] mm 7: remove duplicated __ioremap() prototypes
ARM: OMAP: fix OMAP1 mpuio suspend/resume oops
ARM: OMAP: MPUIO wake updates
ARM: OMAP: speed up gpio irq handling
ARM: OMAP: plat-omap changes for 2430 SDP
ARM: OMAP: gpio object shrinkage, cleanup
ARM: OMAP: /sys/kernel/debug/omap_gpio
ARM: OMAP: Implement workaround for GPIO wakeup bug in OMAP2420 silicon
ARM: OMAP: Enable 24xx GPIO autoidling
[ARM] 4318/2: DSM-G600 Board Support
[ARM] 4227/1: minor head.S fixups
[ARM] 4328/1: Move i.MX UART regs to driver
...
05 May, 2007
1 commit
-
* 'for-linus' of master.kernel.org:/pub/scm/linux/kernel/git/dtor/input: (65 commits)
Input: gpio_keys - add support for switches (EV_SW)
Input: cobalt_btns - convert to use polldev library
Input: add skeleton for simple polled devices
Input: update some documentation
Input: wistron - fix typo in keymap for Acer TM610
Input: add input_set_capability() helper
Input: i8042 - add Fujitsu touchscreen/touchpad PNP IDs
Input: i8042 - add Panasonic CF-29 to nomux list
Input: lifebook - split into 2 devices
Input: lifebook - add signature of Panasonic CF-29
Input: lifebook - activate 6-byte protocol on select models
Input: lifebook - work properly on Panasonic CF-18
Input: cobalt buttons - separate device and driver registration
Input: ati_remote - make button repeat sensitivity configurable
Input: pxa27x - do not use deprecated SA_INTERRUPT flag
Input: ucb1400 - make delays configurable
Input: misc devices - switch to using input_dev->dev.parent
Input: joysticks - switch to using input_dev->dev.parent
Input: touchscreens - switch to using input_dev->dev.parent
Input: mice - switch to using input_dev->dev.parent
...Fixed up conflicts with core device model removal of "struct subsystem" manually.
Signed-off-by: Linus Torvalds
03 May, 2007
1 commit
-
I noticed that many source files include while they do
not appear to need it. Here is an attempt to clean it all up.In order to find all possibly affected files, I searched for all
files including but without any other occurence of "pci"
or "PCI". I removed the include statement from all of these, then I
compiled an allmodconfig kernel on both i386 and x86_64 and fixed the
false positives manually.My tests covered 66% of the affected files, so there could be false
positives remaining. Untested files are:arch/alpha/kernel/err_common.c
arch/alpha/kernel/err_ev6.c
arch/alpha/kernel/err_ev7.c
arch/ia64/sn/kernel/huberror.c
arch/ia64/sn/kernel/xpnet.c
arch/m68knommu/kernel/dma.c
arch/mips/lib/iomap.c
arch/powerpc/platforms/pseries/ras.c
arch/ppc/8260_io/enet.c
arch/ppc/8260_io/fcc_enet.c
arch/ppc/8xx_io/enet.c
arch/ppc/syslib/ppc4xx_sgdma.c
arch/sh64/mach-cayman/iomap.c
arch/xtensa/kernel/xtensa_ksyms.c
arch/xtensa/platform-iss/setup.c
drivers/i2c/busses/i2c-at91.c
drivers/i2c/busses/i2c-mpc.c
drivers/media/video/saa711x.c
drivers/misc/hdpuftrs/hdpu_cpustate.c
drivers/misc/hdpuftrs/hdpu_nexus.c
drivers/net/au1000_eth.c
drivers/net/fec_8xx/fec_main.c
drivers/net/fec_8xx/fec_mii.c
drivers/net/fs_enet/fs_enet-main.c
drivers/net/fs_enet/mac-fcc.c
drivers/net/fs_enet/mac-fec.c
drivers/net/fs_enet/mac-scc.c
drivers/net/fs_enet/mii-bitbang.c
drivers/net/fs_enet/mii-fec.c
drivers/net/ibm_emac/ibm_emac_core.c
drivers/net/lasi_82596.c
drivers/parisc/hppb.c
drivers/sbus/sbus.c
drivers/video/g364fb.c
drivers/video/platinumfb.c
drivers/video/stifb.c
drivers/video/valkyriefb.c
include/asm-arm/arch-ixp4xx/dma.h
sound/oss/au1550_ac97.cI would welcome test reports for these files. I am fine with removing
the untested files from the patch if the general opinion is that these
changes aren't safe. The tested part would still be nice to have.Note that this patch depends on another header fixup patch I submitted
to LKML yesterday:
[PATCH] scatterlist.h needs types.h
http://lkml.org/lkml/2007/3/01/141Signed-off-by: Jean Delvare
Cc: Badari Pulavarty
Signed-off-by: Greg Kroah-Hartman
01 May, 2007
1 commit
-
Conflicts:
drivers/usb/input/Makefile
drivers/usb/input/gtco.c
30 Apr, 2007
1 commit
-
* 'for-linus' of master.kernel.org:/pub/scm/linux/kernel/git/jikos/hid: (21 commits)
USB HID: don't warn on idVendor == 0
USB HID: add 'quirks' module parameter
USB HID: add support for dynamically-created quirks
USB HID: clarify static quirk handling as squirks
USB HID: encapsulate quirk handling into hid-quirks.c
USB HID: EMS USBII device needs HID_QUIRK_MULTI_INPUT
HID: update copyright and authorship macro
HID: introduce proper zeroing of unused bits in output reports
USB HID: add support for WiseGroup MP-8800 Quad Joypad
USB HID: add FF support for Logitech Force 3D Pro Joystick
USB HID: numlock quirk for dell W7658 keyboard
USB HID: Logitech MX3000 keyboard needs report descriptor quirk
USB HID: extend quirk for Logitech S510 keyboard
USB HID: usbkbd/usbmouse - handle errors when registering devices
USB HID: add QUIRK_HIDDEV for Belkin Flip KVM
HID: enable dead keys on a belkin wireless keyboard
USB HID: Thustmaster firestorm dual power v1 support
USB HID: specify explicit size for hid_blacklist.quirks
USB HID: fix retry & reset logic
USB HID: consolidate vendor/product ids
...
28 Apr, 2007
35 commits
-
Simplify pegasus carrier detection; rely only on the periodic MII
polling. Reverts pieces of c43c49bd61fdb9bb085ddafcaadb17d06f95ec43.Signed-off-by: Dan Williams
Signed-off-by: Jeff Garzik -
Update gadget_chip.c, ether.c for newly added Freescale Highspeed USB
device driver.Signed-off-by: Li Yang
Signed-off-by: David Brownell
Signed-off-by: Greg Kroah-Hartman -
Freescale high-speed USB SOC can be found on some Freescale processors
among different architectures. It supports both host and device functions.
This driver adds its device support for Linux USB Gadget layer.
It is tested on MPC8349 and MPC8313, but should work on other platforms
with minor tweaks. The driver passed USBCV 1.3 compliance tests. Note
that this driver doesn't yet include OTG support.Signed-off-by: Li Yang
Signed-off-by: Jiang Bo
Signed-off-by: Bruce Schmid
Signed-off-by: David Brownell
Signed-off-by: Greg Kroah-Hartman -
Here's a patch which adds my device to the list.
This patch enables the broken suspend quirk for the PCI OHCI controller
present in the IT8152F/G RISC-to-PCI Companion Chip.Signed-off-by: Raphael Assenat
Signed-off-by: David Brownell
Signed-off-by: Greg Kroah-Hartman -
The driver uses usb_control_msg() for exchanging data with the device.
When the driver lived freeley _outside_ the kernel tree (pre 2.6.21) the
timeouts for these calls where set to 5*HZ for reading, 1HZ for writing.
(These timeouts seemed to work fine for all users of the driver, at
least nobody complained in the last 2 years.The current code (2.6.21-rc5) removed the 'HZ' from the timeouts and
left the driver with 5 jiffies for reading and 1 jiffy for writing. My
new machine is fast, but not that fast.The patch also removes a useless debug statement, which was left over
from testing a broken firmware versionFrom: Eberhard Fahle
Signed-off-by: Greg Kroah-Hartman -
Signed-off-by: Greg Kroah-Hartman
-
Per the Rui Santos and the hardware manufacturers, this actually inhibits
useful parts of the hardware. The correct way to use this hardware is with the
software at http://www.kanoistika.sk/bobovsky/archiv/umts/ and the manufacturers
are also planning on including Linux drivers/material in future revisions.CC: Rui Santos
CC:
CC:
CC:
CC:
Signed-off-by: Phil Dibowitz
Signed-off-by: Greg Kroah-Hartman -
Two new device IDs for CP2101 driver.
Signed-off-by: Craig Shelley
Signed-off-by: Greg Kroah-Hartman -
Hi Greg:
I have found that /drivers/usb/misc/ldusb.c works with the "PICDEM Full
Speed USB"
http://www.microchip.com/stellent/idcplg?IdcService=SS_GET_PAGE&nodeId=1406&dDocName=en021940Signed-off-by: Joey S Goncalves
Cc: Michael Hund
Signed-off-by: Greg Kroah-Hartman -
the memory barrier is needed only with smp.
Signed-off-by: Oliver Neukum
Signed-off-by: Greg Kroah-Hartman -
Remove the old crisv10 HCD ... it can't have built for some time,
doesn't even have a Kconfig entry, was the last driver not to have
been converted to the "hcd" framework, and considering the usbcore
changes since its last patch was merged, has just got to buggy as
all get-out.I'm told Axis has a new driver, and will be submitting it soon.
Signed-off-by: David Brownell
Cc: Mikael Starvik
Signed-off-by: Greg Kroah-Hartman -
Another workaround for the glitch in the network layer, whereby one call
ignores the (otherwise kernel-wide) convention that free() calls should
not oops when passed nulls. This code already handles that API glitch in
most other paths.From: Erik Hovland
Signed-off-by: David Brownell
Signed-off-by: Greg Kroah-Hartman -
This patch (as903) adds a "busnum" sysfs attribute for USB devices.
Signed-off-by: Alan Stern
Signed-off-by: Greg Kroah-Hartman -
The device has commands to start/stop the ADSL function, so this adds a
sysfs attribute to allow it to be started/stopped/restarted. It also stops
polling the device for status when the ADSL function is disabled.There are no problems with sending multiple start or stop commands, even
with a fast loop of them the device still works. There is no need to
protect the restart process from further user actions while it's waiting
for 1.5s.Signed-off-by: Simon Arlott
Cc: Duncan Sands
Signed-off-by: Andrew Morton
Signed-off-by: Greg Kroah-Hartman -
Detect usb device shutdown and ignore failed urbs. This happens when the
driver is unloaded or the device is unplugged.I'm not sure what other urb statuses should be ignored, and the warning
message doesn't need to be shown when the module is unloaded or the device
is removed.Signed-off-by: Simon Arlott
Cc: Duncan Sands
Signed-off-by: Andrew Morton
Signed-off-by: Greg Kroah-Hartman -
Remove duplicate define of OHCI_QUIRK_ZFMICRO from ftdi-elan.c, its already
defined in drivers/ush/host/ohci.cSigned-off-by: "S.Caglar Onur"
Cc:
Signed-off-by: Andrew Morton
Signed-off-by: Greg Kroah-Hartman -
Add the detection for the BandRich BandLuxe C100/C100S/C120 HSDPA Data
Card. With the vendor and product IDs are set properly, the data card can
be detected and works fine.Signed-off-by: Leon Leong
Signed-off-by: Andrew Morton
Signed-off-by: Greg Kroah-Hartman -
skb_push function may return a pointer which is not aligned as required
by struct rndis_packet_msg_type. Using attribute trick to fix this bug.Signed-off-by: Roy Huang
Signed-off-by: Jie Zhang
Signed-off-by: Bryan Wu
Cc: David Brownell
Signed-off-by: Andrew Morton
Signed-off-by: Greg Kroah-Hartman -
Add checking of driver registration status and release allocated resources
if it failed.Signed-off-by: Cyrill Gorcunov
Cc: Pete Zaitcev
Cc: "Luiz Fernando N. Capitulino"
Signed-off-by: Andrew Morton
Signed-off-by: Greg Kroah-Hartman -
This should help with any potential NULL pointer usages as reported by a
few users.Signed-off-by: Greg Kroah-Hartman
-
Use the new ohci-pci quirk infrastructure to address the problem it was
created to address: a quirk specific to the Portege 4000, in buzilla ashttp://bugzilla.kernel.org/show_bug.cgi?id=6723
Also fix a misuse of "__devinit" for the quirk functions. It must not
be used without first ensuring that the references from the quirk tables
are gone, and that the function using those quirk tables is also gone.Signed-off-by: David Brownell
Signed-off-by: Greg Kroah-Hartman -
Update "usbnet" so that ethtool reports the name of the minidriver in use
(e.g. asix, cdc_ether, dm9601, rndis_host) instead of "usbnet". This is a
better match to how other network drivers work, resolving a minor open issue.Signed-off-by: David Brownell
Signed-off-by: Greg Kroah-Hartman -
Cleanups to the rndis_host code, and a tweak that helps talking to
PXA hardware. Mostly from Ole André Vadla Ravnås- Prevent SET_INTERFACE requests, they give PXA hardware bad indigestion
- For paranoia, null a pointer after freeing its data
- Wrap up ActiveSync oddities for RNDIS_QUERY in one routine
- Use that wrapper when getting the Ethernet address
- Whitespace fixesPlus add a comment noting the open issues about some RNDIS clients still
needing TBD kinds of browbeating to accept non-jumbogram packets.Signed-off-by: David Brownell
Signed-off-by: Greg Kroah-Hartman -
This patch (as897) changes the autosuspend timer code to use the
standard types and macros in dealing with jiffies values.Signed-off-by: Alan Stern
Signed-off-by: Greg Kroah-Hartman -
Add the "bus zero" feature to the usbmon. If a user process specifies bus
with number zero, it receives events from all buses. This is useful when
we wish to see initial enumeration when a bus is created, typically after
a modprobe. Until now, an application had to loop until a new bus could
be open, then start capturing on it. This procedure was cumbersome and
could lose initial events. Also, often it's too bothersome to find exactly
to which bus a specific device is attached.Paolo Albeni provided the original concept implementation. I added the
handling of "bus->monitored" flag and generally fixed it up.Signed-off-by: Pete Zaitcev
Signed-off-by: Greg Kroah-Hartman -
Some host controller drivers may need a PIO fallback when a DMA channel
is temporarily unavailable. This patch provides an address that such
drivers can use for PIO in those cases, and nulls that field out when
no such address is available (highmem) which should help usbmon.Signed-off-by: Tony Lindgren
Signed-off-by: David Brownell
Signed-off-by: Greg Kroah-Hartman -
this driver does
- ignore errors during open
- submit a running urb
- use down_interruptible not handling signals
- GFP_KERNEL with a spinlock heldSigned-off-by: Oliver Neukum
Signed-off-by: Greg Kroah-Hartman -
This patch (as877) adds a "last_busy" field to struct usb_device, for
use by the autosuspend framework. Now if an autosuspend call comes at
a time when the device isn't busy but hasn't yet been idle for long
enough, the timer can be set to exactly the desired value. And we
will be ready to handle things like HID drivers, which can't maintain
a useful usage count and must rely on the time-of-last-use to decide
when to autosuspend.The patch also makes some related minor improvements:
Move the calls to the autosuspend condition-checking routine
into usb_suspend_both(), which is the only place where it
really matters.If the autosuspend timer is already running, don't stop
and restart it.Replace immediate returns with gotos so that the optional
debugging ouput won't be bypassed.If autoresume is disabled but the device is already awake,
don't return an error for an autoresume call.Don't try to autoresume a device if it isn't suspended.
(Yes, this undercuts the previous change -- so sue me.)Don't duplicate existing code in the autosuspend work routine.
Fix the kerneldoc in usb_autopm_put_interface(): If an
autoresume call fails, the usage counter is left unchanged.Signed-off-by: Alan Stern
Signed-off-by: Greg Kroah-Hartman -
Signed-off-by: Richard Knutsson
Acked-by: Stuart MacDonald
Signed-off-by: Andrew Morton
Signed-off-by: Greg Kroah-Hartman -
omninet kills all URBs in close. However write() returns as soon as
the URB has been submitted. Killing the last URB means a race that
can lose that date written in the last call to write().
As a fix this is moved to shutdown().Signed-off-by: Oliver Neukum
Signed-off-by: Greg Kroah-Hartman -
we report errors to the caller. THis patch adds error handling to the driver.
Signed-off-by: Oliver Neukum
Signed-off-by: Greg Kroah-Hartman -
- report errors
- cleanup in error case
- use of endianness macrosSigned-off-by: Oliver Neukum
Signed-off-by: Greg Kroah-Hartman -
this driver ignores errors while starting the transmit queue. It will
never be reported stopped as the completion handler won't run
and it will never be started again as it will be considered started.
This patch adds error handling.Signed-off-by: Oliver Neukum
Signed-off-by: Greg Kroah-Hartman -
this driver sets intfdata to NULL while it still can be read and happily followed.
Signed-off-by: Oliver Neukum
Signed-off-by: Greg Kroah-Hartman -
this driver has a memory leak in an error case.
Signed-off-by: Oliver Neukum
Signed-off-by: Greg Kroah-Hartman