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
55150d39
Commit
55150d39
authored
Jan 10, 2004
by
Alexander Viro
Committed by
Stephen Hemminger
Jan 10, 2004
Browse files
Options
Browse Files
Download
Email Patches
Plain Diff
[netdrvr iph5526] use SET_MODULE_OWNER; small typedef cleanup
parent
8eae3005
Changes
2
Hide whitespace changes
Inline
Side-by-side
Showing
2 changed files
with
2 additions
and
3 deletions
+2
-3
drivers/net/fc/iph5526.c
drivers/net/fc/iph5526.c
+1
-2
drivers/net/fc/iph5526_scsi.h
drivers/net/fc/iph5526_scsi.h
+1
-1
No files found.
drivers/net/fc/iph5526.c
View file @
55150d39
...
...
@@ -259,6 +259,7 @@ static int __init iph5526_probe_pci(struct net_device *dev)
static
int
__init
fcdev_init
(
struct
net_device
*
dev
)
{
SET_MODULE_OWNER
(
dev
);
dev
->
open
=
iph5526_open
;
dev
->
stop
=
iph5526_close
;
dev
->
hard_start_xmit
=
iph5526_send_packet
;
...
...
@@ -2896,14 +2897,12 @@ static void update_EDB_indx(struct fc_info *fi)
static
int
iph5526_open
(
struct
net_device
*
dev
)
{
netif_start_queue
(
dev
);
MOD_INC_USE_COUNT
;
return
0
;
}
static
int
iph5526_close
(
struct
net_device
*
dev
)
{
netif_stop_queue
(
dev
);
MOD_DEC_USE_COUNT
;
return
0
;
}
...
...
drivers/net/fc/iph5526_scsi.h
View file @
55150d39
...
...
@@ -25,7 +25,7 @@ int iph5526_queuecommand(Scsi_Cmnd *Cmnd, void (*done) (Scsi_Cmnd *));
int
iph5526_release
(
struct
Scsi_Host
*
host
);
int
iph5526_abort
(
Scsi_Cmnd
*
Cmnd
);
const
char
*
iph5526_info
(
struct
Scsi_Host
*
host
);
int
iph5526_biosparam
(
Disk
*
disk
,
struct
block_device
*
n
,
int
ip
[]);
int
iph5526_biosparam
(
struct
Scsi_
Disk
*
disk
,
struct
block_device
*
n
,
int
ip
[]);
#endif
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