Skip to content

Commit

Permalink
---
Browse files Browse the repository at this point in the history
yaml
---
r: 75577
b: refs/heads/master
c: 44b1e77
h: refs/heads/master
i:
  75575: a19e0a9
v: v3
  • Loading branch information
Al Viro authored and Jeff Garzik committed Jan 18, 2008
1 parent d6d47c5 commit d028c6e
Show file tree
Hide file tree
Showing 2 changed files with 3 additions and 11 deletions.
2 changes: 1 addition & 1 deletion [refs]
Original file line number Diff line number Diff line change
@@ -1,2 +1,2 @@
---
refs/heads/master: 409cd63e6ef6a1aa05baa5bbff5521d62acd246d
refs/heads/master: 44b1e77a0275975f3bd8bdeba6c5524105216d6d
12 changes: 2 additions & 10 deletions trunk/drivers/net/wan/lmc/lmc_media.c
Original file line number Diff line number Diff line change
Expand Up @@ -890,16 +890,8 @@ write_av9110 (lmc_softc_t * sc, u_int32_t n, u_int32_t m, u_int32_t v,
static void
lmc_ssi_watchdog (lmc_softc_t * const sc)
{
u_int16_t mii17;
struct ssicsr2
{
unsigned short dtr:1, dsr:1, rts:1, cable:3, crc:1, led0:1, led1:1,
led2:1, led3:1, fifo:1, ll:1, rl:1, tm:1, loop:1;
};
struct ssicsr2 *ssicsr;
mii17 = lmc_mii_readreg (sc, 0, 17);
ssicsr = (struct ssicsr2 *) &mii17;
if (ssicsr->cable == 7)
u_int16_t mii17 = lmc_mii_readreg (sc, 0, 17);
if (((mii17 >> 3) & 7) == 7)
{
lmc_led_off (sc, LMC_MII16_LED2);
}
Expand Down

0 comments on commit d028c6e

Please sign in to comment.