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
nexedi
linux
Commits
6e277408
Commit
6e277408
authored
Jun 06, 2002
by
Greg Kroah-Hartman
Browse files
Options
Browse Files
Download
Email Patches
Plain Diff
USB: split some pci specific pieces out of hcd.c into a separate file.
parent
12822f40
Changes
4
Expand all
Hide whitespace changes
Inline
Side-by-side
Showing
4 changed files
with
419 additions
and
394 deletions
+419
-394
drivers/usb/core/Makefile
drivers/usb/core/Makefile
+5
-1
drivers/usb/core/hcd-pci.c
drivers/usb/core/hcd-pci.c
+401
-0
drivers/usb/core/hcd.c
drivers/usb/core/hcd.c
+8
-393
drivers/usb/core/hcd.h
drivers/usb/core/hcd.h
+5
-0
No files found.
drivers/usb/core/Makefile
View file @
6e277408
...
...
@@ -2,11 +2,15 @@
# Makefile for USB Core files and filesystem
#
export-objs
:=
usb.o hcd.o urb.o message.o config.o
export-objs
:=
usb.o hcd.o
hcd-pci.o
urb.o message.o config.o
usbcore-objs
:=
usb.o usb-debug.o hub.o hcd.o urb.o message.o
\
config.o
ifeq
($(CONFIG_PCI),y)
usbcore-objs
+=
hcd-pci.o
endif
ifeq
($(CONFIG_USB_DEVICEFS),y)
usbcore-objs
+=
devio.o inode.o drivers.o devices.o
endif
...
...
drivers/usb/core/hcd-pci.c
0 → 100644
View file @
6e277408
This diff is collapsed.
Click to expand it.
drivers/usb/core/hcd.c
View file @
6e277408
This diff is collapsed.
Click to expand it.
drivers/usb/core/hcd.h
View file @
6e277408
...
...
@@ -161,6 +161,11 @@ struct hc_driver {
};
extern
void
usb_hcd_giveback_urb
(
struct
usb_hcd
*
hcd
,
struct
urb
*
urb
);
extern
void
usb_init_bus
(
struct
usb_bus
*
bus
);
extern
void
usb_rh_status_dequeue
(
struct
usb_hcd
*
hcd
,
struct
urb
*
urb
);
extern
spinlock_t
hcd_data_lock
;
extern
struct
usb_operations
hcd_operations
;
#ifdef CONFIG_PCI
struct
pci_dev
;
...
...
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