Hi alan,
Ok here's the revised version:
static void /*__exit or __init? */ __exit cleanup(void)
{
struct socle_lp2a_udc *dev = the_controller;
if (!dev)
return;
udc_disable(dev);
remove_proc_files();
usb_gadget_unregister_driver(dev->driver)
We don't really want to export these any more, especially
now that the HCDs don't need them.
The way we're looking at USB suspend lately doesn't expect drivers to
call usb_suspend_device() or usb_resume_device() directly; that'll
be implicit when no interfaces are in use.
This patch removes those
Compiles, untested; these patches resemble those needed in OHCI and EHCI.
This makes the isp116x driver stop using usb_suspend_device() and
usb_resume_device() ... usbcore now calls to the root hub methods,
removing the need for this. It also switches from keventd to khubd
for remote wakeup.
Compiles, but untested.
This removes suspend and resume path recursion in UHCI.
Signed-off-by: David Brownell <[EMAIL PROTECTED]>
--- g26.orig/drivers/usb/host/uhci-hcd.c 2005-09-22 16:44:58.0 -0700
+++ g26/drivers/usb/host/uhci-hcd.c 2005-09-22 22:15:21.0 -0700
@@ -774,11 +774,
Fixes some regressions in recent kernels, and handles another special
case observed when restoring a swsusp snapshot.
This fixes some bugs in EHCI suspend/resume that joined us over the past
few releases (as usbcore, PCI, pmcore, and other components evolved):
- Removes suspend and resume recur
This streamlines the PCI glue code for suspend/resume,
matching expectations from previous root hub updates.
This updates the PCI glue to address the new and simplified usbcore suspend
semantics, where CONFIG_USB_SUSPEND becomes irrelevant to HCDs because
hcd->hub_suspend() will always be called.
The PCI-wide quirks really should match the OHCI driver ...
The PCI "early usb handoff" quirk logic didn't work like "ohci-hcd" ...
This patch makes it do so by:
- Resetting the controller after kicking BIOS off, matching the
normal "chip in hardware reset" startup mode;
- Reporting any
This just connecting the dots using existing code that
previously wasn't always enabled.
This cleans up a small recent FIXME, ensuring that all the HCDs provide
root hub suspend/resume methods. It also wraps the calls to those root
suspend routines just like on the PCI "USB_SUSPEND not defined"
Here are a bunch of USB updates, many making power management
become simpler, for 2.6.15.early merging. They go on top of
2.6.14-rc2 with the patches already in Greg's queue [1].
The patches can be grouped roughly into three subsequences:
* Stuff that's pretty isolated; the first two listed h
From Matt Porter, who observed how much PCI-specific stuff
has accumulated over time; thanks!
From: Matt Porter <[EMAIL PROTECTED]>
Date: Mon, 19 Sep 2005 09:34:14 -0700
This splits BIOS and PCI specific support out of ehci-hcd.c into
ehci-pci.c. It follows the model already used in the OHCI dr
This catches up to the root hub suspend changes, and uses the
new functions to make autosuspend/autoresume work again.
(Recent kernels have had serious unreported regresssions...)
This simplifies the OHCI root hub suspend logic:
- Uses new usbcore root hub calls to make autosuspend work again:
These are the changes which start making CONFIG_USB_SUSPEND mean
a *LOT* less ... so most of usbcore and the HCDS won't care any more,
and we'll have fewer ways for things to go wrong in the future.
This patch associates hub suspend and resume logic (including for root hubs)
with CONFIG_PM -- i
These small updates help later patches, notably the OHCI patches
to let autosuspend work again.
This patch collects various small updates related to root hubs, to shrink
later patches which build on them.
- For root hub suspend/resume support:
* Make the existing usb_hcd_resume_root_hub()
... use the normal device refcount ...
This saves a word from "struct device" ... there's a refcounting mechanism
stub that's rather ineffective (the values are never even tested!), which
can safely be deleted. With this patch it uses normal device refcounting,
so any potential users of the pm_
Am Freitag, 23. September 2005 00:49 schrieb David Kubicek:
> On Fri, Sep 23, 2005 at 12:07:23AM +0200, Oliver Neukum wrote:
> > Am Mittwoch, 21. September 2005 20:04 schrieb David Kubicek:
> > > On Wed, Sep 21, 2005 at 06:32:05PM +0200, Oliver Neukum wrote:
> > > > Am Mittwoch, 21. September 2005
Here is a patch for USB IrDA dongles made with the MosChip mcs7780
chipset. I and Judy Fischback have taken Lukasz Stelmach's shiny
0.2alpha.3 release and added in the code for the MIR and FIR speeds.
The patch has been tested on the 2.6.13 kernel.
Please CC any comments directly back to me as I
On Fri, Sep 23, 2005 at 12:07:23AM +0200, Oliver Neukum wrote:
> Am Mittwoch, 21. September 2005 20:04 schrieb David Kubicek:
> > On Wed, Sep 21, 2005 at 06:32:05PM +0200, Oliver Neukum wrote:
> > > Am Mittwoch, 21. September 2005 14:51 schrieb David Kubicek:
>
> > > This is in interrupt. Please u
Am Mittwoch, 21. September 2005 20:04 schrieb David Kubicek:
> On Wed, Sep 21, 2005 at 06:32:05PM +0200, Oliver Neukum wrote:
> > Am Mittwoch, 21. September 2005 14:51 schrieb David Kubicek:
> > This is in interrupt. Please use the simple form of the locks.
> I'd like to find out the difference be
On Thu, 22 Sep 2005, Andy Chuo wrote:
> Hi Alan,
> For some reasons, I still can't get it to work.
> The following is the init part of my code:
> static int __init myudc_init (void)
> {
> struct socle_lp2a_udc *dev;
> int retval;
>
> INFO(KERN_DEBUG "%s: version %s\n"
On Thu, 22 Sep 2005, Greg Lee wrote:
> What is the significance of the bmAttributes USB_CONFIG_ATT_WAKEUP bit? I
> recently received a firmware update to one of the devices I use and now it
> does not work with my 2.4.19 and 2.4.31 based embedded targets, however, it
> does work on a 2.6.12 based
Hi Alan,
For some reasons, I still can't get it to work.
The following is the init part of my code:
static int __init myudc_init (void)
{
struct socle_lp2a_udc *dev;
int retval;
INFO(KERN_DEBUG "%s: version %s\n", driver_name, DRIVER_VERSION);
/* all
On Thu, Sep 22, 2005 at 10:23:13AM +0530, Savita H. Neelannava wrote:
> Hi All,
>
> I have a Scanner device which has 3 Endpoints. wMaxPacketSize of all 3
> is 0x200. In the driver also i was allocating memory of 0x200 bytes
> for each Endpoint. i have bulk-in Endpoint where i will get scanned
>
Hi @ all.
I'm working on a custom EP7311 board with isp1161A1 and linux-2.4.21-rmk1.
Another people have made porting of kernel to this board but now I have
problem with data tranfert in ISO mode with a webcam logitech
4000pro: some frame is often loss. The driver I use I think is the same
menti
From: Alan Stern <[EMAIL PROTECTED]>
This patch (as564) updates Documentation/usb/URB.txt, bringing it roughly
up to the current level.
Signed-off-by: Alan Stern <[EMAIL PROTECTED]>
Signed-off-by: Greg Kroah-Hartman <[EMAIL PROTECTED]>
---
Documentation/usb/URB.txt | 76 +++--
From: Matthias Urlichs <[EMAIL PROTECTED]>
The card sometimes sends >2000 bytes in one single chunk. Ouch.
Signed-Off-By: Matthias Urlichs <[EMAIL PROTECTED]>
Signed-off-by: Greg Kroah-Hartman <[EMAIL PROTECTED]>
---
drivers/usb/serial/option.c |4 +++-
1 file changed, 3 insertions(+), 1 de
From: Pete Zaitcev <[EMAIL PROTECTED]>
This code appears to be more trouble than it's worth, considering that
no normal users reload drivers. So, we comment it for now. It is not
removed outright for the benefit of hackers (that is, myself).
Signed-off-by: Pete Zaitcev <[EMAIL PROTECTED]>
Signed-
From: Bjorn Helgaas <[EMAIL PROTECTED]>
Unused variable.
Signed-off-by: Bjorn Helgaas <[EMAIL PROTECTED]>
Signed-off-by: Greg Kroah-Hartman <[EMAIL PROTECTED]>
---
drivers/pci/hotplug.c |4
1 file changed, 4 deletions(-)
--- scsi-2.6.orig/drivers/pci/hotplug.c 2005-09-20 05:59:55.
From: David Hollis <[EMAIL PROTECTED]>
USB: Add device id's for Novatel Wireless CDMA wireless PC card.
The Novatel CDMA card behaves the same as the AirPrime by providing
a USB serial port.
Signed-off-by: David Hollis <[EMAIL PROTECTED]>
Signed-off-by: Greg Kroah-Hartman <[EMAIL PROTE
From: Amos Waterland <[EMAIL PROTECTED]>
This function expects an unsigned 32-bit type as its third argument:
static u32 pci_size(u32 base, u32 maxbase, u32 mask)
However, given these definitions:
#define PCI_BASE_ADDRESS_MEM_MASK (~0x0fUL)
#define PCI_ROM_ADDRESS_MASK (~0x7ffUL)
these two
From: Kevin Vigor <[EMAIL PROTECTED]>
Addresses some small bugs in the pegasus ethernet-over-USB driver.
Specifically, malformed long packets from the adapter could cause a kernel
panic; the interrupt interval calculation was inappropriate for high-speed
devices; the return code from read_mii_wor
From: Richard Purdie <[EMAIL PROTECTED]>
This patch fixes several types in the PXA25x udc driver and hence fixes
several compiler warnings.
Signed-off-by: Richard Purdie <[EMAIL PROTECTED]>
Acked-by: David Brownell <[EMAIL PROTECTED]>
Signed-off-by: Greg Kroah-Hartman <[EMAIL PROTECTED]>
---
d
From: Peter Favrholdt <[EMAIL PROTECTED]>
I'm using a 2 port USB RS232 dongle to connect to a serial-IR cradle for
a bar code reader). Detecting the baudrate of the serial-IR involves
keeping DTR low while changing baudrate.
This works using normal 16550A serial ports as well as the FTDI driver
v
From: Matthias Urlichs <[EMAIL PROTECTED]>
Added support for HUAWEI E600 and Audiovox AirCard
User reports say that these devices work without driver modification.
Signed-off-by: Matthias Urlichs <[EMAIL PROTECTED]>
Signed-off-by: Greg Kroah-Hartman <[EMAIL PROTECTED]>
---
drivers/usb/serial/
From: David Brownell <[EMAIL PROTECTED]>
Three minor sl811-hcd fixes:
- Elminate memory leak on one (rare) disable/shutdown path.
- For periodic transfers that don't need to be scheduled, update
urb->start_frame to represent the transfer phase correctly.
- Report the (single) port as remo
From: Pekka Enberg <[EMAIL PROTECTED]>
This patch converts kcalloc(1, ...) calls to use the new kzalloc() function.
Signed-off-by: Pekka Enberg <[EMAIL PROTECTED]>
Signed-off-by: Andrew Morton <[EMAIL PROTECTED]>
Signed-off-by: Greg Kroah-Hartman <[EMAIL PROTECTED]>
---
drivers/pci/hotplug/sgi
From: Pete Zaitcev <[EMAIL PROTECTED]>
This patch fixes a few problems with ub and cleans up a couple of things:
- Bump UB_MAX_REQ_SG, this allows to burn CDs
- Drop initialization of urb.transfer_flags,
now that URB_UNLINK_ASYNC is gone
- Add forgotten processing of stalls at GetMaxLUN
-
From: Linda Xie <[EMAIL PROTECTED]>
Signed-off-by: Linda Xie <[EMAIL PROTECTED]>
Signed-off-by: Greg Kroah-Hartman <[EMAIL PROTECTED]>
---
drivers/pci/hotplug/rpadlpar_sysfs.c |4 ++--
1 file changed, 2 insertions(+), 2 deletions(-)
--- scsi-2.6.orig/drivers/pci/hotplug/rpadlpar_sysfs.c 2
Hi,
Here are a number of USB and PCI fixes for 2.6.14-rc2. There's also a
patch in here to remove me as the I2C maintainer, as Jean is doing such
a good job that I don't need to be listed there anymore. I'll still be
the conduit for the i2c and hwmon patches into the main kernel tree, but
Jean w
From: Bill Nottingham <[EMAIL PROTECTED]>
The class symlinks in sysfs don't properly handle changing device names.
To demonstrate, rename your network device from eth0 to eth1. Your
pci (or usb, or whatever) device will still have a 'net:eth0' link,
except now it points to /sys/class/net/eth1.
T
From: Daniel Ritz <[EMAIL PROTECTED]>
bus_rescan_devices_helper() does not hold the dev->sem when it checks for
!dev->driver(). device_attach() holds the sem, but calls again
device_bind_driver() even when dev->driver is set.
What happens is that a first device_attach() call (module insertion ti
Remove my name from the I2C maintainer, Jean is more than capable of
handling it all now.
Signed-off-by: Greg Kroah-Hartman <[EMAIL PROTECTED]>
Signed-off-by: Jean Delvare <[EMAIL PROTECTED]>
---
MAINTAINERS |2 --
1 file changed, 2 deletions(-)
--- scsi-2.6.orig/MAINTAINERS 2005-09-20
From: Daniel Ritz <[EMAIL PROTECTED]>
[PATCH] driver core: add helper device_is_registered()
add the helper and use it instead of open coding the klist_node_attached() check
(which is a layering violation IMHO)
idea by Alan Stern.
Signed-off-by: Daniel Ritz <[EMAIL PROTECTED]>
Cc: Alan Stern <[
would be nice if you do it. I'm not into generating official patches and are
to busy to learn it at the moment.
thx!
Stefan
Phil Dibowitz wrote:
> Stefan Werner wrote:
> > Hi,
> > I had to add the following code to unusual_devs in order to get my device
> > (flash mp3 player) working! I hope it
43 matches
Mail list logo