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
8d33ca95
Commit
8d33ca95
authored
Aug 08, 2003
by
Linus Torvalds
Browse files
Options
Browse Files
Download
Plain Diff
Merge
bk://kernel.bkbits.net/gregkh/linux/i2c-2.5
into home.osdl.org:/home/torvalds/v2.5/linux
parents
2b07edb1
a0fcbe82
Changes
12
Show whitespace changes
Inline
Side-by-side
Showing
12 changed files
with
26 additions
and
17 deletions
+26
-17
drivers/char/agp/hp-agp.c
drivers/char/agp/hp-agp.c
+1
-1
drivers/net/eepro100.c
drivers/net/eepro100.c
+1
-1
drivers/pci/names.c
drivers/pci/names.c
+1
-1
drivers/pci/pci.c
drivers/pci/pci.c
+1
-1
drivers/pci/pci.ids
drivers/pci/pci.ids
+2
-1
drivers/pci/probe.c
drivers/pci/probe.c
+3
-6
drivers/pci/proc.c
drivers/pci/proc.c
+6
-1
drivers/pci/quirks.c
drivers/pci/quirks.c
+1
-1
drivers/pci/setup-bus.c
drivers/pci/setup-bus.c
+4
-2
drivers/pci/setup-res.c
drivers/pci/setup-res.c
+1
-1
include/linux/pci.h
include/linux/pci.h
+3
-0
include/linux/pci_ids.h
include/linux/pci_ids.h
+2
-1
No files found.
drivers/char/agp/hp-agp.c
View file @
8d33ca95
...
...
@@ -398,7 +398,7 @@ hp_zx1_setup (u64 ioc_hpa, u64 lba_hpa)
bridge
->
driver
=
&
hp_zx1_driver
;
fake_bridge_dev
.
vendor
=
PCI_VENDOR_ID_HP
;
fake_bridge_dev
.
device
=
PCI_DEVICE_ID_HP_
ZX1
_LBA
;
fake_bridge_dev
.
device
=
PCI_DEVICE_ID_HP_
PCIX
_LBA
;
bridge
->
dev
=
&
fake_bridge_dev
;
return
agp_add_bridge
(
bridge
);
...
...
drivers/net/eepro100.c
View file @
8d33ca95
...
...
@@ -743,7 +743,7 @@ static int __devinit speedo_found1(struct pci_dev *pdev,
if
(
eeprom
[
3
]
&
0x0100
)
product
=
"OEM i82557/i82558 10/100 Ethernet"
;
else
product
=
p
dev
->
dev
.
name
;
product
=
p
ci_name
(
pdev
)
;
printk
(
KERN_INFO
"%s: %s, "
,
dev
->
name
,
product
);
...
...
drivers/pci/names.c
View file @
8d33ca95
...
...
@@ -56,7 +56,7 @@ void __devinit pci_name_device(struct pci_dev *dev)
{
const
struct
pci_vendor_info
*
vendor_p
=
pci_vendor_list
;
int
i
=
VENDORS
;
char
*
name
=
dev
->
dev
.
name
;
char
*
name
=
dev
->
pretty_
name
;
do
{
if
(
vendor_p
->
vendor
==
dev
->
vendor
)
...
...
drivers/pci/pci.c
View file @
8d33ca95
...
...
@@ -359,7 +359,7 @@ pci_enable_device_bars(struct pci_dev *dev, int bars)
int
pci_enable_device
(
struct
pci_dev
*
dev
)
{
return
pci_enable_device_bars
(
dev
,
0x3F
);
return
pci_enable_device_bars
(
dev
,
(
1
<<
PCI_NUM_RESOURCES
)
-
1
);
}
/**
...
...
drivers/pci/pci.ids
View file @
8d33ca95
...
...
@@ -1286,6 +1286,7 @@
103c 1226 Keystone SP2
103c 1227 Powerbar SP2
103c 1282 Everest SP2
1054 PCI Local Bus Adapter
1064 79C970 PCnet Ethernet Controller
108b Visualize FXe
10c1 NetServer Smart IRQ Router
...
...
@@ -1297,7 +1298,7 @@
121c NetServer PCI COM Port Decoder
1229 zx1 System Bus Adapter
122a zx1 I/O Controller
122e
zx1
Local Bus Adapter
122e
PCI-X/AGP
Local Bus Adapter
1290 Auxiliary Diva Serial Port
2910 E2910A PCIBus Exerciser
2925 E2925A 32 Bit, 33 MHzPCI Exerciser & Analyzer
...
...
drivers/pci/probe.c
View file @
8d33ca95
...
...
@@ -69,7 +69,7 @@ static void pci_read_bases(struct pci_dev *dev, unsigned int howmany, int rom)
for
(
pos
=
0
;
pos
<
howmany
;
pos
=
next
)
{
next
=
pos
+
1
;
res
=
&
dev
->
resource
[
pos
];
res
->
name
=
dev
->
dev
.
name
;
res
->
name
=
pci_name
(
dev
)
;
reg
=
PCI_BASE_ADDRESS_0
+
(
pos
<<
2
);
pci_read_config_dword
(
dev
,
reg
,
&
l
);
pci_write_config_dword
(
dev
,
reg
,
~
0
);
...
...
@@ -120,7 +120,7 @@ static void pci_read_bases(struct pci_dev *dev, unsigned int howmany, int rom)
if
(
rom
)
{
dev
->
rom_base_reg
=
rom
;
res
=
&
dev
->
resource
[
PCI_ROM_RESOURCE
];
res
->
name
=
dev
->
dev
.
name
;
res
->
name
=
pci_name
(
dev
)
;
pci_read_config_dword
(
dev
,
rom
,
&
l
);
pci_write_config_dword
(
dev
,
rom
,
~
PCI_ROM_ADDRESS_ENABLE
);
pci_read_config_dword
(
dev
,
rom
,
&
sz
);
...
...
@@ -153,7 +153,7 @@ void __devinit pci_read_bridge_bases(struct pci_bus *child)
return
;
if
(
dev
->
transparent
)
{
printk
(
"Transparent bridge - %s
\n
"
,
dev
->
dev
.
name
);
printk
(
"Transparent bridge - %s
\n
"
,
pci_name
(
dev
)
);
for
(
i
=
0
;
i
<
PCI_BUS_NUM_RESOURCES
;
i
++
)
child
->
resource
[
i
]
=
child
->
parent
->
resource
[
i
];
return
;
...
...
@@ -406,8 +406,6 @@ static int pci_setup_device(struct pci_dev * dev)
dev
->
slot_name
=
dev
->
dev
.
bus_id
;
sprintf
(
pci_name
(
dev
),
"%04x:%02x:%02x.%d"
,
pci_domain_nr
(
dev
->
bus
),
dev
->
bus
->
number
,
PCI_SLOT
(
dev
->
devfn
),
PCI_FUNC
(
dev
->
devfn
));
sprintf
(
dev
->
dev
.
name
,
"PCI device %04x:%04x"
,
dev
->
vendor
,
dev
->
device
);
INIT_LIST_HEAD
(
&
dev
->
pools
);
...
...
@@ -663,7 +661,6 @@ struct pci_bus * __devinit pci_scan_bus_parented(struct device *parent, int bus,
memset
(
b
->
dev
,
0
,
sizeof
(
*
(
b
->
dev
)));
b
->
dev
->
parent
=
parent
;
sprintf
(
b
->
dev
->
bus_id
,
"pci%04x:%02x"
,
pci_domain_nr
(
b
),
bus
);
strcpy
(
b
->
dev
->
name
,
"Host/PCI Bridge"
);
device_register
(
b
->
dev
);
b
->
number
=
b
->
secondary
=
bus
;
...
...
drivers/pci/proc.c
View file @
8d33ca95
...
...
@@ -483,7 +483,12 @@ static int show_dev_config(struct seq_file *m, void *v)
seq_printf
(
m
,
" %s"
,
class
);
else
seq_printf
(
m
,
" Class %04x"
,
class_rev
>>
16
);
seq_printf
(
m
,
": %s (rev %d).
\n
"
,
dev
->
dev
.
name
,
class_rev
&
0xff
);
#ifdef CONFIG_PCI_NAMES
seq_printf
(
m
,
": %s"
,
dev
->
pretty_name
);
#else
seq_printf
(
m
,
": PCI device %04x:%04x"
,
dev
->
vendor
,
dev
->
device
);
#endif
seq_printf
(
m
,
" (rev %d).
\n
"
,
class_rev
&
0xff
);
if
(
dev
->
irq
)
seq_printf
(
m
,
" IRQ %d.
\n
"
,
dev
->
irq
);
...
...
drivers/pci/quirks.c
View file @
8d33ca95
...
...
@@ -219,7 +219,7 @@ static void __devinit quirk_io_region(struct pci_dev *dev, unsigned region, unsi
if
(
region
)
{
struct
resource
*
res
=
dev
->
resource
+
nr
;
res
->
name
=
dev
->
dev
.
name
;
res
->
name
=
pci_name
(
dev
)
;
res
->
start
=
region
;
res
->
end
=
region
+
size
-
1
;
res
->
flags
=
IORESOURCE_IO
;
...
...
drivers/pci/setup-bus.c
View file @
8d33ca95
...
...
@@ -141,7 +141,7 @@ pci_setup_bridge(struct pci_bus *bus)
u32
l
;
DBGC
((
KERN_INFO
"PCI: Bus %d, bridge: %s
\n
"
,
bus
->
number
,
bridge
->
dev
.
name
));
bus
->
number
,
pci_name
(
bridge
)
));
/* Set up the top and bottom of the PCI I/O segment for this bus. */
pcibios_resource_to_bus
(
bridge
,
&
region
,
bus
->
resource
[
0
]);
...
...
@@ -530,6 +530,8 @@ pci_assign_unassigned_resources(void)
for
(
ln
=
pci_root_buses
.
next
;
ln
!=
&
pci_root_buses
;
ln
=
ln
->
next
)
pci_bus_size_bridges
(
pci_bus_b
(
ln
));
/* Depth last, allocate resources and update the hardware. */
for
(
ln
=
pci_root_buses
.
next
;
ln
!=
&
pci_root_buses
;
ln
=
ln
->
next
)
for
(
ln
=
pci_root_buses
.
next
;
ln
!=
&
pci_root_buses
;
ln
=
ln
->
next
)
{
pci_bus_assign_resources
(
pci_bus_b
(
ln
));
pci_enable_bridges
(
pci_bus_b
(
ln
));
}
}
drivers/pci/setup-res.c
View file @
8d33ca95
...
...
@@ -166,7 +166,7 @@ pdev_sort_resources(struct pci_dev *dev, struct resource_list *head)
if
(
!
r_align
)
{
printk
(
KERN_WARNING
"PCI: Ignore bogus resource %d "
"[%lx:%lx] of %s
\n
"
,
i
,
r
->
start
,
r
->
end
,
dev
->
dev
.
name
);
i
,
r
->
start
,
r
->
end
,
pci_name
(
dev
)
);
continue
;
}
r_align
=
(
i
<
PCI_BRIDGE_RESOURCES
)
?
r_align
+
1
:
r
->
start
;
...
...
include/linux/pci.h
View file @
8d33ca95
...
...
@@ -419,6 +419,9 @@ struct pci_dev {
/* These fields are used by common fixups */
unsigned
int
transparent
:
1
;
/* Transparent PCI bridge */
unsigned
int
multifunction
:
1
;
/* Part of multi-function device */
#ifdef CONFIG_PCI_NAMES
char
pretty_name
[
DEVICE_NAME_SIZE
];
/* pretty name for users to see */
#endif
};
#define pci_dev_g(n) list_entry(n, struct pci_dev, global_list)
...
...
include/linux/pci_ids.h
View file @
8d33ca95
...
...
@@ -608,6 +608,7 @@
#define PCI_DEVICE_ID_HP_DIVA_TOSCA1 0x1049
#define PCI_DEVICE_ID_HP_DIVA_TOSCA2 0x104A
#define PCI_DEVICE_ID_HP_DIVA_MAESTRO 0x104B
#define PCI_DEVICE_ID_HP_PCI_LBA 0x1054
#define PCI_DEVICE_ID_HP_REO_SBA 0x10f0
#define PCI_DEVICE_ID_HP_REO_IOC 0x10f1
#define PCI_DEVICE_ID_HP_VISUALIZE_FXE 0x108b
...
...
@@ -616,7 +617,7 @@
#define PCI_DEVICE_ID_HP_DIVA_POWERBAR 0x1227
#define PCI_DEVICE_ID_HP_ZX1_SBA 0x1229
#define PCI_DEVICE_ID_HP_ZX1_IOC 0x122a
#define PCI_DEVICE_ID_HP_
ZX1
_LBA 0x122e
#define PCI_DEVICE_ID_HP_
PCIX
_LBA 0x122e
#define PCI_DEVICE_ID_HP_SX1000_IOC 0x127c
#define PCI_DEVICE_ID_HP_DIVA_EVEREST 0x1282
#define PCI_DEVICE_ID_HP_DIVA_AUX 0x1290
...
...
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