diff options
author | jlemon <jlemon@FreeBSD.org> | 2001-03-14 19:50:35 +0000 |
---|---|---|
committer | jlemon <jlemon@FreeBSD.org> | 2001-03-14 19:50:35 +0000 |
commit | 71a0040fe08bf4a0d07d5d4c75094e94b5715b58 (patch) | |
tree | 6cfc20a448ccddec1855373ec4db8439e59b4ce3 /sys/dev/fxp/if_fxpreg.h | |
parent | db4760d36b7961c113a683d669802cb03d229ac2 (diff) | |
download | FreeBSD-src-71a0040fe08bf4a0d07d5d4c75094e94b5715b58.zip FreeBSD-src-71a0040fe08bf4a0d07d5d4c75094e94b5715b58.tar.gz |
Add some performance features to the fxp driver. If the chip is not
a 82557 (e.g.: a newer chip) then:
+ enable MWI, if the PCI configuration indicates the system supports it
+ enable usage of extended TxCB, for better performance
+ enable hardware flow control. FC frames will be passed up to the
host only if promiscuous mode is enabled.
Diffstat (limited to 'sys/dev/fxp/if_fxpreg.h')
-rw-r--r-- | sys/dev/fxp/if_fxpreg.h | 7 |
1 files changed, 5 insertions, 2 deletions
diff --git a/sys/dev/fxp/if_fxpreg.h b/sys/dev/fxp/if_fxpreg.h index 3d32fb6..591b620 100644 --- a/sys/dev/fxp/if_fxpreg.h +++ b/sys/dev/fxp/if_fxpreg.h @@ -1,6 +1,6 @@ /* - * Copyright (c) 2001 Jonathan Lemon <jlemon@freebsd.org> * Copyright (c) 1995, David Greenman + * Copyright (c) 2001 Jonathan Lemon <jlemon@freebsd.org> * All rights reserved. * * Redistribution and use in source and binary forms, with or without @@ -236,7 +236,10 @@ struct fxp_cb_tx { volatile u_int8_t tx_threshold; volatile u_int8_t tbd_number; /* - * The following isn't actually part of the TxCB. + * The following structure isn't actually part of the TxCB, + * unless the extended TxCB feature is being used. In this + * case, the first two elements of the structure below are + * fetched along with the TxCB. */ volatile struct fxp_tbd tbd[FXP_NTXSEG]; }; |