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
fd172807
Commit
fd172807
authored
Mar 06, 2005
by
Jeff Garzik
Browse files
Options
Browse Files
Download
Plain Diff
Merge pobox.com:/garz/repo/netdev-2.6/sk_mca
into pobox.com:/garz/repo/net-drivers-2.6
parents
06e34c35
2bb50058
Changes
2
Expand all
Hide whitespace changes
Inline
Side-by-side
Showing
2 changed files
with
69 additions
and
76 deletions
+69
-76
drivers/net/sk_mca.c
drivers/net/sk_mca.c
+64
-62
drivers/net/sk_mca.h
drivers/net/sk_mca.h
+5
-14
No files found.
drivers/net/sk_mca.c
View file @
fd172807
This diff is collapsed.
Click to expand it.
drivers/net/sk_mca.h
View file @
fd172807
...
@@ -5,16 +5,6 @@
...
@@ -5,16 +5,6 @@
#ifdef _SK_MCA_DRIVER_
#ifdef _SK_MCA_DRIVER_
/* version-dependent functions/structures */
#define SKMCA_READB(addr) isa_readb(addr)
#define SKMCA_READW(addr) isa_readw(addr)
#define SKMCA_WRITEB(data, addr) isa_writeb(data, addr)
#define SKMCA_WRITEW(data, addr) isa_writew(data, addr)
#define SKMCA_TOIO(dest, src, len) isa_memcpy_toio(dest, src, len)
#define SKMCA_FROMIO(dest, src, len) isa_memcpy_fromio(dest, src, len)
#define SKMCA_SETIO(dest, val, len) isa_memset_io(dest, val, len)
/* Adapter ID's */
/* Adapter ID's */
#define SKNET_MCA_ID 0x6afd
#define SKNET_MCA_ID 0x6afd
#define SKNET_JUNIOR_MCA_ID 0x6be9
#define SKNET_JUNIOR_MCA_ID 0x6be9
...
@@ -29,10 +19,11 @@ typedef enum { Media_10Base2, Media_10BaseT,
...
@@ -29,10 +19,11 @@ typedef enum { Media_10Base2, Media_10BaseT,
/* private structure */
/* private structure */
typedef
struct
{
typedef
struct
{
unsigned
int
slot
;
/* MCA-Slot-# */
unsigned
int
slot
;
/* MCA-Slot-# */
unsigned
int
macbase
;
/* base address of MAC address PROM */
void
__iomem
*
base
;
unsigned
int
ioregaddr
;
/* address of I/O-register (Lo) */
void
__iomem
*
macbase
;
/* base address of MAC address PROM */
unsigned
int
ctrladdr
;
/* address of control/stat register */
void
__iomem
*
ioregaddr
;
/* address of I/O-register (Lo) */
unsigned
int
cmdaddr
;
/* address of I/O-command register */
void
__iomem
*
ctrladdr
;
/* address of control/stat register */
void
__iomem
*
cmdaddr
;
/* address of I/O-command register */
int
nextrx
;
/* index of next RX descriptor to
int
nextrx
;
/* index of next RX descriptor to
be read */
be read */
int
nexttxput
;
/* index of next free TX descriptor */
int
nexttxput
;
/* index of next free TX descriptor */
...
...
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