Source-Changes-HG archive

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

[src/trunk]: src/sys/arch/prep/conf - Add some PCMCIA devices.



details:   https://anonhg.NetBSD.org/src/rev/95d0b94e55e0
branches:  trunk
changeset: 499555:95d0b94e55e0
user:      nonaka <nonaka%NetBSD.org@localhost>
date:      Wed Nov 22 16:15:44 2000 +0000

description:
- Add some PCMCIA devices.
 - Commented out USB devices.

diffstat:

 sys/arch/prep/conf/GENERIC |  128 +++++++++++++++++++++++++++++++++-----------
 1 files changed, 94 insertions(+), 34 deletions(-)

diffs (273 lines):

diff -r 4e4bfeee8049 -r 95d0b94e55e0 sys/arch/prep/conf/GENERIC
--- a/sys/arch/prep/conf/GENERIC        Wed Nov 22 16:07:16 2000 +0000
+++ b/sys/arch/prep/conf/GENERIC        Wed Nov 22 16:15:44 2000 +0000
@@ -1,11 +1,11 @@
-#      $NetBSD: GENERIC,v 1.13 2000/11/14 19:52:05 augustss Exp $
+#      $NetBSD: GENERIC,v 1.14 2000/11/22 16:15:44 nonaka Exp $
 #
 #      GENERIC -- everything that's currently supported
 #
 
 include "arch/prep/conf/std.prep"
 
-#ident         "GENERIC-$Revision: 1.13 $"
+#ident         "GENERIC-$Revision: 1.14 $"
 
 maxusers       32
 
@@ -86,8 +86,9 @@
 options        MIIVERBOSE      # verbose PHY autoconfig messages
 options        PCIVERBOSE      # verbose PCI device autoconfig messages
 #options       PCI_CONFIG_DUMP # verbosely dump PCI config space
+options        PCMCIAVERBOSE   # verbose PCMCIA configuration messages
 options        SCSIVERBOSE     # human readable SCSI error messages
-options        USBVERBOSE      # verbose USB device autoconfig messages
+#options       USBVERBOSE      # verbose USB device autoconfig messages
 
 options        NFS_BOOT_BOOTP
 options        NFS_BOOT_BOOTPARAM
@@ -113,6 +114,7 @@
 #config        netbsd  root on de0 type nfs
 #config        netbsd  root on le0 type nfs
 
+
 #
 # Device configuration
 #
@@ -120,6 +122,7 @@
 mainbus0 at root
 cpu0   at mainbus0
 
+
 # Basic Bus Support
 
 # PCI bus support
@@ -135,6 +138,17 @@
 # ISA bus support
 isa*   at pcib?                        # ISA on PCI-ISA bridge
 
+# PCMCIA bus support
+pcmcia* at pcic? controller ? socket ?
+
+# ISA PCMCIA controllers
+pcic0  at isa? port 0x3e0 iomem 0xd0000 iosiz 0x10000
+
+#options       PCIC_ISA_INTR_ALLOC_MASK=0x4a00 # free irq 9,11,14
+#options       PCIC_ISA_ALLOC_IOBASE=0x0400
+#options       PCIC_ISA_ALLOC_IOSIZE=0x0100
+
+
 # Console Devices
 
 # ISA console.
@@ -162,23 +176,36 @@
 
 mcclock0 at isa? port 0x70             # mc146818 and compatible
 
+
 # Serial Devices
 
 # ISA serial interfaces
 com0   at isa? port 0x3f8 irq 4        # standard PC serial ports
 com1   at isa? port 0x2f8 irq 3
 
+# 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
+
+
 # Parallel Printer Interfaces
 
 # ISA parallel printer interfaces
 lpt0   at isa? port 0x3bc irq 7        # standard PC parallel ports
 
+
 # SCSI Controllers and Devices
 
 # PCI SCSI controllers
 pcscp* at pci? dev ? function ?        # AMD 53c974 PCscsi-PCI SCSI
 
+# PCMCIA SCSI controllers
+aic*   at pcmcia? function ?           # Adaptec APA-1460 SCSI
+
 # SCSI bus support
+scsibus* at aic?
 scsibus* at pcscp?
 
 # SCSI devices
@@ -189,13 +216,34 @@
 ss*    at scsibus? target ? lun ?      # SCSI scanners
 uk*    at scsibus? target ? lun ?      # SCSI unknown
 
+
 # IDE and related devices
 
+# PCMCIA IDE controllers
+wdc*   at pcmcia? function ?
+
+# IDE drives
+# Flags are used only with controllers that support DMA operations
+# and mode settings (e.g. some pciide controllers)
+# The lowest order four bits (rightmost digit) of the flags define the PIO
+# mode to use, the next set of four bits the DMA mode and the third set the
+# UltraDMA mode. For each set of four bits, the 3 lower bits define the mode
+# to use, and the last bit must be 1 for this setting to be used.
+# For DMA and UDMA, 0xf (1111) means 'disable'.
+# 0x0fac means 'use PIO mode 4, DMA mode 2, disable UltraDMA'.
+# (0xc=1100, 0xa=1010, 0xf=1111)
+# 0x0000 means "use whatever the drive claims to support".
+wd*    at wdc? channel ? drive ? flags 0x0000
+
+# ATAPI bus support
+atapibus* at wdc? channel ?
+
 # ATAPI devices
 # flags have the same meaning as for IDE drives.
