Skip to content
Projects
Groups
Snippets
Help
Loading...
Help
Support
Keyboard shortcuts
?
Submit feedback
Contribute to GitLab
Sign in
Toggle navigation
L
linux-davinci
Project overview
Project overview
Details
Activity
Releases
Repository
Repository
Files
Commits
Branches
Tags
Contributors
Graph
Compare
Issues
0
Issues
0
List
Boards
Labels
Milestones
Redmine
Redmine
Merge Requests
0
Merge Requests
0
CI / CD
CI / CD
Pipelines
Jobs
Schedules
Operations
Operations
Metrics
Environments
Analytics
Analytics
CI / CD
Repository
Value Stream
Wiki
Wiki
Snippets
Snippets
Members
Members
Collapse sidebar
Close sidebar
Activity
Graph
Create a new issue
Jobs
Commits
Issue Boards
Open sidebar
linux
linux-davinci
Commits
cccb20d3
Commit
cccb20d3
authored
Aug 16, 2006
by
Francois Romieu
Browse files
Options
Browse Files
Download
Email Patches
Plain Diff
8139cp: use PCI_DEVICE() to shorten the PCI device table
Signed-off-by:
Francois Romieu
<
romieu@fr.zoreil.com
>
parent
7668a494
Changes
1
Show whitespace changes
Inline
Side-by-side
Showing
1 changed file
with
2 additions
and
4 deletions
+2
-4
drivers/net/8139cp.c
drivers/net/8139cp.c
+2
-4
No files found.
drivers/net/8139cp.c
View file @
cccb20d3
...
...
@@ -406,10 +406,8 @@ static int cp_set_eeprom(struct net_device *dev,
struct
ethtool_eeprom
*
eeprom
,
u8
*
data
);
static
struct
pci_device_id
cp_pci_tbl
[]
=
{
{
PCI_VENDOR_ID_REALTEK
,
PCI_DEVICE_ID_REALTEK_8139
,
PCI_ANY_ID
,
PCI_ANY_ID
,
0
,
0
,
},
{
PCI_VENDOR_ID_TTTECH
,
PCI_DEVICE_ID_TTTECH_MC322
,
PCI_ANY_ID
,
PCI_ANY_ID
,
0
,
0
,
},
{
PCI_DEVICE
(
PCI_VENDOR_ID_REALTEK
,
PCI_DEVICE_ID_REALTEK_8139
),
},
{
PCI_DEVICE
(
PCI_VENDOR_ID_TTTECH
,
PCI_DEVICE_ID_TTTECH_MC322
),
},
{
},
};
MODULE_DEVICE_TABLE
(
pci
,
cp_pci_tbl
);
...
...
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