Deleted Added
full compact
9c9
< * $FreeBSD: head/sys/dev/ed/if_edreg.h 70154 2000-12-18 15:28:53Z toshi $
---
> * $FreeBSD: head/sys/dev/ed/if_edreg.h 73374 2001-03-03 08:31:37Z imp $
1115a1116,1144
>
> /*
> * MII bus definitions.
> */
> #define ED_MII_STARTDELIM 0x01
> #define ED_MII_WRITEOP 0x01
> #define ED_MII_READOP 0x02
> #define ED_MII_TURNAROUND 0x02
> #define ED_MII_IDLE 0x01
>
> #define ED_MII_STARTDELIM_BITS 2
> #define ED_MII_OP_BITS 2
> #define ED_MII_PHY_BITS 5
> #define ED_MII_REG_BITS 5
> #define ED_MII_TURNAROUND_BITS 2
> #define ED_MII_DATA_BITS 16
> #define ED_MII_ACK_BITS 1
> #define ED_MII_IDLE_BITS 1
>
> /* Dlink chipset used on some Netgear and Dlink PCMCIA cards */
> #define ED_DLINK_MIIBUS 0x0c /* MII bus register on ASIC */
>
> #define ED_DLINK_MII_RESET1 0x04
> #define ED_DLINK_MII_RESET2 0x08
>
> #define ED_DLINK_MII_DATATIN 0x10
> #define ED_DLINK_MII_DIROUT 0x20
> #define ED_DLINK_MII_DATAOUT 0x40
> #define ED_DLINK_MII_CLK 0x80