if_udavreg.h (192984) | if_udavreg.h (194228) |
---|---|
1/* $NetBSD: if_udavreg.h,v 1.2 2003/09/04 15:17:39 tsutsui Exp $ */ 2/* $nabe: if_udavreg.h,v 1.2 2003/08/21 16:26:40 nabe Exp $ */ | 1/* $NetBSD: if_udavreg.h,v 1.2 2003/09/04 15:17:39 tsutsui Exp $ */ 2/* $nabe: if_udavreg.h,v 1.2 2003/08/21 16:26:40 nabe Exp $ */ |
3/* $FreeBSD: head/sys/dev/usb/net/if_udavreg.h 192984 2009-05-28 17:36:36Z thompsa $ */ | 3/* $FreeBSD: head/sys/dev/usb/net/if_udavreg.h 194228 2009-06-15 01:02:43Z thompsa $ */ |
4/*- 5 * Copyright (c) 2003 6 * Shingo WATANABE <nabe@nabechan.org>. All rights reserved. 7 * 8 * Redistribution and use in source and binary forms, with or without 9 * modification, are permitted provided that the following conditions 10 * are met: 11 * 1. Redistributions of source code must retain the above copyright --- 120 unchanged lines hidden (view full) --- 132#define UDAV_GPR_GEPIO6 (1<<6) /* General purpose 6 */ 133#define UDAV_GPR_GEPIO5 (1<<5) /* General purpose 5 */ 134#define UDAV_GPR_GEPIO4 (1<<4) /* General purpose 4 */ 135#define UDAV_GPR_GEPIO3 (1<<3) /* General purpose 3 */ 136#define UDAV_GPR_GEPIO2 (1<<2) /* General purpose 2 */ 137#define UDAV_GPR_GEPIO1 (1<<1) /* General purpose 1 */ 138#define UDAV_GPR_GEPIO0 (1<<0) /* General purpose 0 */ 139 | 4/*- 5 * Copyright (c) 2003 6 * Shingo WATANABE <nabe@nabechan.org>. All rights reserved. 7 * 8 * Redistribution and use in source and binary forms, with or without 9 * modification, are permitted provided that the following conditions 10 * are met: 11 * 1. Redistributions of source code must retain the above copyright --- 120 unchanged lines hidden (view full) --- 132#define UDAV_GPR_GEPIO6 (1<<6) /* General purpose 6 */ 133#define UDAV_GPR_GEPIO5 (1<<5) /* General purpose 5 */ 134#define UDAV_GPR_GEPIO4 (1<<4) /* General purpose 4 */ 135#define UDAV_GPR_GEPIO3 (1<<3) /* General purpose 3 */ 136#define UDAV_GPR_GEPIO2 (1<<2) /* General purpose 2 */ 137#define UDAV_GPR_GEPIO1 (1<<1) /* General purpose 1 */ 138#define UDAV_GPR_GEPIO0 (1<<0) /* General purpose 0 */ 139 |
140#define GET_MII(sc) usb2_ether_getmii(&(sc)->sc_ue) | 140#define GET_MII(sc) uether_getmii(&(sc)->sc_ue) |
141 142struct udav_rxpkt { 143 uint8_t rxstat; 144 uint16_t pktlen; 145} __packed; 146 147enum { 148 UDAV_BULK_DT_WR, --- 18 unchanged lines hidden --- | 141 142struct udav_rxpkt { 143 uint8_t rxstat; 144 uint16_t pktlen; 145} __packed; 146 147enum { 148 UDAV_BULK_DT_WR, --- 18 unchanged lines hidden --- |