Source-Changes-HG archive

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

[src/trunk]: src/sys/arch/iyonix/conf Make this config resemble an Iyonix as ...



details:   https://anonhg.NetBSD.org/src/rev/b41d67adb47d
branches:  trunk
changeset: 446696:b41d67adb47d
user:      macallan <macallan%NetBSD.org@localhost>
date:      Fri Dec 14 23:01:53 2018 +0000

description:
Make this config resemble an Iyonix as they actually shipped:
- add more onboard and standard devices ( dsrtc, ehci, etc. )
- remove lots of unused and commented out drivers
- add some useful filesystems like procfs etc.

diffstat:

 sys/arch/iyonix/conf/GENERIC |  535 ++++--------------------------------------
 1 files changed, 58 insertions(+), 477 deletions(-)

diffs (truncated from 712 to 300 lines):

diff -r 9a1504056867 -r b41d67adb47d sys/arch/iyonix/conf/GENERIC
--- a/sys/arch/iyonix/conf/GENERIC      Fri Dec 14 22:05:36 2018 +0000
+++ b/sys/arch/iyonix/conf/GENERIC      Fri Dec 14 23:01:53 2018 +0000
@@ -1,4 +1,4 @@
-#      $NetBSD: GENERIC,v 1.104 2018/12/12 06:29:37 maxv Exp $
+#      $NetBSD: GENERIC,v 1.105 2018/12/14 23:01:53 macallan Exp $
 #
 # GENERIC machine description file
 #
@@ -22,7 +22,7 @@
 
 options        INCLUDE_CONFIG_FILE     # embed config file in kernel binary
 
-#ident                 "GENERIC-$Revision: 1.104 $"
+#ident                 "GENERIC-$Revision: 1.105 $"
 
 maxusers       32              # estimated number of users
 
@@ -83,7 +83,7 @@
 #options       DDB_KEYCODE=0x40
 #options       KGDB            # remote debugger
 #options       KGDB_DEVNAME="\"com\"",KGDB_DEVADDR=0x3f8,KGDB_DEVRATE=9600
-makeoptions    DEBUG="-g"      # compile full symbol table
+#makeoptions   DEBUG="-g"      # compile full symbol table
 makeoptions    COPY_SYMTAB=1
 #options       PMAP_DEBUG      # Enable pmap_debug_level code
 #options       VERBOSE_INIT_ARM # verbose bootstraping messages
@@ -94,7 +94,7 @@
 
 # Compatibility options
 
-include        "conf/compat_netbsd50.config"
+include        "conf/compat_netbsd70.config"
 options        COMPAT_NETBSD32 # allow running arm (e.g. non-earm) binaries
 
 # File systems
@@ -107,16 +107,16 @@
 file-system    CD9660          # ISO 9660 + Rock Ridge file system
 file-system    MSDOSFS         # MS-DOS file system
 #file-system   FDESC           # /dev/fd
-#file-system   KERNFS          # /kern
+file-system    KERNFS          # /kern
 #file-system   NULLFS          # loopback file system
 #file-system   OVERLAY         # overlay file system
-#file-system   PROCFS          # /proc
+file-system    PROCFS          # /proc
 #file-system   UMAPFS          # NULLFS + uid and gid remapping
 #file-system   UNION           # union file system
 #file-system   CODA            # Coda File System; also needs vcoda (below)
 #file-system   SMBFS           # experimental - CIFS; also needs nsmb (below)
-#file-system   PTYFS           # /dev/ptm support
-#file-system   TMPFS           # Efficient memory file-system
+file-system    PTYFS           # /dev/ptm support
+file-system    TMPFS           # Efficient memory file-system
 #file-system   UDF             # experimental - OSTA UDF CD/DVD file-system
 #file-system   HFS             # experimental - Apple HFS+ (read-only)
 file-system     FILECORE        # Acorn filecore file system
@@ -138,7 +138,7 @@
 # Networking options
 #options       GATEWAY         # packet forwarding
 options        INET            # IP + ICMP + TCP + UDP
-#options       INET6           # IPV6
+options        INET6           # IPV6
 #options       IPSEC           # IP security
 #options       IPSEC_DEBUG     # debug for IP security
 #options       MROUTING        # IP multicast routing
@@ -165,10 +165,17 @@
 
 options        NFS_BOOT_DHCP,NFS_BOOT_BOOTPARAM
 
