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
f8117974
Commit
f8117974
authored
Nov 25, 2002
by
Linus Torvalds
Browse files
Options
Browse Files
Download
Email Patches
Plain Diff
Fix up Alan's huge patch set. It couldn't have compiled for
him either. Tssk, tssk.
parent
4730678b
Changes
3
Hide whitespace changes
Inline
Side-by-side
Showing
3 changed files
with
5 additions
and
4 deletions
+5
-4
drivers/pci/quirks.c
drivers/pci/quirks.c
+2
-2
include/asm-i386/io_apic.h
include/asm-i386/io_apic.h
+2
-1
include/linux/pci_ids.h
include/linux/pci_ids.h
+1
-1
No files found.
drivers/pci/quirks.c
View file @
f8117974
...
...
@@ -350,8 +350,8 @@ static void __devinit quirk_amd_ioapic(struct pci_dev *dev)
static
void
__init
quirk_ioapic_rmw
(
struct
pci_dev
*
dev
)
{
if
(
dev
->
devfn
==
0
&&
dev
->
bus
->
number
==
0
)
apic_sys
_bug
=
1
;
if
(
dev
->
devfn
==
0
&&
dev
->
bus
->
number
==
0
)
sis_apic
_bug
=
1
;
}
...
...
include/asm-i386/io_apic.h
View file @
f8117974
...
...
@@ -123,9 +123,10 @@ static inline void io_apic_write(unsigned int apic, unsigned int reg, unsigned i
*
* Older SiS APIC requires we rewrite the index regiser
*/
extern
int
sis_apic_bug
;
static
inline
void
io_apic_modify
(
unsigned
int
apic
,
unsigned
int
reg
,
unsigned
int
value
)
{
if
(
apic_sis
_bug
)
if
(
sis_apic
_bug
)
*
IO_APIC_BASE
(
apic
)
=
reg
;
*
(
IO_APIC_BASE
(
apic
)
+
4
)
=
value
;
}
...
...
include/linux/pci_ids.h
View file @
f8117974
...
...
@@ -485,6 +485,7 @@
#define PCI_VENDOR_ID_FD 0x1036
#define PCI_DEVICE_ID_FD_36C70 0x0000
#define PCI_VENDOR_ID_SIS 0x1039
#define PCI_VENDOR_ID_SI 0x1039
#define PCI_DEVICE_ID_SI_5591_AGP 0x0001
#define PCI_DEVICE_ID_SI_6202 0x0002
...
...
@@ -1906,4 +1907,3 @@
#define PCI_VENDOR_ID_HINT 0x3388
#define PCI_DEVICE_ID_HINT_VXPROII_IDE 0x8013
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