projects
/
GitHub
/
LineageOS
/
android_kernel_motorola_exynos9610.git
/ commitdiff
commit
grep
author
committer
pickaxe
?
search:
re
summary
|
shortlog
|
log
|
commit
| commitdiff |
tree
raw
|
patch
| inline |
side by side
(parent:
709c6e7
)
sky2: advertising register 16 bits
author
Stephen Hemminger
<shemminger@osdl.org>
Tue, 17 Oct 2006 17:24:07 +0000
(10:24 -0700)
committer
Stephen Hemminger
<shemminger@osdl.org>
Tue, 17 Oct 2006 17:24:07 +0000
(10:24 -0700)
The advertising bits (from ethtool.h) fit in 16 bits.
drivers/net/sky2.h
patch
|
blob
|
blame
|
history
diff --git
a/drivers/net/sky2.h
b/drivers/net/sky2.h
index 43d2accf60e12ccdbfaf57c4e166c30492936dd3..0a8d8210679a30c146ab7dd6200b5d3857554a7e 100644
(file)
--- a/
drivers/net/sky2.h
+++ b/
drivers/net/sky2.h
@@
-1860,7
+1860,7
@@
struct sky2_port {
dma_addr_t rx_le_map;
dma_addr_t tx_le_map;
- u
32
advertising; /* ADVERTISED_ bits */
+ u
16
advertising; /* ADVERTISED_ bits */
u16 speed; /* SPEED_1000, SPEED_100, ... */
u8 autoneg; /* AUTONEG_ENABLE, AUTONEG_DISABLE */
u8 duplex; /* DUPLEX_HALF, DUPLEX_FULL */