freebsd-dev/sys/pc98/conf/GENERIC
Bill Paul dfd1e98eac Add device driver support for USB ethernet adapters based on the
Kawasaki LSI KL5KUSB101B chip, including the LinkSys USB10T, the
Entrega NET-USB-E45, the Peracom USB Ethernet Adapter, the 3Com
3c19250 and the ADS Technologies USB-10BT. This device is 10mbs
half-duplex only, so there's miibus or ifmedia support. This device
also requires firmware to be loaded into it, however KLSI allows
redistribution of the firmware images (I specifically asked about
this; they said it was ok).

Special thanks to Annelise Anderson for getting me in touch with
KLSI (eventually) and thanks to KLSI for providing the necessary
programming info.

Highlights:
- Add driver files to /sys/dev/usb
- update usbdevs and regenerate attendate files
- update usb_quirks.c
- Update HARDWARE.TXT and RELNOTES.TXT for i386 and alpha
- Update LINT, GENERIC and others for i386, alpha and pc98
- Add man page
- Add module
- Update sysinstall and userconfig.c
2000-01-05 04:27:24 +00:00

299 lines
9.5 KiB
Plaintext

#
# GENERIC -- Generic machine with WD/AHx/NCR/BTx family disks
#
# For more information on this file, please read the handbook section on
# Kernel Configuration Files:
#
# http://www.freebsd.org/handbook/kernelconfig-config.html
#
# The handbook is also available locally in /usr/share/doc/handbook
# if you've installed the doc distribution, otherwise always see the
# FreeBSD World Wide Web server (http://www.FreeBSD.ORG/) for the
# latest information.
#
# An exhaustive list of options and more detailed explanations of the
# device lines is also present in the ./LINT configuration file. If you are
# in doubt as to the purpose or necessity of a line, check first in LINT.
#
# $FreeBSD$
# GENERIC98 -- Generic PC98 machine with WD/SCSI disks
machine pc98
cpu I386_CPU
cpu I486_CPU
cpu I586_CPU
cpu I686_CPU
ident GENERIC98
maxusers 32
#makeoptions DEBUG=-g #Build kernel with gdb(1) debug symbols
options PC98 #PC98
options MATH_EMULATE #Support for x87 emulation
options INET #InterNETworking
options FFS #Berkeley Fast Filesystem
options FFS_ROOT #FFS usable as root device [keep this!]
options MFS #Memory Filesystem
options MD_ROOT #MD is a potential root device
options NFS #Network Filesystem
options NFS_ROOT #NFS usable as root device, "NFS" req'ed
options MSDOSFS #MSDOS Filesystem
options CD9660 #ISO 9660 Filesystem
options CD9660_ROOT #CD-ROM usable as root. "CD9660" req'ed
options PROCFS #Process filesystem
options COMPAT_43 #Compatible with BSD 4.3 [KEEP THIS!]
options SCSI_DELAY=15000 #Be pessimistic about Joe SCSI device
options EPSON_BOUNCEDMA #use bounce buufer for 15-16M
#options EPSON_MEMWIN #EPSON memory window support
options UCONSOLE #Allow users to grab the console
#options LINE30
options USERCONFIG #boot -c editor
options VISUAL_USERCONFIG #visual boot -c editor
options KTRACE #ktrace(1) syscall trace support
options SYSVSHM #SYSV-style shared memory
options SYSVMSG #SYSV-style message queues
options SYSVSEM #SYSV-style semaphores
# To make an SMP kernel, the next two are needed
#options SMP # Symmetric MultiProcessor Kernel
#options APIC_IO # Symmetric (APIC) I/O
# Optionally these may need tweaked, (defaults shown):
#options NCPU=2 # number of CPUs
#options NBUS=4 # number of busses
#options NAPIC=1 # number of IO APICs
#options NINTR=24 # number of INTs
controller isa0
controller pci0
# Floppy drives
controller fdc0 at isa? port IO_FD1 irq 11 drq 2
device fd0 at fdc0 drive 0
device fd1 at fdc0 drive 1
device fd2 at fdc0 drive 2
device fd3 at fdc0 drive 3
# IDE controller and disks
controller wdc0 at isa? port IO_WD1 irq 9
device wd0 at wdc0 drive 0
#device wd1 at wdc0 drive 1
#device wd2 at wdc0 drive 2
#device wd3 at wdc0 drive 3
# ATAPI devices on wdc?
device wcd0 #IDE CD-ROM
#device wfd0 #IDE Floppy (e.g. LS-120)
#device wst0 #IDE Tape (e.g. Travan)
# SCSI Controllers
# A single entry for any of these controllers (ahb, ahc, amd, ncr, etc...) is
# sufficient for any number of installed devices.
controller adv0
controller ahc0 # AHA2940 and onboard AIC7xxx devices
controller amd0 # AMD 53C974 (Teckram DC-390(T))
controller isp0 # Qlogic family
controller ncr0 # NCR/Symbios Logic
controller sym0 # NCR/Symbios Logic (newer chipsets)
#
# WD33C93 SCSI card (55/92 like board)
#
options BS_TARG_SAFEMODE
# PC-9801-92
controller bs0 at isa? port IO_SCSI irq 5 drq 3 flags 0
# SC-98
# controller bs0 at isa? port IO_SCSI irq 5 drq 3 flags 0x10000
# HA-55BS2 and later
#controller bs0 at isa? port IO_SCSI irq 5 drq 3 flags 0x20000
# ELECOM type
#controller bs0 at isa? port IO_SCSI irq 5 drq 3 flags 0x30000
# SMIT
#controller bs0 at isa? port IO_SCSI irq 5 drq 3 iomem 0xdd000 iosiz 0x1000 flags 0x40000
# Logitec LHA-20x
#controller bs0 at isa? port IO_SCSI irq 5 drq 3 flags 0x50000
# SCSI peripherals
# Only one of each of these is needed, they are dynamically allocated.
controller scbus0 # SCSI bus (required)
device da0 # Direct Access (disks)
device sa0 # Sequential Access (tape etc)
device cd0 # CD
device pass0 # Passthrough device (direct SCSI access)
# RAID controllers
device amr0 # AMI MegaRAID
device mlx0 # Mylex DAC960 family
# keyboard driver
device pckbd0 at isa? port IO_KBD irq 1
#options KBD_INSTALL_CDEV
device gdc0 at isa?
# splash screen/screen saver
pseudo-device splash
# syscons is the default console driver, resembling an SCO console
device sc0 at isa?
# Floating point support - do not disable.
device npx0 at nexus? port IO_NPX irq 8
# Power management support (see LINT for more options)
device apm0 at nexus? disable flags 0x20 # Advanced Power Management
# PCCARD (PCMCIA) support
#controller card0
#device pcic0 at isa?
#device pcic1 at isa?
# Serial (COM) ports
#
options COM_MULTIPORT
#
# COM1
device sio0 at isa? port IO_COM1 irq 4
# COM2 (2nd CCU)
device sio1 at isa? port 0x238 irq 5 flags 0x12000000
# PC-9861K, PC-9801-101, MDC-926Rs
#device sio1 at isa? port IO_COM2 irq 5 flags 0x01000000
#device sio2 at isa? port IO_COM3 irq 6 flags 0x02000000
# PC-9801-120 (PnP off)
#device sio1 at isa? port 0x8b0 irq 5 flags 0x11000000
# MC-16550II, MC-RS98
#device sio1 at isa? port 0xd2 irq 5 flags 0x14000101
#device sio2 at isa? port 0x8d2 flags 0x14000101
# RSB-2000, RSB-3000, B98-02
#device sio1 at isa? port 0xb0 flags 0x15000101
#device sio2 at isa? port 0xb1 flags 0x15000101
# RSB-384
#device sio1 at isa? port 0xb0 flags 0x16000000
#device sio2 at isa? port 0xb1 flags 0x16000000
# RSA-98III
#device sio1 at isa? port 0x50e0 irq 5 flags 0x18000101
#device sio2 at isa? port 0x51e0 flags 0x18000101
# ESP98
#options COM_ESP
#device sio1 at isa? port 0x18b0 irq 5 flags 0x19000000
device mse0 at isa? port IO_MSE irq 13
# NEW Parallel port
device ppc0 at isa? port? irq 14
controller ppbus0 # Parallel port bus (required)
device lpt0 # Printer
device plip0 # TCP/IP over parallel
device ppi0 # Parallel port interface device
#controller vpo0 # Requires scbus and da0
# OLD Parallel port
# Please stay olpt driver after ppc driver
device olpt0 at isa? port IO_LPT
# PCI Ethernet NICs.
device de0 # DEC/Intel DC21x4x (``Tulip'')
device fxp0 # Intel EtherExpress PRO/100B (82557, 82558)
device tx0 # SMC 9432TX (83c170 ``EPIC'')
device vx0 # 3Com 3c590, 3c595 (``Vortex'')
# PCI Ethernet NICs that use the common MII bus controller code.
controller miibus0 # MII bus support
device dc0 # DEC/Intel 21143 and various workalikes
device rl0 # RealTek 8129/8139
device sf0 # Adaptec AIC-6915 (``Starfire'')
device sis0 # Silicon Integrated Systems SiS 900/SiS 7016
device ste0 # Sundance ST201 (D-Link DFE-550TX)
device tl0 # Texas Instruments ThunderLAN
device vr0 # VIA Rhine, Rhine II
device wb0 # Winbond W89C840F
device xl0 # 3Com 3c90x (``Boomerang'', ``Cyclone'')
# ISA Ethernet NICs.
#
# DP8390 NIC
#
# ed0: generic driver
# ed1: LANEED LD-BDN
# ed2: EGY-98
# ed3: LGY-98
# ed4: ICM-IF-2766/EN-2298-T
# ed5: SIC-98
# ed6: PC-9801-108
# ed7: LA-98
# ed8: C-NET(98)
# ed9: C-NET(98)E/L
#
# MB86960A NIC
#
# fe0: RE1000/1000Plus/AccessPC N98C+/LAC-98
# fe1: C-NET(98)P2/C-NET(9N)E
#
# FE_8BIT_SUPPORT is needed to support LAC-98
#
#device ed0 at isa? port 0x00d0 irq 6
#device ed5 at isa? port 0x00d0 irq 6 iomem 0xd0000 iosiz 16384 flags 0x600000
#device ed1 at isa? port 0x00d8 irq 6 flags 0x200000
#device ed3 at isa? port 0x00d0 irq 6 flags 0x400000
#device ed4 at isa? port 0x56d0 irq 5 flags 0x500000
#device ed2 at isa? port 0x00d8 irq 6 flags 0x300000
#device ed7 at isa? port 0x00d0 irq 6 flags 0x900000
#device ed6 at isa? port 0x0770 irq 6 flags 0x800000
#device ed9 at isa? port 0x03d0 irq 6 flags 0xb00000
#device ed8 at isa? port 0xa3d0 irq 6 iomem 0xd0000 iosiz 16384 flags 0xa00000
#device ed11 at isa? port 0x00d0 irq 6 iomem 0xd0000 iosiz 32768 flags 0x610000
options FE_8BIT_SUPPORT # LAC-98 support
device fe0 at isa? port 0x00d0 irq 3
device fe1 at isa? port 0x73d0 irq 5
device lnc0 at isa? port 0x03d0 irq 6
# NOTE: This removes the isa attachment so that the pccard unit numbers
# come out right.
device ep0 at isa? port 0x40d0 irq 3
# WaveLAN/IEEE 802.11 wireless NICs. Note: the WaveLAN/IEEE really
# exists only as a PCMCIA device, so there is no ISA attatement needed
# and resources will always be dynamically assigned by the pccard code.
#device wi0
#controller snd0
#device sb0 at isa? port 0x20d2 irq 10 conflicts drq 3
#device sbxvi0 at isa? drq 3
#device sbmidi0 at isa? port 0x80d2
#device opl0 at isa? port 0x28d2
#device nss0 at isa? port 0xa460 irq 12
#device mss0 at isa? port 0xf40 irq 12 drq 1
#device mpu0 at isa? port 0xe0d0 irq 6
# Pseudo devices - the number indicates how many units to allocated.
pseudo-device loop # Network loopback
pseudo-device ether # Ethernet support
pseudo-device sl 1 # Kernel SLIP
pseudo-device ppp 1 # Kernel PPP
pseudo-device tun # Packet tunnel.
pseudo-device pty # Pseudo-ttys (telnet etc)
pseudo-device md # Memory "disks"
# The `bpf' pseudo-device enables the Berkeley Packet Filter.
# Be aware of the administrative consequences of enabling this!
pseudo-device bpf #Berkeley packet filter
#pseudo-device compat_atdisk #IBM-PC HDD support
# USB support
#controller uhci0 # UHCI PCI->USB interface
#controller ohci0 # OHCI PCI->USB interface
#controller usb0 # USB Bus (required)
#device ugen0 # Generic
#device uhid0 # "Human Interface Devices"
#device ukbd0 # Keyboard
#device ulpt0 # Printer
#controller umass0 # Disks/Mass storage - Requires scbus and da0
#device ums0 # Mouse
#device aue0 # ADMtek USB ethernet
#device kue0 # Kawasaki LSI USB ethernet