diff options
| author | Linus Torvalds <torvalds@linux-foundation.org> | 2008-02-04 10:43:36 -0500 |
|---|---|---|
| committer | Linus Torvalds <torvalds@linux-foundation.org> | 2008-02-04 10:43:36 -0500 |
| commit | a2e4e108c511738fb3bc2bb2fedd593da9913764 (patch) | |
| tree | 49e4084a383ed43e2d86a36176e197f6b7412a45 /include/linux/phy.h | |
| parent | a6cc48eeea438b9d9e05943beebc31c52e76d32f (diff) | |
| parent | a80f509f4a4f41ea8693733124470ad63a12664a (diff) | |
Merge git://git.kernel.org/pub/scm/linux/kernel/git/davem/net-2.6
* git://git.kernel.org/pub/scm/linux/kernel/git/davem/net-2.6: (77 commits)
[IPV6]: Reorg struct ifmcaddr6 to save some bytes
[INET_TIMEWAIT_SOCK]: Reorganize struct inet_timewait_sock to save some bytes
[DCCP]: Reorganize struct dccp_sock to save 8 bytes
[INET6]: Reorganize struct inet6_dev to save 8 bytes
[SOCK] proto: Add hashinfo member to struct proto
EMAC driver: Fix bug: The clock divisor is set to all ones at reset.
EMAC driver: fix bug - invalidate data cache of new_skb->data range when cache is WB
EMAC driver: add power down mode
EMAC driver: ADSP-BF52x arch/mach support
EMAC driver: use simpler comment headers and strip out information that is maintained in the scm's log
EMAC driver: bf537 MAC multicast hash filtering patch
EMAC driver: define MDC_CLK=2.5MHz and caculate mdc_div according to SCLK.
EMAC driver: shorten the mdelay value to solve netperf performance issue
[netdrvr] sis190: build fix
sky2: fix Wake On Lan interaction with BIOS
sky2: restore multicast addresses after recovery
pci-skeleton: Misc fixes to build neatly
phylib: Add Realtek 821x eth PHY support
natsemi: Update locking documentation
PHYLIB: Locking fixes for PHY I/O potentially sleeping
...
Diffstat (limited to 'include/linux/phy.h')
| -rw-r--r-- | include/linux/phy.h | 5 |
1 files changed, 3 insertions, 2 deletions
diff --git a/include/linux/phy.h b/include/linux/phy.h index 554836edd915..5e43ae751412 100644 --- a/include/linux/phy.h +++ b/include/linux/phy.h | |||
| @@ -88,7 +88,7 @@ struct mii_bus { | |||
| 88 | 88 | ||
| 89 | /* A lock to ensure that only one thing can read/write | 89 | /* A lock to ensure that only one thing can read/write |
| 90 | * the MDIO bus at a time */ | 90 | * the MDIO bus at a time */ |
| 91 | spinlock_t mdio_lock; | 91 | struct mutex mdio_lock; |
| 92 | 92 | ||
| 93 | struct device *dev; | 93 | struct device *dev; |
| 94 | 94 | ||
| @@ -284,10 +284,11 @@ struct phy_device { | |||
| 284 | 284 | ||
| 285 | /* Interrupt and Polling infrastructure */ | 285 | /* Interrupt and Polling infrastructure */ |
| 286 | struct work_struct phy_queue; | 286 | struct work_struct phy_queue; |
| 287 | struct work_struct state_queue; | ||
| 287 | struct timer_list phy_timer; | 288 | struct timer_list phy_timer; |
| 288 | atomic_t irq_disable; | 289 | atomic_t irq_disable; |
| 289 | 290 | ||
| 290 | spinlock_t lock; | 291 | struct mutex lock; |
| 291 | 292 | ||
| 292 | struct net_device *attached_dev; | 293 | struct net_device *attached_dev; |
| 293 | 294 | ||
