diff options
author | Peter Wemm <peter@FreeBSD.org> | 1998-11-09 09:34:00 +0000 |
---|---|---|
committer | Peter Wemm <peter@FreeBSD.org> | 1998-11-09 09:34:00 +0000 |
commit | dfab6b641625cef81ccf0741bc21c14820bf4f7e (patch) | |
tree | 91a003463322798c970e233852defd72974bd3f4 | |
parent | 08274d68df069a9e770e1e122d61d10061230bba (diff) |
Notes
-rw-r--r-- | sys/dev/tx/if_tx.c | 6 | ||||
-rw-r--r-- | sys/pci/if_tx.c | 6 |
2 files changed, 10 insertions, 2 deletions
diff --git a/sys/dev/tx/if_tx.c b/sys/dev/tx/if_tx.c index 3c46d0536c12..d1a63ce4d2ae 100644 --- a/sys/dev/tx/if_tx.c +++ b/sys/dev/tx/if_tx.c @@ -1,5 +1,5 @@ /* $OpenBSD: if_tx.c,v 1.3 1998/10/10 04:30:09 jason Exp $ */ -/* $Id: if_tx.c,v 1.3 1998/10/10 04:30:09 jason Exp $ */ +/* $Id: if_tx.c,v 1.16 1998/11/01 07:44:33 semenu Exp $ */ /*- * Copyright (c) 1997 Semen Ustimenko (semen@iclub.nsu.ru) @@ -138,7 +138,11 @@ #endif #if defined(__FreeBSD__) +#if __FreeBSD_version >= 300000 +#define EPIC_IFIOCTL_CMD_TYPE u_long +#else #define EPIC_IFIOCTL_CMD_TYPE int +#endif #define EPIC_INTR_RET_TYPE void #else /* __OpenBSD__ */ #define EPIC_IFIOCTL_CMD_TYPE u_long diff --git a/sys/pci/if_tx.c b/sys/pci/if_tx.c index 3c46d0536c12..d1a63ce4d2ae 100644 --- a/sys/pci/if_tx.c +++ b/sys/pci/if_tx.c @@ -1,5 +1,5 @@ /* $OpenBSD: if_tx.c,v 1.3 1998/10/10 04:30:09 jason Exp $ */ -/* $Id: if_tx.c,v 1.3 1998/10/10 04:30:09 jason Exp $ */ +/* $Id: if_tx.c,v 1.16 1998/11/01 07:44:33 semenu Exp $ */ /*- * Copyright (c) 1997 Semen Ustimenko (semen@iclub.nsu.ru) @@ -138,7 +138,11 @@ #endif #if defined(__FreeBSD__) +#if __FreeBSD_version >= 300000 +#define EPIC_IFIOCTL_CMD_TYPE u_long +#else #define EPIC_IFIOCTL_CMD_TYPE int +#endif #define EPIC_INTR_RET_TYPE void #else /* __OpenBSD__ */ #define EPIC_IFIOCTL_CMD_TYPE u_long |