Source-Changes-HG archive

[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index][Old Index]

[src/trunk]: src/sys/arch/i386/stand/netboot document 3c90xb support



details:   https://anonhg.NetBSD.org/src/rev/158887447f59
branches:  trunk
changeset: 513162:158887447f59
user:      drochner <drochner%NetBSD.org@localhost>
date:      Wed Jul 25 12:51:44 2001 +0000

description:
document 3c90xb support
use default settings which make more sense (for me)

diffstat:

 sys/arch/i386/stand/netboot/Makefile |  28 ++++++++++++++++++----------
 1 files changed, 18 insertions(+), 10 deletions(-)

diffs (70 lines):

diff -r 4cf96232566f -r 158887447f59 sys/arch/i386/stand/netboot/Makefile
--- a/sys/arch/i386/stand/netboot/Makefile      Wed Jul 25 12:47:34 2001 +0000
+++ b/sys/arch/i386/stand/netboot/Makefile      Wed Jul 25 12:51:44 2001 +0000
@@ -1,4 +1,4 @@
-#      $NetBSD: Makefile,v 1.21 2001/06/01 23:26:31 jdolecek Exp $
+#      $NetBSD: Makefile,v 1.22 2001/07/25 12:51:44 drochner Exp $
 
 S=     ${.CURDIR}/../../../../
 
@@ -13,10 +13,10 @@
 
 #CPPFLAGS+= -DDEBUG
 #CPPFLAGS+= -DNET_DEBUG
-#CPPFLAGS+= -DSUPPORT_BOOTP -DSUPPORT_DHCP
-#CPPFLAGS+= -DSUPPORT_TFTP
-CPPFLAGS+= -DSUPPORT_RARP -DSUPPORT_BOOTPARAM
-CPPFLAGS+= -DSUPPORT_NFS -DNFS_NOSYMLINK
+CPPFLAGS+= -DSUPPORT_BOOTP -DSUPPORT_DHCP
+CPPFLAGS+= -DSUPPORT_TFTP
+#CPPFLAGS+= -DSUPPORT_RARP -DSUPPORT_BOOTPARAM
+#CPPFLAGS+= -DSUPPORT_NFS -DNFS_NOSYMLINK
 #uncomment if there are problems with memory detection
 #CPPFLAGS+= -DCONSERVATIVE_MEMDETECT
 
@@ -24,9 +24,9 @@
 CFLAGS+= -Wall
 
 # XXX should go into library
-.PATH: ${.CURDIR}/../libsa
-SRCS+= nfs.c
-CPPFLAGS+= -I${.CURDIR}/../libsa
+#.PATH: ${.CURDIR}/../libsa
+#SRCS+= nfs.c
+#CPPFLAGS+= -I${.CURDIR}/../libsa
 
 #ROM_SIZE= 16384
 ROM_SIZE= 32768
@@ -37,6 +37,7 @@
 .PATH: ${.CURDIR}/../lib/netif
 
 #USE_NETIF= 3c509
+
 #USE_NETIF= 3c590 #handles 3c900 TPO / combo and 3c905 TX too
 # uncomment next and one of the following to make a PCI expansion ROM for 3com
 #CPPFLAGS+= -DPCIROM -DPCI_VID=0x10b7 -DPCI_CLASS=0x020000
@@ -45,7 +46,14 @@
 #CPPFLAGS+= -DPCI_DID=0x9001 # 3c900 combo
 #CPPFLAGS+= -DPCI_DID=0x9050 # 3c905 TX
 
-USE_NETIF= pcnet_pci
+USE_NETIF= 3c90xb
+# uncomment next and one of the following to make a PCI expansion ROM for 3com
+CPPFLAGS+= -DPCIROM -DPCI_VID=0x10b7 -DPCI_CLASS=0x020000
+#CPPFLAGS+= -DPCI_DID=0x9005 # 3c900b combo
+#CPPFLAGS+= -DPCI_DID=0x9055 # 3c905b TX
+CPPFLAGS+= -DPCI_DID=0x9058 # 3c905b combo
+
+#USE_NETIF= pcnet_pci
 # uncomment the following to make a PCI expansion ROM for PCNET-PCI
 #CPPFLAGS+= -DPCIROM -DPCI_VID=0x1022 -DPCI_DID=0x2000 -DPCI_CLASS=0x020000
 #USE_NETIF= pcnet_isapnp #boot device passing to kernel broken
@@ -61,7 +69,7 @@
 
 SAMISCCPPFLAGS+= -DHEAP_START=0x10000 -DHEAP_LIMIT=0x40000
 SAMISCCPPFLAGS+= -DNFS_NOSYMLINK -DUDP_NO_CKSUM
-SAMISCMAKEFLAGS= SA_USE_CREAD=yes
+#SAMISCMAKEFLAGS= SA_USE_CREAD=yes
 #I386MISCCPPFLAGS+= -DDISK_DEBUG
 #I386MISCCPPFLAGS+= -DSUPPORT_SERIAL -DDIRECT_SERIAL -DCOMCONS_KEYPRESS
 I386MISCMAKEFLAGS= I386_INCLUDE_DISK=no I386_INCLUDE_BUS=yes



Home | Main Index | Thread Index | Old Index