summaryrefslogtreecommitdiffstats
path: root/sys/dev/hme/if_hmevar.h
diff options
context:
space:
mode:
authortmm <tmm@FreeBSD.org>2002-03-23 19:37:11 +0000
committertmm <tmm@FreeBSD.org>2002-03-23 19:37:11 +0000
commit96f89601bec8d2572d482a8d78c1b5f67932a00b (patch)
tree253feb44c82db144040d376f620649fee350d496 /sys/dev/hme/if_hmevar.h
parentc379ca4071dae4b5dd20358faaf108a23306e77c (diff)
downloadFreeBSD-src-96f89601bec8d2572d482a8d78c1b5f67932a00b.zip
FreeBSD-src-96f89601bec8d2572d482a8d78c1b5f67932a00b.tar.gz
Assorted fixes:
- remove some useless code from the status change handler that was intended to enable the the MII drivers for external phys; this is already done during interface initialization, and the deleted code made some assumptions about phy addresses that do not seem to hold true on newer cards. This should get at least one of the two hmes of newer Netra t1 machines working. - correct the interrupt resource allocation - bump the number of RX descriptors, lower values cause promblems on some machines
Diffstat (limited to 'sys/dev/hme/if_hmevar.h')
-rw-r--r--sys/dev/hme/if_hmevar.h3
1 files changed, 1 insertions, 2 deletions
diff --git a/sys/dev/hme/if_hmevar.h b/sys/dev/hme/if_hmevar.h
index 13bf90c..bef2b13 100644
--- a/sys/dev/hme/if_hmevar.h
+++ b/sys/dev/hme/if_hmevar.h
@@ -48,9 +48,8 @@
* TX descriptors have less static cost (a dma map is allocated which could
* cause bounce buffers to be reserved; other that that, the only required
* memory is sizeof(struct hme_txdesc)).
- * Both must be a multiple of 16, and <= 128.
*/
-#define HME_NRXDESC 32
+#define HME_NRXDESC 128
#define HME_NTXDESC 64
/* Maximum size of a mapped RX buffer. */
OpenPOWER on IntegriCloud