+#options       DKWEDGE_AUTODISCOVER
+#options       DKWEDGE_METHOD_BSDLABEL
+#options       DKWEDGE_METHOD_MBR
+
+options        INSECURE
+
 # Kernel root file system and dump configuration.
 config         netbsd  root on ? type ?
-#config                netbsd  root on sd0a type ffs
-#config                netbsd  root on ? type nfs
+#config                netbsd  root on wd1a type ffs
+#config                netbsd  root on wm0 type nfs
+#config                netbsd  root on "wedge:system/a" type ffs
 
 #
 # Device configuration
@@ -191,6 +198,10 @@
 # The curious can see their RAM timings.
 spdmem* at iic1 addr 0x56
 
+# onboard RTC. RISC OS starts counting years at 2000
+dsrtc0         at iic0 addr 0x68
+options        DSRTC_YEAR_START_2K
+
 # PCI bridges
 ppb*   at pci? dev ? function ?        # PCI-PCI bridges
 pci*   at ppb? bus ?
@@ -202,142 +213,42 @@
 # VGA
 #vga*            at pci? dev ? function ?
 genfb*         at pci? dev ? function ?
+#options       GENFB_PCI_DEBUG
+#gffb*         at pci? dev ? function ?
+
+# these exist but aren't configured by RISC OS
+#alipm*                at pci?
+#iic*          at alipm?
 
 # Display
 wsdisplay0      at wsemuldisplaydev? console 1
 wsdisplay*      at wsemuldisplaydev?
 
