Print this page
3373 update files for xen

*** 28,49 **** #ifndef _SYS_XNB_H #define _SYS_XNB_H #include <sys/types.h> #include <sys/kstat.h> #include <sys/stream.h> #include <sys/ethernet.h> #include <sys/hypervisor.h> #include <xen/public/io/netif.h> #ifdef __cplusplus extern "C" { #endif ! #define NET_TX_RING_SIZE __RING_SIZE((netif_tx_sring_t *)0, PAGESIZE) ! #define NET_RX_RING_SIZE __RING_SIZE((netif_rx_sring_t *)0, PAGESIZE) #define XNBMAXPKT 1500 /* MTU size */ /* DEBUG flags */ #define XNBDDI 0x01 --- 28,50 ---- #ifndef _SYS_XNB_H #define _SYS_XNB_H #include <sys/types.h> + #include <sys/sysmacros.h> #include <sys/kstat.h> #include <sys/stream.h> #include <sys/ethernet.h> #include <sys/hypervisor.h> #include <xen/public/io/netif.h> #ifdef __cplusplus extern "C" { #endif ! #define NET_TX_RING_SIZE __CONST_RING_SIZE(netif_tx, PAGESIZE) ! #define NET_RX_RING_SIZE __CONST_RING_SIZE(netif_rx, PAGESIZE) #define XNBMAXPKT 1500 /* MTU size */ /* DEBUG flags */ #define XNBDDI 0x01