Deleted Added
full compact
if_myreg.h (139749) if_myreg.h (147256)
1/*-
2 * Copyright (c) 2002 Myson Technology Inc.
3 * All rights reserved.
4 *
5 * Redistribution and use in source and binary forms, with or without
6 * modification, are permitted provided that the following conditions
7 * are met:
8 * 1. Redistributions of source code must retain the above copyright

--- 11 unchanged lines hidden (view full) ---

20 * OR SERVICES; LOSS OF USE, DATA, OR PROFITS; OR BUSINESS INTERRUPTION)
21 * HOWEVER CAUSED AND ON ANY THEORY OF LIABILITY, WHETHER IN CONTRACT, STRICT
22 * LIABILITY, OR TORT (INCLUDING NEGLIGENCE OR OTHERWISE) ARISING IN ANY WAY
23 * OUT OF THE USE OF THIS SOFTWARE, EVEN IF ADVISED OF THE POSSIBILITY OF
24 * SUCH DAMAGE.
25 *
26 * Written by: yen_cw@myson.com.tw available at: http://www.myson.com.tw/
27 *
1/*-
2 * Copyright (c) 2002 Myson Technology Inc.
3 * All rights reserved.
4 *
5 * Redistribution and use in source and binary forms, with or without
6 * modification, are permitted provided that the following conditions
7 * are met:
8 * 1. Redistributions of source code must retain the above copyright

--- 11 unchanged lines hidden (view full) ---

20 * OR SERVICES; LOSS OF USE, DATA, OR PROFITS; OR BUSINESS INTERRUPTION)
21 * HOWEVER CAUSED AND ON ANY THEORY OF LIABILITY, WHETHER IN CONTRACT, STRICT
22 * LIABILITY, OR TORT (INCLUDING NEGLIGENCE OR OTHERWISE) ARISING IN ANY WAY
23 * OUT OF THE USE OF THIS SOFTWARE, EVEN IF ADVISED OF THE POSSIBILITY OF
24 * SUCH DAMAGE.
25 *
26 * Written by: yen_cw@myson.com.tw available at: http://www.myson.com.tw/
27 *
28 * $FreeBSD: head/sys/dev/my/if_myreg.h 139749 2005-01-06 01:43:34Z imp $
28 * $FreeBSD: head/sys/dev/my/if_myreg.h 147256 2005-06-10 16:49:24Z brooks $
29 *
30 * Myson MTD80x register definitions.
31 *
32 */
33#define MY_PAR0 0x0 /* physical address 0-3 */
34#define MY_PAR1 0x04 /* physical address 4-5 */
35#define MY_MAR0 0x08 /* multicast address 0-3 */
36#define MY_MAR1 0x0C /* multicast address 4-7 */

--- 308 unchanged lines hidden (view full) ---

345 char *my_name;
346};
347
348#define MY_FLAG_FORCEDELAY 1
349#define MY_FLAG_SCHEDDELAY 2
350#define MY_FLAG_DELAYTIMEO 3
351
352struct my_softc {
29 *
30 * Myson MTD80x register definitions.
31 *
32 */
33#define MY_PAR0 0x0 /* physical address 0-3 */
34#define MY_PAR1 0x04 /* physical address 4-5 */
35#define MY_MAR0 0x08 /* multicast address 0-3 */
36#define MY_MAR1 0x0C /* multicast address 4-7 */

--- 308 unchanged lines hidden (view full) ---

345 char *my_name;
346};
347
348#define MY_FLAG_FORCEDELAY 1
349#define MY_FLAG_SCHEDDELAY 2
350#define MY_FLAG_DELAYTIMEO 3
351
352struct my_softc {
353 struct arpcom arpcom; /* interface info */
353 struct ifnet *my_ifp;
354 struct ifmedia ifmedia; /* media info */
355 bus_space_handle_t my_bhandle;
356 bus_space_tag_t my_btag;
357 struct my_type *my_info; /* adapter info */
358 struct my_type *my_pinfo; /* phy info */
359 struct resource *my_res;
360 struct resource *my_irq;
361 void *my_intrhand;

--- 224 unchanged lines hidden ---
354 struct ifmedia ifmedia; /* media info */
355 bus_space_handle_t my_bhandle;
356 bus_space_tag_t my_btag;
357 struct my_type *my_info; /* adapter info */
358 struct my_type *my_pinfo; /* phy info */
359 struct resource *my_res;
360 struct resource *my_irq;
361 void *my_intrhand;

--- 224 unchanged lines hidden ---