]> git.neil.brown.name Git - history.git/commit
[PATCH] USB storage: change atomic_t to bitfield, consolidate #defines
authorMatthew Dharm <mdharm-usb@one-eyed-alien.net>
Tue, 18 Jun 2002 06:35:32 +0000 (23:35 -0700)
committerGreg Kroah-Hartman <greg@kroah.com>
Tue, 18 Jun 2002 06:35:32 +0000 (23:35 -0700)
commit1c009ca6b0bcfcae817e2f64b77cc72b6bab8958
tree0ae851479e5b3c6fd1be65a0dfd317e5af692840
parent2cc2b5458a33c5eedc92cbd550b7d8452264b686
[PATCH] USB storage: change atomic_t to bitfield, consolidate #defines

This patch changes from using an atomic_t with two states to using a
bitfield to determine if a device is attached.  It also moves some common
#defines into a common header file.

courtsey of Alan Stern <stern@rowland.org>
drivers/usb/storage/scsiglue.c
drivers/usb/storage/usb.c
drivers/usb/storage/usb.h