c2257f6c8a
bolted to a ne-2000 chip. This is necessary for the NetGear FA-410TX and other cards. This also requires you add mii to your kernel if you have an ed driver configured. This code will result in a couple of timeout messages for ed on the impacted cards. Additional work will be needed, but this does work right now, and many people need these cards. Submitted by: Ian Dowse <iedowse@maths.tcd.ie>
262 lines
8.3 KiB
Plaintext
262 lines
8.3 KiB
Plaintext
#
|
|
# NEWCARD -- efforts at porting newconfig pccard/cardbus code to newbus
|
|
#
|
|
# ***************
|
|
# *** WARNING ***
|
|
# ***************
|
|
#
|
|
# USE THIS CODE AT YOUR OWN RISK. IT IS EXPERIMENTAL AND WILL LIKELY NOT
|
|
# EVEN COMPILE FOR A WHILE. YOU HAVE BEEN WARNED. -- imp
|
|
#
|
|
# CURRENT STATUS OF CODE: NOT WORKING.
|
|
#
|
|
# 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 NOTES configuration file. If you are
|
|
# in doubt as to the purpose or necessity of a line, check first in NOTES.
|
|
#
|
|
# $FreeBSD$
|
|
|
|
machine i386
|
|
cpu I486_CPU
|
|
cpu I586_CPU
|
|
cpu I686_CPU
|
|
ident NEWCARD
|
|
maxusers 32
|
|
|
|
#To statically compile in device wiring instead of /boot/device.hints
|
|
#hints "NEWCARD.hints" #Default places to look for devices.
|
|
|
|
#makeoptions DEBUG=-g #Build kernel with gdb(1) debug symbols
|
|
|
|
options MATH_EMULATE #Support for x87 emulation
|
|
options INET #InterNETworking
|
|
#options INET6 #IPv6 communications protocols
|
|
options FFS #Berkeley Fast Filesystem
|
|
options SOFTUPDATES #Enable FFS soft updates support
|
|
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 required
|
|
options MSDOSFS #MSDOS Filesystem
|
|
options CD9660 #ISO 9660 Filesystem
|
|
#options DEVFS #Device Filesystem
|
|
options PROCFS #Process filesystem
|
|
options COMPAT_43 #Compatible with BSD 4.3 [KEEP THIS!]
|
|
options SCSI_DELAY=1000 #Delay (in ms) before probing SCSI
|
|
options UCONSOLE #Allow users to grab the console
|
|
options USERCONFIG #boot -c editor
|
|
options VISUAL_USERCONFIG #visual boot -c editor
|
|
options KTRACE #ktrace(1) support
|
|
options SYSVSHM #SYSV-style shared memory
|
|
options SYSVMSG #SYSV-style message queues
|
|
options SYSVSEM #SYSV-style semaphores
|
|
options P1003_1B #Posix P1003_1B real-time extensions
|
|
options _KPOSIX_PRIORITY_SCHEDULING
|
|
options KBD_INSTALL_CDEV # install a CDEV entry in /dev
|
|
|
|
# To make an SMP kernel, the next two are needed
|
|
#options SMP # Symmetric MultiProcessor Kernel
|
|
#options APIC_IO # Symmetric (APIC) I/O
|
|
|
|
options IPFIREWALL
|
|
options DUMMYNET
|
|
options IPFIREWALL_DEFAULT_TO_ACCEPT
|
|
options IPDIVERT
|
|
|
|
device isa
|
|
device eisa
|
|
device pci
|
|
device pccard
|
|
device pmtimer
|
|
device cardbus
|
|
#options COMPAT_OLDISA # compatability shims for lnc, le
|
|
|
|
# Floppy drives
|
|
device fdc
|
|
|
|
# ATA and ATAPI devices
|
|
device ata
|
|
device atadisk # ATA disk drives
|
|
device atapicd # ATAPI CDROM drives
|
|
device atapifd # ATAPI floppy drives
|
|
device atapist # ATAPI tape drives
|
|
options ATA_STATIC_ID #Static device numbering
|
|
#options ATA_ENABLE_ATAPI_DMA #Enable DMA on ATAPI devices
|
|
|
|
# SCSI Controllers
|
|
device ahb # EISA AHA1742 family
|
|
device ahc # AHA2940 and onboard AIC7xxx devices
|
|
device amd # AMD 53C974 (Teckram DC-390(T))
|
|
device isp # Qlogic family
|
|
#device ncr # NCR/Symbios Logic
|
|
device sym # NCR/Symbios Logic (newer chipsets + those of `ncr')
|
|
|
|
device adv # Advansys scsi adapters
|
|
device adw # Advansys wide scsi adapters
|
|
device aha # Adaptec 154x scsi adapters
|
|
device aic # Adaptec 15[012]x scsi adapters, AIC-6[23]60.
|
|
device bt # Buslogic/Mylex MultiMaster scsi adapters
|
|
|
|
device ncv # NCR 53C500
|
|
device nsp # Workbit Ninja SCSI-3
|
|
device stg # TMC 18C30/18C50
|
|
|
|
# RAID controllers interfaced to the SCSI subsystem
|
|
device asr # DPT SmartRAID V, VI and Adaptec SCSI RAID
|
|
device dpt # DPT Smartcache III, IV - See NOTES for options!
|
|
device mly # Mylex AcceleRAID/eXtremeRAID
|
|
|
|
# SCSI peripherals
|
|
device scbus # SCSI bus (required)
|
|
device da # Direct Access (disks)
|
|
device sa # Sequential Access (tape etc)
|
|
device cd # CD
|
|
device pass # Passthrough device (direct SCSI access)
|
|
|
|
# RAID controllers
|
|
device aac # Adaptec FSA RAID
|
|
device amr # AMI MegaRAID
|
|
device ida # Compaq Smart RAID
|
|
device mlx # Mylex DAC960 family
|
|
device twe # 3ware ATA RAID
|
|
|
|
# atkbdc0 controls both the keyboard and the PS/2 mouse
|
|
device atkbdc 1 # At keyboard controller
|
|
device atkbd # at keyboard
|
|
device psm # psm mouse
|
|
|
|
device vga # VGA screen
|
|
|
|
# splash screen/screen saver
|
|
device splash
|
|
|
|
# syscons is the default console driver, resembling an SCO console
|
|
device sc 1
|
|
|
|
# Enable this for the pcvt (VT220 compatible) console driver
|
|
#device vt
|
|
#options XSERVER # support for X server on a vt console
|
|
#options FAT_CURSOR # start with block cursor
|
|
# If you have a ThinkPAD, uncomment this along with the rest of the PCVT lines
|
|
#options PCVT_SCANSET=2 # IBM keyboards are non-std
|
|
|
|
# Floating point support - do not disable.
|
|
device npx
|
|
|
|
# Power management support (see NOTES for more options)
|
|
device apm
|
|
# Add suspend/resume support for the i8254.
|
|
device pmtimer
|
|
|
|
# Audio support
|
|
device pcm
|
|
|
|
|
|
# Pcmcia and cardbus bridge support
|
|
#device pcic # pcmcia bridge
|
|
device pccbb # cardbus (yenta) bridge
|
|
|
|
# Serial (COM) ports
|
|
device sio # 8250, 16[45]50 based serial ports
|
|
|
|
# Parallel port
|
|
device ppc
|
|
device ppbus # Parallel port bus (required)
|
|
device lpt # Printer
|
|
device plip # TCP/IP over parallel
|
|
device ppi # Parallel port interface device
|
|
#device vpo # Requires scbus and da
|
|
|
|
|
|
# PCI Ethernet NICs.
|
|
device de # DEC/Intel DC21x4x (``Tulip'')
|
|
device fxp # Intel EtherExpress PRO/100B (82557, 82558)
|
|
device vx # 3Com 3c590, 3c595 (``Vortex'')
|
|
device wx # Intel Gigabit Ethernet Card (``Wiseman'')
|
|
|
|
# PCI Ethernet NICs that use the common MII bus controller code.
|
|
# NOTE: Be sure to keep the 'device miibus' line in order to use these NICs!
|
|
device miibus # MII bus support
|
|
device dc # DEC/Intel 21143 and various workalikes
|
|
device pcn # AMD Am79C79x PCI 10/100 NICs
|
|
device rl # RealTek 8129/8139
|
|
device sf # Adaptec AIC-6915 (``Starfire'')
|
|
device sis # Silicon Integrated Systems SiS 900/SiS 7016
|
|
device ste # Sundance ST201 (D-Link DFE-550TX)
|
|
device tl # Texas Instruments ThunderLAN
|
|
device tx # SMC EtherPower II (83c170 ``EPIC'')
|
|
device vr # VIA Rhine, Rhine II
|
|
device wb # Winbond W89C840F
|
|
device xl # 3Com 3c90x (``Boomerang'', ``Cyclone'')
|
|
|
|
# ISA Ethernet NICs. pccard nics included.
|
|
device cs # Crystal Semiconductor CS89x0 NIC
|
|
# 'device ed' requires 'device miibus'
|
|
device ed # NE[12]000, SMC Ultra, 3c503, DS8390 cards
|
|
device ex # Intel EtherExpress Pro/10 and Pro/10+
|
|
device ep # Etherlink III based cards
|
|
device fe # Fujitsu MB8696x based cards
|
|
device sn # SMC's 9000 series of ethernet chips
|
|
device xe # Xircom pccard ethernet
|
|
|
|
# The probe order of these is presently determined by i386/isa/isa_compat.c.
|
|
#device ie
|
|
#device le
|
|
#device lnc
|
|
|
|
# Wireless NIC cards
|
|
device an # Aironet 4500/4800 802.11 wireless NICs.
|
|
device awi # BayStack 660 and others
|
|
device wi # WaveLAN/IEEE 802.11 wireless NICs.
|
|
#device wl # Older non 802.11 Wavelan wireless NIC.
|
|
|
|
# Pseudo devices - the number indicates how many units to allocated.
|
|
device random # Entropy device
|
|
device loop # Network loopback
|
|
device ether # Ethernet support
|
|
device sl # Kernel SLIP
|
|
device ppp 1 # Kernel PPP
|
|
device tun # Packet tunnel.
|
|
device pty # Pseudo-ttys (telnet etc)
|
|
device md # Memory "disks"
|
|
#device gif 4 # IPv6 and IPv4 tunneling
|
|
#device faith 1 # IPv6-to-IPv4 relaying (translation)
|
|
|
|
# The `bpf' device enables the Berkeley Packet Filter.
|
|
# Be aware of the administrative consequences of enabling this!
|
|
device bpf # Berkeley packet filter
|
|
|
|
# USB support
|
|
device uhci # UHCI PCI->USB interface
|
|
device ohci # OHCI PCI->USB interface
|
|
device usb # USB Bus (required)
|
|
#device udbp # USB Double Bulk Pipe devices
|
|
device ugen # Generic
|
|
device uhid # "Human Interface Devices"
|
|
device ukbd # Keyboard
|
|
device ulpt # Printer
|
|
device umass # Disks/Mass storage - Requires scbus and da
|
|
device ums # Mouse
|
|
device urio # Diamond Rio 500 MP3 player
|
|
device uscanner # Scanners
|
|
# USB Ethernet, requires mii
|
|
device aue # ADMtek USB ethernet
|
|
device cue # CATC USB ethernet
|
|
device kue # Kawasaki LSI USB ethernet
|
|
|
|
# This is an experimental kernel, so include DDB, INVARIANTS and WITNESS
|
|
options DDB
|
|
options INVARIANTS
|
|
options INVARIANT_SUPPORT
|
|
options WITNESS
|