-#cd*   at atapibus? drive ? flags 0x0000       # ATAPI CD-ROM drives
-#sd*   at atapibus? drive ? flags 0x0000       # ATAPI disk drives
-#uk*   at atapibus? drive ? flags 0x0000       # ATAPI unknown
+cd*    at atapibus? drive ? flags 0x0000       # ATAPI CD-ROM drives
+sd*    at atapibus? drive ? flags 0x0000       # ATAPI disk drives
+uk*    at atapibus? drive ? flags 0x0000       # ATAPI unknown
+
 
 # Network Interfaces
 
@@ -206,6 +254,14 @@
 ne*    at pci? dev ? function ?        # NE2000-compatible Ethernet
 vr*    at pci? dev ? function ?        # VIA Rhine Fast Ethernet
 
+# PCMCIA network interfaces
+ep*    at pcmcia? function ?           # 3Com 3c589 and 3c562 Ethernet
+ne*    at pcmcia? function ?           # NE2000-compatible Ethernet
+
+mhzc*  at pcmcia? function ?           # Megahertz Ethernet/Modem combo cards
+com*   at mhzc?
+sm*    at mhzc?
+
 # MII/PHY support
 dmphy* at mii? phy ?                   # Davicom DM9101 PHYs
 exphy* at mii? phy ?                   # 3Com internal PHYs
@@ -221,53 +277,54 @@
 tqphy* at mii? phy ?                   # TDK Semiconductor PHYs
 ukphy* at mii? phy ?                   # generic unknown PHYs
 
+
 # USB Controller and Devices
 
 # PCI USB controllers
-uhci*  at pci? dev ? function ?        # Universal Host Controller (Intel)
-ohci*  at pci? dev ? function ?        # Open Host Controller
+#uhci* at pci? dev ? function ?        # Universal Host Controller (Intel)
+#ohci* at pci? dev ? function ?        # Open Host Controller
 
 # USB bus support
-usb*   at uhci?
-usb*   at ohci?
+#usb*  at uhci?
+#usb*  at ohci?
 
 # USB Hubs
-uhub*  at usb?
-uhub*  at uhub? port ? configuration ? interface ?
+#uhub* at usb?
+#uhub* at uhub? port ? configuration ? interface ?
 
 # USB Mice
-ums*   at uhub? port ? configuration ? interface ?
-wsmouse* at ums? mux 0
+#ums*  at uhub? port ? configuration ? interface ?
+#wsmouse* at ums? mux 0
 
 # USB Keyboards
-ukbd*  at uhub? port ? configuration ? interface ?
-wskbd* at ukbd? console ? mux 1
+#ukbd* at uhub? port ? configuration ? interface ?
+#wskbd*        at ukbd? console ? mux 1
 
 # USB Generic HID devices
-uhid*  at uhub? port ? configuration ? interface ?
+#uhid* at uhub? port ? configuration ? interface ?
 
 # USB Printer
-ulpt*  at uhub? port ? configuration ? interface ?
+#ulpt* at uhub? port ? configuration ? interface ?
 
 # USB Modem
-umodem* at uhub? port ? configuration ?
-ucom*  at umodem?
+#umodem* at uhub? port ? configuration ?
+#ucom* at umodem?
 
 # USB Mass Storage
-umass* at uhub? port ? configuration ? interface ?
-scsibus* at umass? channel ?
+#umass*        at uhub? port ? configuration ? interface ?
+#scsibus* at umass? channel ?
 #atapibus* at umass? channel ?
 
 # USB audio
-uaudio* at uhub? port ? configuration ?
+#uaudio* at uhub? port ? configuration ?
 
 # USB Ethernet adapters
-aue*   at uhub? port ?         # ADMtek AN986 Pegasus based adapters
-cue*   at uhub? port ?         # CATC USB-EL1201A based adapters
-kue*   at uhub? port ?         # Kawasaki LSI KL5KUSB101B based adapters
+#aue*  at uhub? port ?         # ADMtek AN986 Pegasus based adapters
+#cue*  at uhub? port ?         # CATC USB-EL1201A based adapters
+#kue*  at uhub? port ?         # Kawasaki LSI KL5KUSB101B based adapters
 
 # Prolofic PL2301/PL2302 host-to-host adapter
-upl*   at uhub? port ?
+#upl*  at uhub? port ?
 
 # Serial adapters
 # FTDI FT8U100AX serial adapter
@@ -275,22 +332,23 @@
 #ucom* at uftdi? portno ?
 
 # Diamond Multimedia Rio 500
-urio*  at uhub? port ?
+#urio* at uhub? port ?
 
 # USB Handspring Visor
-uvisor* at uhub? port ?
-ucom*  at uvisor?
+#uvisor* at uhub? port ?
+#ucom* at uvisor?
+
+# USB Generic driver
+#ugen* at uhub? port ?
 
 # USB scanners
-uscanner* at uhub? port ?
+#uscanner* at uhub? port ?
 
-# USB Generic driver
-ugen*  at uhub? port ?
 
 # Audio device
 
 # Audio support
-audio*  at uaudio?
+#audio*  at uaudio?
 
 # MIDI support
 midi*  at pcppi?               # MIDI interface to the PC speaker
@@ -298,11 +356,13 @@
 # The spkr driver provides a simple tone interface to the built in speaker.
 spkr0  at pcppi?               # PC speaker
 
+
 # Joysticks
 
 # ISA joysticks. Probe is a little strange; add only if you have one.
 joy0   at isa? port 0x201
 
+
 # Pseudo-Devices
 
 # disk/mass storage pseudo-devices



Home | Main Index | Thread Index | Old Index