Browse Source

add e100.c for debug fxp driver.need more memory,should increase NKMEMCLUSTERS in sys/arch/mips/include/param.h.

master
root 16 years ago
parent
commit
ce30096730
  1. 2
      sys/arch/mips/include/param.h
  2. 3919
      sys/dev/pci/e100.c
  3. 1
      sys/dev/pci/files.pci

2
sys/arch/mips/include/param.h

@ -130,7 +130,7 @@
*/
#ifndef NKMEMCLUSTERS
#ifdef PMON
#define NKMEMCLUSTERS (512 * 1024 / CLBYTES) /* 0.5Mb */
#define NKMEMCLUSTERS (2048 * 1024 / CLBYTES) /* 0.5Mb */
#else
#define NKMEMCLUSTERS (128 * 1024 * 1024 / CLBYTES)
#endif

3919
sys/dev/pci/e100.c

File diff suppressed because it is too large

1
sys/dev/pci/files.pci

@ -20,6 +20,7 @@ file sys/dev/pci/if_de.c de
device fxp: ether, ifnet, ifmedia, mii
attach fxp at pci
file sys/dev/pci/if_fxp.c fxp
#file sys/dev/pci/e100.c fxp
device rtl: ether, ifnet
attach rtl at pci

Loading…
Cancel
Save