1 # NSLU - kernel configuration file for FreeBSD/arm on Linksys NSLU2
3 # For more information on this file, please read the handbook section on
4 # Kernel Configuration Files:
6 # http://www.FreeBSD.org/doc/en_US.ISO8859-1/books/handbook/kernelconfig-config.html
8 # The handbook is also available locally in /usr/share/doc/handbook
9 # if you've installed the doc distribution, otherwise always see the
10 # FreeBSD World Wide Web server (http://www.FreeBSD.org/) for the
13 # An exhaustive list of options and more detailed explanations of the
14 # device lines is also present in the ../../conf/NOTES and NOTES files.
15 # If you are in doubt as to the purpose or necessity of a line, check first
25 # XXX What is defined in std.avila does not exactly match the following:
26 #options PHYSADDR=0x10000000
27 #options KERNPHYSADDR=0x10200000
28 #options KERNVIRTADDR=0xc0200000 # Used in ldscript.arm
29 #options FLASHADDR=0x50000000
30 #options LOADERRAMADDR=0x00000000
32 include "../xscale/ixp425/std.ixp425"
33 # NB: memory mapping is defined in std.avila (see also comment above)
34 include "../xscale/ixp425/std.avila"
35 options XSCALE_CACHE_READ_WRITE_ALLOCATE
36 #To statically compile in device wiring instead of /boot/device.hints
37 hints "NSLU.hints" # Default places to look for devices.
38 makeoptions MODULES_OVERRIDE=""
40 makeoptions DEBUG=-g # Build kernel with gdb(1) debug symbols
41 makeoptions CONF_CFLAGS=-mcpu=xscale
43 options DEVICE_POLLING
45 # Debugging for use in -current
48 options DDB # Enable the kernel debugger
49 #options DEADLKRES # Enable the deadlock resolver
50 #options INVARIANTS # Enable calls of extra sanity checking
51 #options INVARIANT_SUPPORT # Extra sanity checks of internal structures, required by INVARIANTS
52 #options WITNESS # Enable checks to detect deadlocks and cycles
53 #options WITNESS_SKIPSPIN # Don't run witness on spinlocks for speed
56 options SCHED_ULE # ULE scheduler
57 options INET # InterNETworking
58 options INET6 # IPv6 communications protocols
59 options FFS # Berkeley Fast Filesystem
60 options SOFTUPDATES # Enable FFS soft updates support
61 options UFS_ACL # Support for access control lists
62 options UFS_DIRHASH # Improve performance on big directories
63 options NFSCL # Network Filesystem Client
64 options NFSD # Network Filesystem Server
65 options NFSLOCKD # Network Lock Manager
66 options NFS_ROOT # NFS usable as /, requires NFSCL
67 options GEOM_PART_BSD # BSD partition scheme
68 options GEOM_PART_MBR # MBR partition scheme
69 options TMPFS # Efficient memory filesystem
70 #options MSDOSFS # MSDOS Filesystem
71 options CD9660 # ISO 9660 Filesystem
72 #options PROCFS # Process filesystem (requires PSEUDOFS)
73 options PSEUDOFS # Pseudo-filesystem framework
74 options SCSI_DELAY=5000 # Delay (in ms) before probing SCSI
75 options KTRACE # ktrace(1) support
76 options SYSVSHM # SYSV-style shared memory
77 options SYSVMSG # SYSV-style message queues
78 options SYSVSEM # SYSV-style semaphores
79 options _KPOSIX_PRIORITY_SCHEDULING #Posix P1003_1B real-time extensions
80 options MUTEX_NOINLINE # Mutex inlines are space hogs
81 options RWLOCK_NOINLINE # rwlock inlines are space hogs
82 options SX_NOINLINE # sx inliens are space hogs
86 options BOOTP_WIRED_TO=npe0
97 device ixpiic # I2C bus glue
98 device ixpwdog # watchdog timer
100 device npe # Network Processing Engine
103 device qmgr # Q Manager (required by npe)
104 device mii # Minimal mii routines
105 device rlphy # NSLU2 uses Realtek PHY attached to npe
112 device random # Entropy device
119 device scbus # SCSI bus (required for ATA/SCSI)
120 device da # Direct Access (disks)