Source-Changes-HG archive

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

[src/trunk]: src/sys/arch/evbarm/conf Trim down MV2120:



details:   https://anonhg.NetBSD.org/src/rev/2c0ecf8931ee
branches:  trunk
changeset: 771717:2c0ecf8931ee
user:      jakllsch <jakllsch%NetBSD.org@localhost>
date:      Wed Nov 30 20:40:20 2011 +0000

description:
Trim down MV2120:
 - comment pci(4)-related drivers
 - comment dmover(4)-related drivers
 - optimize for size
 - add 5.0 compat
 - misc and cosmetics

diffstat:

 sys/arch/evbarm/conf/MV2120 |  45 +++++++++++++++++++++------------------------
 1 files changed, 21 insertions(+), 24 deletions(-)

diffs (137 lines):

diff -r 87870b395630 -r 2c0ecf8931ee sys/arch/evbarm/conf/MV2120
--- a/sys/arch/evbarm/conf/MV2120       Wed Nov 30 20:00:39 2011 +0000
+++ b/sys/arch/evbarm/conf/MV2120       Wed Nov 30 20:40:20 2011 +0000
@@ -1,15 +1,11 @@
-#      $NetBSD: MV2120,v 1.2 2011/11/22 21:25:08 tls Exp $
+#      $NetBSD: MV2120,v 1.3 2011/11/30 20:40:20 jakllsch Exp $
 #
 #  This configuration supports for HP MV2120/MV5140/MV5150.
 
 include        "arch/evbarm/conf/std.mv2120"
 
 options        INCLUDE_CONFIG_FILE     # embed config file in kernel binary
-
-options         SYMTAB_SPACE=920000
-
-options                DIAGNOSTIC
-options                LOCKDEBUG
+options        SYMTAB_SPACE="(1024 * 900)"
 
 makeoptions    DEBUG="-g"
 
@@ -18,19 +14,19 @@
 maxusers       32
 
 # Board Type
-makeoptions     BOARDTYPE="mv2120"
-options         EVBARM_BOARDTYPE=mv2120
+makeoptions    BOARDTYPE="mv2120"
+options        EVBARM_BOARDTYPE=mv2120
 
 # CPU options
-options                CPU_ARM9E
-makeoptions    CPUFLAGS="-mcpu=arm926ej-s -O2"
+options        CPU_ARM9E
+makeoptions    CPUFLAGS="-mcpu=arm926ej-s -mtune=arm926ej-s -Os"
 
 # Marvell SoC options
 options        ORION
 
 # Standard system options
 
-options                MSGBUFSIZE=32768
+options        MSGBUFSIZE=32768
 
 options        RTC_OFFSET=0    # hardware clock is this many mins. west of GMT
 options        NTP             # NTP phase/frequency locked loop
@@ -117,6 +113,7 @@
 options        COMPAT_20       # NetBSD 2.0 compatibility.
 options        COMPAT_30       # NetBSD 3.0 compatibility.
 options        COMPAT_40       # NetBSD 4.0 compatibility.
+options        COMPAT_50       # NetBSD 5.0 compatibility.
 #options       COMPAT_43       # 4.3BSD compatibility.
 #options       TCP_COMPAT_42   # 4.2BSD TCP/IP bug compat. Not recommended.
 
@@ -160,6 +157,7 @@
 
 config         netbsd          root on ? type ?
 config         netbsd-mvgbe0   root on mvgbe0 type nfs
+#config                netbsd-wd0g     root on wd0g type ffs
 
 # The main bus device
 mainbus0 at root
@@ -171,19 +169,22 @@
 mvsoc0 at mainbus?
 
 # On-chip PCI Express Interface
-mvpex* at mvsoc? offset ? irq ?
+#mvpex*        at mvsoc? offset ? irq ?
 
 # On-chip PCI Interface
-gtpci* at mvsoc? offset ? irq ?
+#gtpci*        at mvsoc? offset ? irq ?
 
 # PCI bus support
 #options       PCI_NETBSD_CONFIGURE
 #options       PCI_CONFIG_DUMP         # verbosely dump PCI config space
 
-pci*   at mvpex?
-pci*   at gtpci?
+#pci*  at mvpex?
+#pci*  at gtpci?
 
-pchb*  at pci? dev ? function ?        # PCI-Host bridges
+#pchb* at pci? dev ? function ?        # PCI-Host bridges
+
+# PCI IDE Controller
+#mvsata*       at pci? dev ? function ?        # Marvell SATA Controller
 
 # On-chip Serial-ATA II Host Controller (SATAHC)
 mvsata*        at mvsoc? offset ? irq ?
@@ -206,7 +207,7 @@
 com*   at mvsoc? offset ? irq ?
 
 # On-chip IDMA Controller
-gtidmac* at mvsoc? offset ? irq ?
+#gtidmac* at mvsoc? offset ? irq ?
 
 # On-chip General Purpose I/O Port Interface
 mvsocgpp* at mvsoc? offset ? irq ?
@@ -221,9 +222,6 @@
 # MII/PHY support
 makphy*        at mii? phy ?                   # Marvell Semiconductor 88E1000 PHYs
 
-# PCI IDE Controller
-mvsata*        at pci? dev ? function ?        # Marvell SATA Controller
-
 # ATA (IDE) bus support
 atabus*        at ata?
 #options       ATADEBUG
@@ -265,7 +263,7 @@
 pseudo-device  swcrypto                # software crypto implementation
 
 # disk/mass storage pseudo-devices
-pseudo-device  bio                     # RAID control device driver
+#pseudo-device bio                     # RAID control device driver
 pseudo-device  ccd             4       # concatenated/striped disk devices
 pseudo-device  cgd             4       # cryptographic disk devices
 pseudo-device  raid            8       # RAIDframe disk driver
@@ -326,8 +324,8 @@
 pseudo-device  wsfont
 
 # data mover pseudo-devices
-pseudo-device  swdmover                # softare dmover(9) back-end
-pseudo-device  dmoverio                # /dev/dmover dmover(9) interface
+#pseudo-device swdmover                # softare dmover(9) back-end
+#pseudo-device dmoverio                # /dev/dmover dmover(9) interface
 
 pseudo-device  dm
 
@@ -350,7 +348,6 @@
 options        PAX_MPROTECT=0          # PaX mprotect(2) restrictions
 options        PAX_ASLR=0              # PaX Address Space Layout Randomization
 
-pseudo-device kttcp
 pseudo-device drvctl
 
 options DKWEDGE_AUTODISCOVER



Home | Main Index | Thread Index | Old Index