-options        WSEMUL_VT100                    # VT100 / VT220 emulation
-options        WSDISPLAY_COMPAT_USL            # wsconscfg VT handling
-
-# CardBus bridge support
-#cbb*          at pci? dev ? function ?
-#cardslot*     at cbb?
-
-# CardBus bus support
-#cardbus*      at cardslot?
-#pcmcia*       at cardslot?
-
-# Serial Devices
-
-# PCI serial interfaces
-#com*  at puc? port ?                  # 16x50s on "universal" comm boards
-#cy*   at pci? dev ? function ?        # Cyclades Cyclom-Y serial boards
-#cz*   at pci? dev ? function ?        # Cyclades-Z multi-port serial boards
-
-# PCMCIA serial interfaces
-#com*  at pcmcia? function ?           # Modems and serial cards
-
-#pcmcom* at pcmcia? function ?         # PCMCIA multi-port serial cards
-#com*  at pcmcom? slave ?              # ...and the slave devices
-
-# CardBus serial interfaces
-#com*  at cardbus? function ?  # Modems and serial cards
-
-# I2O devices
-#iop*  at pci? dev ? function ?        # I/O processor
-#iopsp*        at iop? tid ?                   # SCSI/FC-AL ports
-#ld*   at iop? tid ?                   # block devices
-#dpti* at iop? tid 0                   # DPT/Adaptec control interface
-
-# SCSI Controllers and Devices
-
-# PCI SCSI controllers
-#adv*  at pci? dev ? function ?        # AdvanSys 1200[A,B], 9xx[U,UA] SCSI
-#adw*  at pci? dev ? function ?        # AdvanSys 9x0UW[D], 3940U[2,3]W SCSI
-#ahc*  at pci? dev ? function ?        # Adaptec [23]94x, aic78x0 SCSI
-#ahd*  at pci? dev ? function ?        # Adaptec 29320, 39320 (aic790x) SCSI
-#bha*  at pci? dev ? function ?        # BusLogic 9xx SCSI
-#dpt*  at pci? dev ? function ?        # DPT SmartCache/SmartRAID
-#iha*  at pci? dev ? function ?        # Initio INIC-940/950 SCSI
-#isp*  at pci? dev ? function ?        # Qlogic ISP [12]0x0 SCSI/FibreChannel
-#mfi*  at pci? dev ? function ?        # LSI MegaRAID SAS
-#mly*  at pci? dev ? function ?        # Mylex AcceleRAID and eXtremeRAID
-#mpt*  at pci? dev ? function ?        # LSI Fusion SCSI/FC
-#njs*  at pci? dev ? function ?        # Workbit NinjaSCSI-32
-#pcscp*        at pci? dev ? function ?        # AMD 53c974 PCscsi-PCI SCSI
-#siop* at pci? dev ? function ?        # Symbios 53c8xx SCSI
-#esiop*        at pci? dev ? function ?        # Symbios 53c875 SCSI and newer
-##options      SIOP_SYMLED             # drive the act. LED in software
-#trm*  at pci? dev ? function ?        # Tekram DC-395U/UW/F, DC-315/U SCSI
-
-# PCMCIA SCSI controllers
-#aic*  at pcmcia? function ?           # Adaptec APA-1460 SCSI
-#esp*  at pcmcia? function ?           # Qlogic ESP406/FAS408 SCSI
-#spc*  at pcmcia? function ?           # Fujitsu MB87030/MB89352 SCSI
-
-# CardBus SCSI cards
-#adv*  at cardbus? function ?  # AdvanSys 1200[A,B], 9xx[U,UA] SCSI
-#ahc*  at cardbus? function ?  # Adaptec ADP-1480
-#njs*  at cardbus? function ?  # Workbit NinjaSCSI-32
-
-# SCSI bus support
-#scsibus* at scsi?
-
-# SCSI devices
-#sd*   at scsibus? target ? lun ?      # SCSI disk drives
-#st*   at scsibus? target ? lun ?      # SCSI tape drives
-#cd*   at scsibus? target ? lun ?      # SCSI CD-ROM drives
-#ch*   at scsibus? target ? lun ?      # SCSI autochangers
-#ses*  at scsibus? target ? lun ?      # SCSI Enclosure Services devices
-#ss*   at scsibus? target ? lun ?      # SCSI scanners
-#uk*   at scsibus? target ? lun ?      # SCSI unknown
-
-
-# RAID controllers and devices
-#aac*  at pci? dev ? function ?        # Adaptec AAC family
-#amr*  at pci? dev ? function ?        # AMI/LSI Logic MegaRAID
-#cac*  at pci? dev ? function ?        # Compaq PCI array controllers
-#ciss* at pci? dev ? function ?        # HP Smart Array controllers
-#icp*  at pci? dev ? function ?        # ICP-Vortex GDT & Intel RAID
-#mlx*  at pci? dev ? function ?        # Mylex DAC960 & DEC SWXCR family
-#mlx*  at eisa? slot ?                 # Mylex DAC960 & DEC SWXCR family
-#twa*  at pci? dev ? function ?        # 3ware Escalade 95xx RAID controllers
-#twe*  at pci? dev ? function ?        # 3ware Escalade RAID controllers
-
-#ld*   at aac? unit ?                  # logical disk devices
-#ld*   at amr? unit ?
-#ld*   at cac? unit ?
-#ld*   at icp? unit ?
-#ld*   at twa? unit ?
-#ld*   at twe? unit ?
-#ld*   at mlx? unit ?
-
-#icpsp*        at icp? unit ?                  # SCSI pass-through
+#options       WSEMUL_SUN              # sun terminal emulation
+options        WSEMUL_VT100            # vt100 terminal emulation
+options        WS_DEFAULT_FG=WSCOL_BLACK
+options        WS_DEFAULT_BG=WSCOL_LIGHT_WHITE
+options        WS_KERNEL_FG=WSCOL_GREEN
+options        WS_KERNEL_BG=WSCOL_LIGHT_WHITE
+options        WSDISPLAY_COMPAT_PCVT           # emulate some ioctls
+options        WSDISPLAY_COMPAT_SYSCONS        # emulate some ioctls
+options        WSDISPLAY_COMPAT_USL            # VT handling
+options        WSDISPLAY_COMPAT_RAWKBD         # can get raw scancodes
+#options       WSDISPLAY_DEFAULTSCREENS=4
+options        FONT_GO_MONO12x23
+options                WSDISPLAY_SCROLLSUPPORT
+options        VCONS_DRAW_INTR
+options        RASOPS_DEFAULT_WIDTH=100
+options        RASOPS_DEFAULT_HEIGHT=30
 
 # IDE and related devices
 # PCI IDE controllers - see pciide(4) for supported hardware.
 # The 0x0001 flag force the driver to use DMA, even if the driver doesn't know
 # how to set up DMA modes for this chip. This may work, or may cause
 # a machine hang with some controllers.
-pciide*        at pci? dev ? function ? flags 0x0000   # GENERIC pciide driver
-acardide*      at pci? dev ? function ?        # Acard IDE controllers
+#pciide*       at pci? dev ? function ? flags 0x0000   # GENERIC pciide driver
 aceride*       at pci? dev ? function ?        # Acer Lab IDE controllers
