mxfeimpl.h (96fb08b9) mxfeimpl.h (da14cebe)
1/*
2 * Solaris driver for ethernet cards based on the Macronix 98715
3 *
4 * Copyright (c) 2007 by Garrett D'Amore <garrett@damore.org>.
5 * All rights reserved.
6 *
7 * Redistribution and use in source and binary forms, with or without
8 * modification, are permitted provided that the following conditions

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

31/*
32 * Copyright 2008 Sun Microsystems, Inc. All rights reserved.
33 * Use is subject to license terms.
34 */
35
36#ifndef _MXFEIMPL_H
37#define _MXFEIMPL_H
38
1/*
2 * Solaris driver for ethernet cards based on the Macronix 98715
3 *
4 * Copyright (c) 2007 by Garrett D'Amore <garrett@damore.org>.
5 * All rights reserved.
6 *
7 * Redistribution and use in source and binary forms, with or without
8 * modification, are permitted provided that the following conditions

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

31/*
32 * Copyright 2008 Sun Microsystems, Inc. All rights reserved.
33 * Use is subject to license terms.
34 */
35
36#ifndef _MXFEIMPL_H
37#define _MXFEIMPL_H
38
39#pragma ident "%Z%%M% %I% %E% SMI"
40
41/*
42 * This entire file is private to the MXFE driver.
43 */
44
45#ifdef _KERNEL
46
39/*
40 * This entire file is private to the MXFE driver.
41 */
42
43#ifdef _KERNEL
44
45#include <sys/mac_provider.h>
46
47/*
48 * Compile time tunables.
49 */
50#define MXFE_TXRING 128 /* number of xmt buffers */
51#define MXFE_RXRING 256 /* number of rcv buffers */
52#define MXFE_TXRECLAIM 32 /* when to reclaim tx buffers (txavail) */
53#define MXFE_TXRESCHED 120 /* when to resched (txavail) */
54#define MXFE_LINKTIMER 5000 /* how often we check link state (msec) */

--- 331 unchanged lines hidden ---
47/*
48 * Compile time tunables.
49 */
50#define MXFE_TXRING 128 /* number of xmt buffers */
51#define MXFE_RXRING 256 /* number of rcv buffers */
52#define MXFE_TXRECLAIM 32 /* when to reclaim tx buffers (txavail) */
53#define MXFE_TXRESCHED 120 /* when to resched (txavail) */
54#define MXFE_LINKTIMER 5000 /* how often we check link state (msec) */

--- 331 unchanged lines hidden ---