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
552e94e6
Commit
552e94e6
authored
Nov 25, 2002
by
Dave Jones
Browse files
Options
Browse Files
Download
Email Patches
Plain Diff
[PATCH] make cardbus PCI enable earlier
Accesses PCI config space before enabling the device..
parent
f140cc6c
Changes
1
Hide whitespace changes
Inline
Side-by-side
Showing
1 changed file
with
2 additions
and
1 deletion
+2
-1
drivers/pcmcia/cardbus.c
drivers/pcmcia/cardbus.c
+2
-1
No files found.
drivers/pcmcia/cardbus.c
View file @
552e94e6
...
...
@@ -283,6 +283,8 @@ int cb_alloc(socket_info_t * s)
dev
->
hdr_type
=
hdr
&
0x7f
;
pci_setup_device
(
dev
);
if
(
pci_enable_device
(
dev
))
continue
;
strcpy
(
dev
->
dev
.
bus_id
,
dev
->
slot_name
);
...
...
@@ -300,7 +302,6 @@ int cb_alloc(socket_info_t * s)
pci_writeb
(
dev
,
PCI_INTERRUPT_LINE
,
irq
);
}
pci_enable_device
(
dev
);
/* XXX check return */
device_register
(
&
dev
->
dev
);
pci_insert_device
(
dev
,
bus
);
}
...
...
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