qla_os.c (267375) | qla_os.c (270856) |
---|---|
1/* 2 * Copyright (c) 2011-2013 Qlogic Corporation 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 * --- 17 unchanged lines hidden (view full) --- 26 */ 27 28/* 29 * File: qla_os.c 30 * Author : David C Somayajulu, Qlogic Corporation, Aliso Viejo, CA 92656. 31 */ 32 33#include <sys/cdefs.h> | 1/* 2 * Copyright (c) 2011-2013 Qlogic Corporation 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 * --- 17 unchanged lines hidden (view full) --- 26 */ 27 28/* 29 * File: qla_os.c 30 * Author : David C Somayajulu, Qlogic Corporation, Aliso Viejo, CA 92656. 31 */ 32 33#include <sys/cdefs.h> |
34__FBSDID("$FreeBSD: head/sys/dev/qlxgb/qla_os.c 267375 2014-06-11 20:44:02Z jhb $"); | 34__FBSDID("$FreeBSD: head/sys/dev/qlxgb/qla_os.c 270856 2014-08-30 19:55:54Z glebius $"); |
35 36#include "qla_os.h" 37#include "qla_reg.h" 38#include "qla_hw.h" 39#include "qla_def.h" 40#include "qla_inline.h" 41#include "qla_ver.h" 42#include "qla_glbl.h" --- 651 unchanged lines hidden (view full) --- 694 695#if defined(__FreeBSD_version) && (__FreeBSD_version < 900002) 696 ifp->if_timer = 0; 697 ifp->if_watchdog = NULL; 698#endif /* #if defined(__FreeBSD_version) && (__FreeBSD_version < 900002) */ 699 700 ifp->if_capenable = ifp->if_capabilities; 701 | 35 36#include "qla_os.h" 37#include "qla_reg.h" 38#include "qla_hw.h" 39#include "qla_def.h" 40#include "qla_inline.h" 41#include "qla_ver.h" 42#include "qla_glbl.h" --- 651 unchanged lines hidden (view full) --- 694 695#if defined(__FreeBSD_version) && (__FreeBSD_version < 900002) 696 ifp->if_timer = 0; 697 ifp->if_watchdog = NULL; 698#endif /* #if defined(__FreeBSD_version) && (__FreeBSD_version < 900002) */ 699 700 ifp->if_capenable = ifp->if_capabilities; 701 |
702 ifp->if_data.ifi_hdrlen = sizeof(struct ether_vlan_header); | 702 ifp->if_hdrlen = sizeof(struct ether_vlan_header); |
703 704 ifmedia_init(&ha->media, IFM_IMASK, qla_media_change, qla_media_status); 705 706 ifmedia_add(&ha->media, (IFM_ETHER | qla_get_optics(ha) | IFM_FDX), 0, 707 NULL); 708 ifmedia_add(&ha->media, (IFM_ETHER | IFM_AUTO), 0, NULL); 709 710 ifmedia_set(&ha->media, (IFM_ETHER | IFM_AUTO)); --- 777 unchanged lines hidden --- | 703 704 ifmedia_init(&ha->media, IFM_IMASK, qla_media_change, qla_media_status); 705 706 ifmedia_add(&ha->media, (IFM_ETHER | qla_get_optics(ha) | IFM_FDX), 0, 707 NULL); 708 ifmedia_add(&ha->media, (IFM_ETHER | IFM_AUTO), 0, NULL); 709 710 ifmedia_set(&ha->media, (IFM_ETHER | IFM_AUTO)); --- 777 unchanged lines hidden --- |