diff options
author | Chris Kuethe <ckuethe@cvs.openbsd.org> | 2007-05-28 17:51:27 +0000 |
---|---|---|
committer | Chris Kuethe <ckuethe@cvs.openbsd.org> | 2007-05-28 17:51:27 +0000 |
commit | a57c30c6a4a078aaf6d68abdb0d83996fe27759a (patch) | |
tree | bdc15be0a201cfa935175e4adf09ea0ac1e88e40 /sys | |
parent | d83f9b8e33a53aa2f7789e73e82ff33de3032a9d (diff) |
Enable interrupt holdoff on DP83816 chips. This significantly improves
performance of devices such as the soekris under load.
Diffstat (limited to 'sys')
-rw-r--r-- | sys/dev/pci/if_sisreg.h | 6 |
1 files changed, 3 insertions, 3 deletions
diff --git a/sys/dev/pci/if_sisreg.h b/sys/dev/pci/if_sisreg.h index ea8c5858350..771c52309c6 100644 --- a/sys/dev/pci/if_sisreg.h +++ b/sys/dev/pci/if_sisreg.h @@ -1,4 +1,4 @@ -/* $OpenBSD: if_sisreg.h,v 1.26 2006/07/10 03:06:28 brad Exp $ */ +/* $OpenBSD: if_sisreg.h,v 1.27 2007/05/28 17:51:26 ckuethe Exp $ */ /* * Copyright (c) 1997, 1998, 1999 * Bill Paul <wpaul@ee.columbia.edu>. All rights reserved. @@ -214,9 +214,9 @@ /* * Interrupt holdoff value for NS DP8316. We can have the chip * delay interrupt delivery for a certain period. Units are in - * 100us, and the default is 100us holdoff. + * 100us - this sets the delay to 1ms holdoff. */ -#define NS_IHR_DELAY 0 +#define NS_IHR_DELAY 10 #define NS_IHR_VALUE (NS_IHR_HOLDCTL|NS_IHR_DELAY) |