23 Jul, 2008
40 commits
-
This adds in a quirk for the additional un-mapped buttons on the
gyration MCE remote.Defines are now alphabetical.
Signed-off-by: Daniel Walker
Signed-off-by: Jiri Kosina -
This patch is based on one provided by Jiri Kosina to handle the sleep
button. I just added some cleanup and integrated it into my series.Signed-off-by: Daniel Walker
Signed-off-by: Jiri Kosina -
Logitech DiNovo desktop needs the same quirk as other DiNovo
devices.Reported-by: Farid Benamrouche
Signed-off-by: Jiri Kosina -
When usbmouse/kbd is set to build, USB_HID is never defined due to
the USB_HID!=y Kconfig rule. Test CONFIG_USB_HID_MODULE in both
drivers instead.Signed-off-by: Jiri Slaby
Signed-off-by: Jiri Kosina -
hidraw_release() forgot to free the linked list structure, causing memory
leak.Reported-by: Juan Marcos Diez Esteban
Signed-off-by: Jiri Kosina -
This adds a hid usage that is reported by the N-Trig digitizer in the Dell
Latitude XT screen.Signed-off-by: Rafi Rubin
Signed-off-by: Vojtech Pavlik
Signed-off-by: Jiri Kosina -
Some Logitech mice have a tilt wheel which register as HWHEEL buttons.
The events are positive for a click to the right and negative for a
click to the left. Applications expect the opposite, though.I suspect this affects a lot more Logitech mice, but these are the only
two I have. I tested this using evtest and a GTK application. A similar
Microsoft Intellimouse I have works correctly.Signed-off-by: Dan Nicholson
Signed-off-by: Jiri Kosina -
mark it as const because it is read only
Signed-off-by: Ming Lei
Signed-off-by: Jiri Kosina -
Added device ids to hid-quriks for detection of keyboards on 4th
generation Macbook Pro and Macbook AirThe naming scheme is consistent with past Apple keyboards in hid-quirks;
as defined by Apple (including device ids) in:
/System/Library/Extensions/AppleUSBTopCase.kext/Contents/PlugIns/AppleUSBTCKeyboard.kext/Co
ntents/Info.plist
Patch was originally posted and tested at:
https://bugs.launchpad.net/mactel-support/+bug/207127Signed-off-by: Alexandre Karpenko
Signed-off-by: Andrew Morton
Signed-off-by: Jiri Kosina -
* git://git.kernel.org/pub/scm/linux/kernel/git/davem/net-2.6: (82 commits)
ipw2200: Call netif_*_queue() interfaces properly.
netxen: Needs to include linux/vmalloc.h
[netdrvr] atl1d: fix !CONFIG_PM build
r6040: rework init_one error handling
r6040: bump release number to 0.18
r6040: handle RX fifo full and no descriptor interrupts
r6040: change the default waiting time
r6040: use definitions for magic values in descriptor status
r6040: completely rework the RX path
r6040: call napi_disable when puting down the interface and set lp->dev accordingly.
mv643xx_eth: fix NETPOLL build
r6040: rework the RX buffers allocation routine
r6040: fix scheduling while atomic in r6040_tx_timeout
r6040: fix null pointer access and tx timeouts
r6040: prefix all functions with r6040
rndis_host: support WM6 devices as modems
at91_ether: use netstats in net_device structure
sfc: Create one RX queue and interrupt per CPU package by default
sfc: Use a separate workqueue for resets
sfc: I2C adapter initialisation fixes
... -
Stephen Rothwell points out that this file got deleted (on purpose) by
commit 640c1bce86d1e11ee6a1263fdf6170d3210b1684 ("USB: delete airprime
driver"), but then almost immediately incorrectly resurrected by commit
95da310e66ee8090119596c70ca8432e57f9a97f ("usb_serial: API all change").Delete it again. If it comes back, we'll need to drive a stake through
its heart.Reported-by: Stephen Rothwell
Acked-by: Greg KH
Cc: Alan Cox
Cc: Andrew Morton
Signed-off-by: Linus Torvalds -
* git://git.kernel.org/pub/scm/linux/kernel/git/davem/sparc-2.6:
sparc32: pass -m32 when building vmlinux.lds
sparc: Fixes the DRM layer build on sparc.
ide: merge with
ide: : use __raw_{read,write}w()
ide: : use __raw_{read,write}w()
ide: : use %r0 for outw_be()
sparc64: Do not define BIO_VMERGE_BOUNDARY. -
netif_carrier_{on,off}() handles starting and stopping packet
flow into the driver. So there is no reason to invoke netif_stop_queue()
and netif_wake_queue() in response to link status events.Signed-off-by: David S. Miller
-
Signed-off-by: David S. Miller
-
Signed-off-by: Jeff Garzik
-
This patch reworks the error handling in r6040_init_one
in order not to leak resources and correcly unmap and release
PCI regions of the MAC. Also prefix printk's with the driver name
for clarity.Signed-off-by: Florian Fainelli
Signed-off-by: Jeff Garzik -
This patch bumps the release of the r6040 driver. There has been
quite some versions of it out there, but this one is the one
people should report bugs against.Signed-off-by: Florian Fainelli
Signed-off-by: Jeff Garzik -
This patch allows the MAC to handle the RX FIFO full
and no descriptor available interrupts. While we are at it
replace the TX interrupt with its corresponding definition.Signed-off-by: Florian Fainelli
Signed-off-by: Jeff Garzik -
This patch changes the default waiting time of a packet, which
along with our previous r6040_rx path, was causing huge delays
with another host (160 to 230 ms).Signed-off-by: Florian Fainelli
Signed-off-by: Jeff Garzik -
Define all the descriptor status the MAC can set.
Signed-off-by: Florian Fainelli
Signed-off-by: Jeff Garzik -
This patch completely reworks the RX path in order to be
more accurate about what is going on with the MAC.
We no longer read the error from the MLSR register instead read
the descriptor status register which reflects, the error per descriptor.
We now allocate skbs on the fly in r6040_rx, and we handle allocation
failure instead of simply dropping the packet. Remove the
rx_free_desc counter of r6040_private structure since we
allocate skbs in the RX path.r6040_rx_buf_alloc is now removed and becomes unuseless.
Signed-Off-By: Joerg Albert
Signed-off-by: Florian Fainelli
Signed-off-by: Jeff Garzik -
We did not call napi_disabled when putting down the interface
which should be done. Finally initialize lp->dev when everything
is set.Signed-off-by: Florian Fainelli
Signed-off-by: Jeff Garzik -
Joseph Fannin and Takashi Iwai
noticed that commit 073a345c04b01da0cc5b79ac7be0c7c8b1691ef5
("mv643xx_eth: clarify irq masking and unmasking") broke the
mv643xx_eth build when NETPOLL is enabled, due to it not renaming
one instance of INT_CAUSE_EXT in mv643xx_eth_netpoll(). This patch
takes care of that instance as well.Signed-off-by: Lennert Buytenhek
Cc: Dale Farnsworth
Cc: Joseph Fannin
Cc: Takashi Iwai
Signed-off-by: Jeff Garzik -
Rework the RX buffers allocation function so that we do not
leak memory in the case we could not allocate skbs for the
RX path. Propagate the errors to the r6040_up function
where we call the RX buffers allocation function.Also rename the r6040_alloc_txbufs function to
r6040_init_txbufs, to reflect what it really does.Signed-Off-By: Joerg Albert
Signed-off-by: Florian Fainelli
Signed-off-by: Jeff Garzik -
Add a helper function which only modifies R6040 MAC registers
use it when we timeout, and on adapter initialization. Fix
the scheduling while atomic but in the timeout routine due
to the reallocation of rx/tx buffers.Signed-Off-By: Joerg Albert
Signed-off-by: Florian Fainelli
Signed-off-by: Jeff Garzik -
This patch fixes a null pointer access in r6040_rx due
to lp->dev not being initialized.Fix the TX timeouts, TX irq was not re-enabled on RX irq
Signed-Off-By: Joerg Albert
Signed-off-by: Florian Fainelli
Signed-off-by: Jeff Garzik -
Prefix all functions inside the r6040 driver with r6040 to
avoid namespace clashing.Signed-off-by: Florian Fainelli
Signed-off-by: Jeff Garzik -
This patch allows Windows Mobile 6 devices to be used for
tethering -- that is, used as modems. It was requested by
AdamW in kernel bugzilla:http://bugzilla.kernel.org/show_bug.cgi?id=11119
and Mandriva kernel-discuss list. It is tested and confirmed
to work by Peterl:http://forum.eeeuser.com/viewtopic.php?pid=323543#p323543
This patch is based on the patch in the above kernel bugzilla,
which is from the usb-rndis-lite tree.[ dbrownell@users.sourceforge.net: misc fixes ]
Signed-off-by: Thomas Backlund
Signed-off-by: David Brownell
Signed-off-by: Jeff Garzik -
Use net_device_stats from net_device structure instead of local.
Signed-off-by: Paulius Zaleckas
Tested-by: Marc Pignat
Acked-by: Andrew Victor
Signed-off-by: Jeff Garzik -
Using multiple cores in the same package to handle received traffic
does not appear to provide a performance benefit. Therefore use CPU
topology information to count CPU packages and use that as the default
number of RX queues and interrupts. We rely on interrupt balancing to
spread the interrupts across packages.Signed-off-by: Ben Hutchings
Signed-off-by: Jeff Garzik -
This avoids deadlock in case a reset is triggered during self-test.
Signed-off-by: Ben Hutchings
Signed-off-by: Jeff Garzik -
As recommended by Jean Delvare:
- Increase timeout to 50 ms
- Leave adapter class clear so that unwanted drivers do not probe our bus
- Use strlcpy() for name initialisationSigned-off-by: Ben Hutchings
Signed-off-by: Jeff Garzik -
This patch makes e1000 driver ioport-free.
This corrects behavior in probe function so as not to request ioport
resources as long as they are not really needed. This is based on the
ioport-free patch of e1000 driver from Auke Kok and Tomohiro Kusumi.Signed-off-by: Tomohiro Kusumi
Signed-off-by: Auke Kok
Signed-off-by: Taku Izumi
Signed-off-by: Jeff Kirsher
Signed-off-by: Jeff Garzik -
Compile-tested only.
Signed-off-by: Francois Romieu
Signed-off-by: Jeff Kirsher
Signed-off-by: Jeff Garzik -
The email linux-nics@intel.com is no longer available, remove all
references.Signed-off-by: Jeff Kirsher
Signed-off-by: Jeff Garzik -
Signed-off-by: Joe Perches
Signed-off-by: Auke Kok
Signed-off-by: Jeff Kirsher
Signed-off-by: Jeff Garzik -
Redefine DPRINTK macro using do while(0)
__FUNCTION__ to __func__
structs {} on separate lines
Surround negative constants with ()Signed-off-by: Joe Perches
Signed-off-by: Jeff Kirsher
Signed-off-by: Jeff Garzik