23 Jun, 2006
10 commits
-
This patch contains the following possible cleanups:
- the following file did't #include the header with the prototypes for
it's global functions:
- w1_int.c
- #if 0 the following unused global function:
- w1_family.c: w1_family_get()
- make the following needlessly global functions static:
- w1_family.c: __w1_family_put()
- w1_io.c: w1_delay()
- w1_io.c: w1_touch_bit()
- w1_io.c: w1_read_8()
- remove the following unused EXPORT_SYMBOL's:
- w1_family.c: w1_family_put
- w1_family.c: w1_family_registeredSigned-off-by: Adrian Bunk
Signed-off-by: Evgeniy Polyakov
Signed-off-by: Greg Kroah-Hartman -
Nice cleanup spotted by Adrian Bunk, which was lost due to moving to the
completely new functionality.Shame-shame-shame on me.
Signed-off-by: Evgeniy Polyakov
Signed-off-by: Greg Kroah-Hartman -
From: Andrew Morton
WARNING: "w1_read_block" [drivers/w1/slaves/w1_therm.ko] undefined!
WARNING: "w1_write_8" [drivers/w1/slaves/w1_therm.ko] undefined!
WARNING: "w1_reset_select_slave" [drivers/w1/slaves/w1_therm.ko] undefined!
WARNING: "w1_reset_bus" [drivers/w1/slaves/w1_ds2433.ko] undefined!
WARNING: "w1_write_8" [drivers/w1/slaves/w1_ds2433.ko] undefined!
WARNING: "w1_read_block" [drivers/w1/slaves/w1_ds2433.ko] undefined!
WARNING: "w1_write_block" [drivers/w1/slaves/w1_ds2433.ko] undefined!
WARNING: "w1_reset_select_slave" [drivers/w1/slaves/w1_ds2433.ko] undefined!Cc: Evgeniy Polyakov
Signed-off-by: Andrew Morton
Signed-off-by: Greg Kroah-Hartman -
Use mutexes instead of semaphores.
Patch tested on x86_64 and i386 with test bus master driver.Signed-off-by: Evgeniy Polyakov
Signed-off-by: Greg Kroah-Hartman -
Make w1 connector notifications depend on connector.
Signed-off-by: Evgeniy Polyakov
Signed-off-by: Greg Kroah-Hartman -
netlink_w1 was moved to connector.
Signed-off-by: Evgeniy Polyakov
Signed-off-by: Greg Kroah-Hartman -
Signed-off-by: Evgeniy Polyakov
Signed-off-by: Greg Kroah-Hartman -
There are three types of messages between w1 core and userspace:
1. Events. They are generated each time new master or slave device found
either due to automatic or requested search.
2. Userspace commands. Includes read/write and search/alarm search comamnds.
3. Replies to userspace commands.From: Evgeniy Polyakov
Signed-off-by: Greg Kroah-Hartman -
Special file in each w1 slave device's directory called "rw" is created
each time new slave and no appropriate w1 family is registered.
"rw" file supports read and write operations, which allows to perform
almost any kind of operations. Each logical operation is a transaction
in nature, which can contain several (two or one) low-level operations.
Let's see how one can read EEPROM context:
1. one must write control buffer, i.e. buffer containing command byte
and two byte address. At this step bus is reset and appropriate device
is selected using either W1_SKIP_ROM or W1_MATCH_ROM command.
Then provided control buffer is being written to the wire.
2. reading. This will issue reading eeprom response.It is possible that between 1. and 2. w1 master thread will reset bus for
searching and slave device will be even removed, but in this case 0xff will
be read, since no device was selected.Signed-off-by: Evgeniy Polyakov
Signed-off-by: Greg Kroah-Hartman
22 Jun, 2006
30 commits
-
* git://oss.sgi.com:8090/xfs-2.6: (43 commits)
[XFS] Remove files from the build that are now unused.
[XFS] Fix a Makefile issue related to exports.o handling.
[XFS] Remove version 1 directory code. Never functioned on Linux, just
[XFS] Map EFSCORRUPTED to an actual error code, not just a made up one
[XFS] Kill direct access to ->count in valusema(); all we ever use it for
[XFS] Remove unneeded conditional code on NFS export interface related
[XFS] Remove an incorrect use of unlikely() on a relatively likely code
[XFS] Push some common code out of write path into core XFS code for
[XFS] Remove unnecessary local from open_exec dmapi path.
[XFS] Minor XFS documentation updates.
[XFS] Fix broken const use inside local suffix_strtoul routine.
[XFS] Fix nused counter. It's currently getting set to -1 rather than
[XFS] Fix mismerge of the fs_writable cleanup patch causing a freeze/thaw
[XFS] Fix up debug code so that bulkstat wont generate thousands of
[XFS] Remove unused parameter from di2xflags routine.
[XFS] Cleanup a missed porting conversion, and freezing.
[XFS] Resolve a namespace collision on remaining vtypes for FreeBSD
[XFS] Resolve a namespace collision on vnode/vnodeops for FreeBSD porters.
[XFS] Resolve a namespace collision on vfs/vfsops for FreeBSD porters.
[XFS] statvfs component of directory/project quota support, code
... -
Now /sys/class/usb is dynamically created when we have something to put
in it, and removed when all devices go away.Just trying to cut down on the clutter in sysfs...
Signed-off-by: Greg Kroah-Hartman
-
Signed-off-by: Greg Kroah-Hartman
-
This moves the usb class devices that control the usbfs nodes to show up
in the proper place in the larger device tree.No userspace changes is needed, this is compatible due to the symlinks
generated by the driver core.Cc: Kay Sievers
Signed-off-by: Greg Kroah-Hartman -
This will allow for us to give endpoints a major/minor to create a
"usbfs2-like" way to access endpoints directly from userspace in an
easier manner than the current usbfs provides us.Signed-off-by: Greg Kroah-Hartman
-
Instead of a kobject, will make things easier in the future (don't know
what I was thinking when I did this originally...)Signed-off-by: Greg Kroah-Hartman
-
This makes it easier to modify in the future without touching anything else.
Signed-off-by: Greg Kroah-Hartman
-
Move to and remove some
redundant includes.Signed-off-by: David Brownell
Signed-off-by: Greg Kroah-Hartman -
This moves header files for controller-specific platform data
from to to start reducing
some clutter.Signed-off-by: David Brownell
Signed-off-by: Greg Kroah-Hartman -
This moves to to reduce some of the
clutter of usb header files.Signed-off-by: David Brownell
Signed-off-by: Greg Kroah-Hartman -
This removes extraneous whitespace from the Ethernet/RNDIS gadget driver.
It's all space-at-EOL, spaces-before-tabs, or tabs-then-spaces.Signed-off-by: David Brownell
Signed-off-by: Greg Kroah-Hartman -
Here is a patch (as720) adding an unusual_devs entry for the Nokia N80
mobile phone.Signed-off-by: Alan Stern
Signed-off-by: Greg Kroah-Hartman -
Some usbserial functions returns -EINVAL if the port doesn't exist or if
it's not opened. However, the right error code for such situations is
-ENODEV.Signed-off-by: Luiz Fernando N. Capitulino
Signed-off-by: Greg Kroah-Hartman -
This patch adds IXP465 into the list of known devices and
adds IXP425 and IXP465 to the list of devices that have cfr. This
is not described in the hardware documentation, but without
it driver won't work.Workaround (#if 1) that seemed to get rid of lost
status irqs is disabled for IXP4XX as it caused freezes
during testing of control messages. No lost irqs are
visible on IXP4XX.Driver survived tests running over night without any
visible problems.Signed-off-by: Milan Svoboda
Signed-off-by: David Brownell
Signed-off-by: Greg Kroah-Hartman -
This patch fixes compile errors when pxa2xx_udc is to be compiled
for ixp4xx platform.Signed-off-by: Milan Svoboda
Signed-off-by: David Brownell
Signed-off-by: Greg Kroah-Hartman -
This patch removes limitation which prevents use of drivers that support
speeds different that full speed.Signed-off-by: Milan Svoboda
Signed-off-by: David Brownell
Signed-off-by: Greg Kroah-Hartman -
As pointed out by David Brownell, we know that IRQs are never
blocked when calling gs_close function. So the save/restore
IRQ flags are pointless.Signed-off-by: Franck Bui-Huu
Signed-off-by: Greg Kroah-Hartman -
When closing the device, the driver acquires/release twice the
port lock before/after waiting for the data to be completely
sent. Therefore it will dead lock.This patch fixes it and also uses the generic scheduler services
for waiting for an event.Signed-off-by: Franck Bui-Huu
Signed-off-by: Greg Kroah-Hartman -
If either the driver's open() method or try_module_get() fails, we need to
set 'tty->driver_data' and 'port->tty' to NULL in serial_open(), otherwise
we'll get an OOPS in usb_device_disconnect() when the device is disconnected.Signed-off-by: Frank Gevaerts
Acked-by: Luiz Fernando N. Capitulino
Signed-off-by: Greg Kroah-Hartman -
Acked-by: David Brownell
Signed-off-by: Greg Kroah-Hartman -
This is a new driver for the Cypress CY7C63xxx mirco controller series.
It currently supports the pre-programmed CYC63001A-PC by AK Modul-Bus
GmbH. It's based on a kernel 2.4 driver (cyport) by Marcus Maul which I
ported to kernel 2.6 using sysfs. I intend to support more controllers
of this family (and more features) as soon as I get hold of the required
IDs etc. Please see the source code's header for more information.Signed-off-by: Oliver Bock
Signed-off-by: Greg Kroah-Hartman -
Fix up the documentation. Apparently, I left unedited copy-paste results
in examples. Also, Alan helped me to improve the most confusing parts.Signed-off-by: Pete Zaitcev
Signed-off-by: Greg Kroah-Hartman -
Implement the "error" event in usbmon.
Signed-off-by: Pete Zaitcev
Signed-off-by: Greg Kroah-Hartman -
This update contains one bug fix: some lines can come out truncated,
because of the safety cutoff. This happened because I forgot to update
the size when status packets began to be printed.The rest is:
- Comments updates
- Allow snooping with pkmap on x86_64, which is cache-coherent
- Enlarge event buffers (certainly we can have a couple of pages)
- Add event counterFirst touch upon usbmon for 2.6.18.
Signed-off-by: Pete Zaitcev
Signed-off-by: Greg Kroah-Hartman -
Al Borchers suggested to do this in his review of my previous patch.
I guess that I skipped this initially because of my visceral dislike
of sizeof(data). But in this case it seems well localized.Signed-off-by: Pete Zaitcev
Signed-off-by: Greg Kroah-Hartman -
Adds vendor & product IDs to drivers/usb/serial/airprime.c for Kyocera
Wireless KPC650/Passport EV-DO/1xRTT PC Cards.Signed-off-by: Timothy Sipples
Signed-off-by: Greg Kroah-Hartman -
This patch (as707) improves the FSBR operation in uhci-hcd by turning it
off more quickly when it isn't needed. FSBR puts a noticeable load on a
computer's PCI bus, so it should be disabled as soon as possible when it
isn't in use. The patch leaves it running for only 10 ms after the last
URB stops using it, on the theory that this should be long enough for a
driver to submit another URB if it wants keep FSBR going.Signed-off-by: Alan Stern
Signed-off-by: Greg Kroah-Hartman -
This patch (as706) removes the private hc_inaccessible flag from
uhci-hcd. It's not needed because it conveys exactly the same
information as the generic HCD_FLAG_HW_ACCESSIBLE bit.In its place goes a new flag recording whether the controller is dead.
The new code allows a complete device reset to resurrect a dead
controller (although usbcore doesn't yet implement such a facility).Signed-off-by: Alan Stern
Signed-off-by: Greg Kroah-Hartman -
This patch (as705) contains a small set of updates for uhci-hcd written
mostly by Dave Brownell:* Root hub suspend messages come out labeled as root hub messages;
PCI messages should only come out when the pci device suspends.* Rename the reset() method to better match its init() role
* Behave more like the other HCDs by returning -ESHUTDOWN for root-hub
suspend/resume errors.* When an URB fails, associate the message with the usb device not
the host controller (it still hides endpoint and direction)From: David Brownell
Signed-off-by: Alan Stern
Signed-off-by: Greg Kroah-Hartman -
This patch (as704) adds an unusual_devs entry for the Nikon DSC D70s,
which uses a different Product ID from the D70. It also moves the entry
for the DSC E2000 up in the list, to preserve the numerical ordering.Signed-off-by: Alan Stern
Signed-off-by: Greg Kroah-Hartman