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
06d61cbf
Commit
06d61cbf
authored
Nov 11, 2005
by
Jeff Garzik
Browse files
Options
Browse Files
Download
Plain Diff
Merge branch 'sky2'
parents
34afd638
d0bbccfa
Changes
5
Expand all
Hide whitespace changes
Inline
Side-by-side
Showing
5 changed files
with
4975 additions
and
3 deletions
+4975
-3
drivers/net/Kconfig
drivers/net/Kconfig
+19
-1
drivers/net/Makefile
drivers/net/Makefile
+1
-0
drivers/net/sky2.c
drivers/net/sky2.c
+3039
-0
drivers/net/sky2.h
drivers/net/sky2.h
+1910
-0
include/linux/netdevice.h
include/linux/netdevice.h
+6
-2
No files found.
drivers/net/Kconfig
View file @
06d61cbf
...
...
@@ -2008,7 +2008,25 @@ config SKGE
It does not support the link failover and network management
features that "portable" vendor supplied sk98lin driver does.
config SKY2
tristate "SysKonnect Yukon2 support (EXPERIMENTAL)"
depends on PCI && EXPERIMENTAL
select CRC32
---help---
This driver support the Marvell Yukon 2 Gigabit Ethernet adapter.
To compile this driver as a module, choose M here: the module
will be called sky2. This is recommended.
config SKY2_EC_A1
bool "Support old Yukon-EC A1 chipset"
depends on SKY2
---help---
Include support for early revisions of the Yukon EC chipset
that required extra workarounds. If in doubt, say N.
config SK98LIN
tristate "Marvell Yukon Chipset / SysKonnect SK-98xx Support"
depends on PCI
...
...
drivers/net/Makefile
View file @
06d61cbf
...
...
@@ -59,6 +59,7 @@ spidernet-y += spider_net.o spider_net_ethtool.o sungem_phy.o
obj-$(CONFIG_SPIDER_NET)
+=
spidernet.o
obj-$(CONFIG_TC35815)
+=
tc35815.o
obj-$(CONFIG_SKGE)
+=
skge.o
obj-$(CONFIG_SKY2)
+=
sky2.o
obj-$(CONFIG_SK98LIN)
+=
sk98lin/
obj-$(CONFIG_SKFP)
+=
skfp/
obj-$(CONFIG_VIA_RHINE)
+=
via-rhine.o
...
...
drivers/net/sky2.c
0 → 100644
View file @
06d61cbf
This diff is collapsed.
Click to expand it.
drivers/net/sky2.h
0 → 100644
View file @
06d61cbf
This diff is collapsed.
Click to expand it.
include/linux/netdevice.h
View file @
06d61cbf
...
...
@@ -802,11 +802,15 @@ static inline u32 netif_msg_init(int debug_value, int default_msg_enable_bits)
}
/* Schedule rx intr now? */
static
inline
int
netif_rx_schedule_test
(
struct
net_device
*
dev
)
{
return
!
test_and_set_bit
(
__LINK_STATE_RX_SCHED
,
&
dev
->
state
);
}
/* Schedule only if device is up */
static
inline
int
netif_rx_schedule_prep
(
struct
net_device
*
dev
)
{
return
netif_running
(
dev
)
&&
!
test_and_set_bit
(
__LINK_STATE_RX_SCHED
,
&
dev
->
state
);
return
netif_running
(
dev
)
&&
netif_rx_schedule_test
(
dev
);
}
/* Add interface to tail of rx poll list. This assumes that _prep has
...
...
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