Skip to content
Projects
Groups
Snippets
Help
Loading...
Help
Support
Keyboard shortcuts
?
Submit feedback
Contribute to GitLab
Sign in / Register
Toggle navigation
L
linux
Project overview
Project overview
Details
Activity
Releases
Repository
Repository
Files
Commits
Branches
Tags
Contributors
Graph
Compare
Issues
0
Issues
0
List
Boards
Labels
Milestones
Merge Requests
0
Merge Requests
0
Analytics
Analytics
Repository
Value Stream
Wiki
Wiki
Snippets
Snippets
Members
Members
Collapse sidebar
Close sidebar
Activity
Graph
Create a new issue
Commits
Issue Boards
Open sidebar
Kirill Smelkov
linux
Commits
c5a3871c
Commit
c5a3871c
authored
Jan 13, 2003
by
Greg Kroah-Hartman
Browse files
Options
Browse Files
Download
Plain Diff
Merge kroah.com:/home/greg/linux/BK/bleeding_edge-2.5
into kroah.com:/home/greg/linux/BK/gregkh-2.5
parents
9552d6bc
9fb6dc82
Changes
4
Hide whitespace changes
Inline
Side-by-side
Showing
4 changed files
with
8 additions
and
4 deletions
+8
-4
drivers/usb/core/hcd.h
drivers/usb/core/hcd.h
+0
-3
drivers/usb/core/usb.c
drivers/usb/core/usb.c
+1
-0
drivers/usb/storage/scsiglue.c
drivers/usb/storage/scsiglue.c
+4
-0
include/linux/usb.h
include/linux/usb.h
+3
-1
No files found.
drivers/usb/core/hcd.h
View file @
c5a3871c
...
...
@@ -353,9 +353,6 @@ extern struct semaphore usb_bus_list_lock;
extern
void
usb_bus_get
(
struct
usb_bus
*
bus
);
extern
void
usb_bus_put
(
struct
usb_bus
*
bus
);
extern
struct
usb_interface
*
usb_ifnum_to_if
(
struct
usb_device
*
dev
,
unsigned
ifnum
);
extern
int
usb_find_interface_driver
(
struct
usb_device
*
dev
,
struct
usb_interface
*
interface
);
...
...
drivers/usb/core/usb.c
View file @
c5a3871c
...
...
@@ -1484,6 +1484,7 @@ EXPORT_SYMBOL(usb_interface_claimed);
EXPORT_SYMBOL
(
usb_driver_release_interface
);
EXPORT_SYMBOL
(
usb_match_id
);
EXPORT_SYMBOL
(
usb_find_interface
);
EXPORT_SYMBOL
(
usb_ifnum_to_if
);
EXPORT_SYMBOL
(
usb_new_device
);
EXPORT_SYMBOL
(
usb_reset_device
);
...
...
drivers/usb/storage/scsiglue.c
View file @
c5a3871c
...
...
@@ -88,8 +88,12 @@ static int detect(struct SHT *sht)
/* register the host */
us
->
host
=
scsi_register
(
sht
,
sizeof
(
us
));
if
(
us
->
host
)
{
struct
usb_interface
*
iface
;
us
->
host
->
hostdata
[
0
]
=
(
unsigned
long
)
us
;
us
->
host_no
=
us
->
host
->
host_no
;
iface
=
usb_ifnum_to_if
(
us
->
pusb_dev
,
us
->
ifnum
);
if
(
iface
)
scsi_set_device
(
us
->
host
,
&
iface
->
dev
);
return
1
;
}
...
...
include/linux/usb.h
View file @
c5a3871c
...
...
@@ -277,7 +277,9 @@ extern void usb_driver_release_interface(struct usb_driver *driver,
const
struct
usb_device_id
*
usb_match_id
(
struct
usb_interface
*
interface
,
const
struct
usb_device_id
*
id
);
struct
usb_interface
*
usb_find_interface
(
struct
usb_driver
*
drv
,
kdev_t
kdev
);
extern
struct
usb_interface
*
usb_find_interface
(
struct
usb_driver
*
drv
,
kdev_t
kdev
);
extern
struct
usb_interface
*
usb_ifnum_to_if
(
struct
usb_device
*
dev
,
unsigned
ifnum
);
/**
* usb_make_path - returns stable device path in the usb tree
...
...
Write
Preview
Markdown
is supported
0%
Try again
or
attach a new file
Attach a file
Cancel
You are about to add
0
people
to the discussion. Proceed with caution.
Finish editing this message first!
Cancel
Please
register
or
sign in
to comment