if_fe.c (315221) | if_fe.c (347962) |
---|---|
1/*- 2 * All Rights Reserved, Copyright (C) Fujitsu Limited 1995 3 * 4 * This software may be used, modified, copied, distributed, and sold, in 5 * both source and binary form provided that the above copyright, these 6 * terms and the following disclaimer are retained. The name of the author 7 * and/or the contributor may not be used to endorse or promote products 8 * derived from this software without specific prior written permission. --- 7 unchanged lines hidden (view full) --- 16 * OR SERVICES; LOSS OF USE, DATA, OR PROFITS; OR BUSINESS INTERRUPTION. 17 * HOWEVER CAUSED AND ON ANY THEORY OF LIABILITY, WHETHER IN CONTRACT, STRICT 18 * LIABILITY, OR TORT (INCLUDING NEGLIGENCE OR OTHERWISE) ARISING IN ANY WAY 19 * OUT OF THE USE OF THIS SOFTWARE, EVEN IF ADVISED OF THE POSSIBILITY OF 20 * SUCH DAMAGE. 21 */ 22 23#include <sys/cdefs.h> | 1/*- 2 * All Rights Reserved, Copyright (C) Fujitsu Limited 1995 3 * 4 * This software may be used, modified, copied, distributed, and sold, in 5 * both source and binary form provided that the above copyright, these 6 * terms and the following disclaimer are retained. The name of the author 7 * and/or the contributor may not be used to endorse or promote products 8 * derived from this software without specific prior written permission. --- 7 unchanged lines hidden (view full) --- 16 * OR SERVICES; LOSS OF USE, DATA, OR PROFITS; OR BUSINESS INTERRUPTION. 17 * HOWEVER CAUSED AND ON ANY THEORY OF LIABILITY, WHETHER IN CONTRACT, STRICT 18 * LIABILITY, OR TORT (INCLUDING NEGLIGENCE OR OTHERWISE) ARISING IN ANY WAY 19 * OUT OF THE USE OF THIS SOFTWARE, EVEN IF ADVISED OF THE POSSIBILITY OF 20 * SUCH DAMAGE. 21 */ 22 23#include <sys/cdefs.h> |
24__FBSDID("$FreeBSD: stable/11/sys/dev/fe/if_fe.c 315221 2017-03-14 02:06:03Z pfg $"); | 24__FBSDID("$FreeBSD: stable/11/sys/dev/fe/if_fe.c 347962 2019-05-18 20:43:13Z brooks $"); |
25 26/* 27 * 28 * Device driver for Fujitsu MB86960A/MB86965A based Ethernet cards. 29 * Contributed by M. Sekiguchi. <seki@sysrap.cs.fujitsu.co.jp> 30 * 31 * This version is intended to be a generic template for various 32 * MB86960A/MB86965A based Ethernet cards. It currently supports --- 832 unchanged lines hidden (view full) --- 865 } 866 if (sc->stability & UNSTABLE_IRQ) 867 device_printf(dev, "warning: IRQ number may be incorrect\n"); 868 if (sc->stability & UNSTABLE_MAC) 869 device_printf(dev, "warning: above MAC address may be incorrect\n"); 870 if (sc->stability & UNSTABLE_TYPE) 871 device_printf(dev, "warning: hardware type was not validated\n"); 872 | 25 26/* 27 * 28 * Device driver for Fujitsu MB86960A/MB86965A based Ethernet cards. 29 * Contributed by M. Sekiguchi. <seki@sysrap.cs.fujitsu.co.jp> 30 * 31 * This version is intended to be a generic template for various 32 * MB86960A/MB86965A based Ethernet cards. It currently supports --- 832 unchanged lines hidden (view full) --- 865 } 866 if (sc->stability & UNSTABLE_IRQ) 867 device_printf(dev, "warning: IRQ number may be incorrect\n"); 868 if (sc->stability & UNSTABLE_MAC) 869 device_printf(dev, "warning: above MAC address may be incorrect\n"); 870 if (sc->stability & UNSTABLE_TYPE) 871 device_printf(dev, "warning: hardware type was not validated\n"); 872 |
873 gone_by_fcp101_dev(dev); 874 |
|
873 return 0; 874} 875 876int 877fe_alloc_port(device_t dev, int size) 878{ 879 struct fe_softc *sc = device_get_softc(dev); 880 struct resource *res; --- 1385 unchanged lines hidden --- | 875 return 0; 876} 877 878int 879fe_alloc_port(device_t dev, int size) 880{ 881 struct fe_softc *sc = device_get_softc(dev); 882 struct resource *res; --- 1385 unchanged lines hidden --- |