-#ahcisata*     at pci? dev ? function ?        # AHCI SATA controllers
-artsata*       at pci? dev ? function ?        # Intel i31244 SATA controller
-cmdide*        at pci? dev ? function ?        # CMD tech IDE controllers
-cypide*        at pci? dev ? function ?        # Cypress IDE controllers
-#geodeide*     at pci? dev ? function ?        # AMD Geode IDE controllers
-hptide*        at pci? dev ? function ?        # Triones/HighPoint IDE controllers
-#iteide*       at pci? dev ? function ?        # IT Express IDE controllers
-#ixpide*       at pci? dev ? function ?        # ATI IXP IDE controllers
-optiide*       at pci? dev ? function ?        # Opti IDE controllers
-#piixide*      at pci? dev ? function ?        # Intel IDE controllers
-pdcide*        at pci? dev ? function ?        # Promise IDE controllers
-pdcsata*       at pci? dev ? function ?        # Promise SATA150 controllers
-rccide*        at pci? dev ? function ?        # ServerWorks IDE controllers
-satalink*      at pci? dev ? function ?        # SiI SATALink controllers
-siside*        at pci? dev ? function ?        # SiS IDE controllers
-slide*         at pci? dev ? function ?        # Symphony Labs IDE controllers
-#svwsata*      at pci? dev ? function ?        # ServerWorks SATA controllers
-stpcide*       at pci? dev ? function ?        # STMicro STPC IDE controllers
-viaide*        at pci? dev ? function ?        # VIA/AMD/Nvidia IDE controllers
-
-# PCMCIA IDE controllers
-#wdc*  at pcmcia? function ?
-
-# CardBus IDE controllers
-#njata*        at cardbus? function ? flags 0x01       # Workbit NinjaATA-32
+#mvsata*       at pci? dev ? function ?
 
 # ATA (IDE) bus support
 atabus* at ata?
@@ -356,10 +267,6 @@
 # 0x0000 means "use whatever the drive claims to support".
 wd*    at atabus? drive ? flags 0x0000
 
-# ATA RAID configuration support, as found on some Promise controllers.
-pseudo-device  ataraid
-ld*    at ataraid? vendtype ? unit ?
-
 # ATAPI bus support
 atapibus* at atapi?
 
@@ -374,136 +281,25 @@
 
 # Network Interfaces
 
-# PCI network interfaces
-#an*   at pci? dev ? function ?        # Aironet PC4500/PC4800 (802.11)
-#ath*  at pci? dev ? function ?        # Atheros 5210/5211/5212 802.11
-#atw*  at pci? dev ? function ?        # ADMtek ADM8211 (802.11)
-#bce*  at pci? dev ? function ?        # Broadcom 4401 10/100 Ethernet
-#bge*  at pci? dev ? function ?        # Broadcom 570x gigabit Ethernet
-#bnx*  at pci? dev ? function ?        # Broadcom NetXtremeII gigabit Ethernet
-#dge*  at pci? dev ? function ?        # Intel 82597 10GbE LR
-#ep*   at pci? dev ? function ?        # 3Com 3c59x
-#epic* at pci? dev ? function ?        # SMC EPIC/100 Ethernet
-#esh*  at pci? dev ? function ?        # Essential HIPPI card
-#ex*   at pci? dev ? function ?        # 3Com 90x[BC]
-#fpa*  at pci? dev ? function ?        # DEC DEFPA FDDI
-#fxp*  at pci? dev ? function ?        # Intel EtherExpress PRO 10+/100B
-#gsip* at pci? dev ? function ?        # NS83820 Gigabit Ethernet
-#hme*  at pci? dev ? function ?        # Sun Microelectronics STP2002-STQ
-#ipw*  at pci? dev ? function ?        # Intel PRO/Wireless 2100
-#iwi*  at pci? dev ? function ?        # Intel PRO/Wireless 2200BG
-#le*   at pci? dev ? function ?        # PCnet-PCI Ethernet
-#mskc* at pci? dev ? function ?        # Marvell Yukon 2 Gigabit Ethernet
-#msk*  at mskc?                        # Marvell Yukon 2 Gigabit Ethernet



Home | Main Index | Thread Index | Old Index