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
030fd2d8
Commit
030fd2d8
authored
Aug 17, 2003
by
Jeff Garzik
Browse files
Options
Browse Files
Download
Email Patches
Plain Diff
[netdrvr] clean up driver object name removal breakage
Affected drivers: atmel_cs, olympic, 3c359
parent
03e4e085
Changes
3
Show whitespace changes
Inline
Side-by-side
Showing
3 changed files
with
3 additions
and
3 deletions
+3
-3
drivers/net/tokenring/3c359.c
drivers/net/tokenring/3c359.c
+1
-1
drivers/net/tokenring/olympic.c
drivers/net/tokenring/olympic.c
+2
-1
drivers/net/wireless/atmel_cs.c
drivers/net/wireless/atmel_cs.c
+0
-1
No files found.
drivers/net/tokenring/3c359.c
View file @
030fd2d8
...
@@ -315,7 +315,7 @@ int __devinit xl_probe(struct pci_dev *pdev, const struct pci_device_id *ent)
...
@@ -315,7 +315,7 @@ int __devinit xl_probe(struct pci_dev *pdev, const struct pci_device_id *ent)
dev
->
irq
=
pdev
->
irq
;
dev
->
irq
=
pdev
->
irq
;
dev
->
base_addr
=
pci_resource_start
(
pdev
,
0
)
;
dev
->
base_addr
=
pci_resource_start
(
pdev
,
0
)
;
dev
->
init
=
NULL
;
/* Must be null with new api, otherwise get called twice */
dev
->
init
=
NULL
;
/* Must be null with new api, otherwise get called twice */
xl_priv
->
xl_card_name
=
(
char
*
)
pdev
->
dev
.
name
;
xl_priv
->
xl_card_name
=
pci_name
(
pdev
);
xl_priv
->
xl_mmio
=
ioremap
(
pci_resource_start
(
pdev
,
1
),
XL_IO_SPACE
);
xl_priv
->
xl_mmio
=
ioremap
(
pci_resource_start
(
pdev
,
1
),
XL_IO_SPACE
);
xl_priv
->
pdev
=
pdev
;
xl_priv
->
pdev
=
pdev
;
...
...
drivers/net/tokenring/olympic.c
View file @
030fd2d8
...
@@ -230,9 +230,10 @@ static int __devinit olympic_probe(struct pci_dev *pdev, const struct pci_device
...
@@ -230,9 +230,10 @@ static int __devinit olympic_probe(struct pci_dev *pdev, const struct pci_device
dev
->
irq
=
pdev
->
irq
;
dev
->
irq
=
pdev
->
irq
;
dev
->
base_addr
=
pci_resource_start
(
pdev
,
0
);
dev
->
base_addr
=
pci_resource_start
(
pdev
,
0
);
dev
->
init
=
NULL
;
/* Must be NULL otherwise we get called twice */
dev
->
init
=
NULL
;
/* Must be NULL otherwise we get called twice */
olympic_priv
->
olympic_card_name
=
(
char
*
)
pdev
->
dev
.
name
;
olympic_priv
->
olympic_card_name
=
pci_name
(
pdev
);
olympic_priv
->
olympic_mmio
=
ioremap
(
pci_resource_start
(
pdev
,
1
),
256
);
olympic_priv
->
olympic_mmio
=
ioremap
(
pci_resource_start
(
pdev
,
1
),
256
);
olympic_priv
->
olympic_lap
=
ioremap
(
pci_resource_start
(
pdev
,
2
),
2048
);
olympic_priv
->
olympic_lap
=
ioremap
(
pci_resource_start
(
pdev
,
2
),
2048
);
#warning check ioremap return value
olympic_priv
->
pdev
=
pdev
;
olympic_priv
->
pdev
=
pdev
;
if
((
pkt_buf_sz
[
card_no
]
<
100
)
||
(
pkt_buf_sz
[
card_no
]
>
18000
)
)
if
((
pkt_buf_sz
[
card_no
]
<
100
)
||
(
pkt_buf_sz
[
card_no
]
>
18000
)
)
...
...
drivers/net/wireless/atmel_cs.c
View file @
030fd2d8
...
@@ -379,7 +379,6 @@ static struct {
...
@@ -379,7 +379,6 @@ static struct {
/* This is strictly temporary, until PCMCIA devices get integrated into the device model. */
/* This is strictly temporary, until PCMCIA devices get integrated into the device model. */
static
struct
device
atmel_device
=
{
static
struct
device
atmel_device
=
{
.
name
=
"Atmel at76c50x wireless"
,
.
bus_id
=
"pcmcia"
,
.
bus_id
=
"pcmcia"
,
};
};
...
...
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