cxgb_osdep.h (8adc65addaf28b4304b4539e717c19e62ffd940e) cxgb_osdep.h (2de1fa86d74da1f5b27308604722618961c254da)
1/**************************************************************************
2
3Copyright (c) 2007, Chelsio Inc.
4All rights reserved.
5
6Redistribution and use in source and binary forms, with or without
7modification, are permitted provided that the following conditions are met:
8

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

76#define FIRMWARE_LATEST
77#endif
78
79#if __FreeBSD_version > 700000
80#define MSI_SUPPORTED
81#define TSO_SUPPORTED
82#define VLAN_SUPPORTED
83#define TASKQUEUE_CURRENT
1/**************************************************************************
2
3Copyright (c) 2007, Chelsio Inc.
4All rights reserved.
5
6Redistribution and use in source and binary forms, with or without
7modification, are permitted provided that the following conditions are met:
8

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

76#define FIRMWARE_LATEST
77#endif
78
79#if __FreeBSD_version > 700000
80#define MSI_SUPPORTED
81#define TSO_SUPPORTED
82#define VLAN_SUPPORTED
83#define TASKQUEUE_CURRENT
84#else
85#define if_name(ifp) (ifp)->if_xname
86#define M_SANITY(m, n)
84#endif
85
86#define __read_mostly __attribute__((__section__(".data.read_mostly")))
87
88/*
89 * Workaround for weird Chelsio issue
90 */
91#if __FreeBSD_version > 700029

--- 212 unchanged lines hidden ---
87#endif
88
89#define __read_mostly __attribute__((__section__(".data.read_mostly")))
90
91/*
92 * Workaround for weird Chelsio issue
93 */
94#if __FreeBSD_version > 700029

--- 212 unchanged lines hidden ---