| 1 | # |
| 2 | # GENERIC -- Generic kernel configuration file for DragonFly/amd64 |
| 3 | # |
| 4 | # Check the LINT configuration file in sys/config, for an |
| 5 | # exhaustive list of options. |
| 6 | # |
| 7 | # $DragonFly: src/sys/config/AMD64_GENERIC,v 1.2 2008/01/31 11:48:54 swildner Exp $ |
| 8 | |
| 9 | platform pc64 |
| 10 | machine amd64 |
| 11 | machine_arch amd64 |
| 12 | cpu HAMMER_CPU |
| 13 | ident AMD64_GENERIC |
| 14 | maxusers 0 |
| 15 | |
| 16 | makeoptions DEBUG=-g #Build kernel with gdb(1) debug symbols |
| 17 | |
| 18 | #options MATH_EMULATE #Support for x87 emulation |
| 19 | options INET #InterNETworking |
| 20 | options INET6 #IPv6 communications protocols |
| 21 | options FFS #Berkeley Fast Filesystem |
| 22 | options FFS_ROOT #FFS usable as root device [keep this!] |
| 23 | options SOFTUPDATES #Enable FFS soft updates support |
| 24 | options UFS_DIRHASH #Improve performance on big directories |
| 25 | options MFS #Memory Filesystem |
| 26 | options MD_ROOT #MD is a potential root device |
| 27 | options NFS #Network Filesystem |
| 28 | options NFS_ROOT #NFS usable as root device, NFS required |
| 29 | options MSDOSFS #MSDOS Filesystem |
| 30 | options CD9660 #ISO 9660 Filesystem |
| 31 | options PROCFS #Process filesystem |
| 32 | options COMPAT_43 #Compatible with BSD 4.3 [KEEP THIS!] |
| 33 | options COMPAT_DF12 #Compatible with DragonFly 1.2 and earlier |
| 34 | options SCSI_DELAY=5000 #Delay (in ms) before probing SCSI |
| 35 | options DEVICE_POLLING # Support mixed interrupt-polling |
| 36 | # handling of network device drivers |
| 37 | options UCONSOLE #Allow users to grab the console |
| 38 | #options USERCONFIG #boot -c editor |
| 39 | #options VISUAL_USERCONFIG #visual boot -c editor |
| 40 | options KTRACE #ktrace(1) support |
| 41 | options SYSVSHM #SYSV-style shared memory |
| 42 | options SYSVMSG #SYSV-style message queues |
| 43 | options SYSVSEM #SYSV-style semaphores |
| 44 | options P1003_1B #Posix P1003_1B real-time extensions |
| 45 | options _KPOSIX_PRIORITY_SCHEDULING |
| 46 | options ICMP_BANDLIM #Rate limit bad replies |
| 47 | #options KBD_INSTALL_CDEV # install a CDEV entry in /dev |
| 48 | options AHC_REG_PRETTY_PRINT # Print register bitfields in debug |
| 49 | # output. Adds ~128k to driver. |
| 50 | options AHD_REG_PRETTY_PRINT # Print register bitfields in debug |
| 51 | # output. Adds ~215k to driver. |
| 52 | |
| 53 | # To make an SMP kernel both SMP and APIC_IO are usually |
| 54 | # specified. SMP boxes with severely broken BIOSes which |
| 55 | # boot fine for non-SMP builds *might* work in SMP mode |
| 56 | # if you define SMP and leave APIC_IO turned off. |
| 57 | # |
| 58 | #options SMP # Symmetric MultiProcessor Kernel |
| 59 | #options APIC_IO # Symmetric (APIC) I/O |
| 60 | |
| 61 | # Debugging for Development |
| 62 | options DDB |
| 63 | options DDB_TRACE |
| 64 | options INVARIANTS |
| 65 | |
| 66 | device isa |
| 67 | #device eisa |
| 68 | #device pci |
| 69 | |
| 70 | # Floppy drives |
| 71 | #device fdc0 at isa? port IO_FD1 irq 6 drq 2 |
| 72 | #device fd0 at fdc0 drive 0 |
| 73 | #device fd1 at fdc0 drive 1 |
| 74 | # |
| 75 | # If you have a Toshiba Libretto with its Y-E Data PCMCIA floppy, |
| 76 | # don't use the above line for fdc0 but the following one: |
| 77 | #device fdc0 |
| 78 | |
| 79 | # NEW-ATA (NATA) and ATAPI devices |
| 80 | # |
| 81 | #device nata |
| 82 | #device natadisk # ATA disk drives |
| 83 | #device natapicd # ATAPI CDROM drives |
| 84 | #device natapifd # ATAPI floppy drives |
| 85 | #device natapist # ATAPI tape drives |
| 86 | #device natapicam # Emulate ATAPI devices as SCSI |
| 87 | #device nataraid # support for ATA software RAID |
| 88 | # controllers |
| 89 | #device natausb # ATA-over-USB support |
| 90 | #options ATA_STATIC_ID # Static device numbering |
| 91 | #options PCI_MAP_FIXUP # Needed for NATA |
| 92 | |
| 93 | # LEGACY ATA and ATAPI devices |
| 94 | #device ata0 at isa? port IO_WD1 irq 14 |
| 95 | #device ata1 at isa? port IO_WD2 irq 15 |
| 96 | #device ata |
| 97 | #device atadisk # ATA disk drives |
| 98 | #device atapicd # ATAPI CDROM drives |
| 99 | #device atapifd # ATAPI floppy drives |
| 100 | #device atapist # ATAPI tape drives |
| 101 | #device atapicam # Emulate ATAPI devices as SCSI via CAM |
| 102 | #options ATA_STATIC_ID #Static device numbering |
| 103 | |
| 104 | # syscons is the default console driver, resembling an SCO console |
| 105 | #device sc0 at isa? flags 0x100 |
| 106 | #options SC_PIXEL_MODE # add support for the raster text mode |
| 107 | |
| 108 | # Floating point support - do not disable. |
| 109 | device npx0 at nexus? port IO_NPX irq 13 |
| 110 | |
| 111 | # Power management support (see LINT for more options) |
| 112 | # device apm0 at nexus? disable flags 0x20 # Advanced Power Management |
| 113 | |
| 114 | # Serial (COM) ports |
| 115 | device sio0 at isa? port IO_COM1 flags 0x10 irq 4 |
| 116 | device sio1 at isa? port IO_COM2 irq 3 |
| 117 | device sio2 at isa? disable port IO_COM3 irq 5 |
| 118 | device sio3 at isa? disable port IO_COM4 irq 9 |
| 119 | |
| 120 | # Parallel port |
| 121 | #device ppc0 at isa? irq 7 |
| 122 | #device ppbus # Parallel port bus (required) |
| 123 | #device lpt # Printer |
| 124 | #device plip # TCP/IP over parallel |
| 125 | #device ppi # Parallel port interface device |
| 126 | #device vpo # Requires scbus and da |
| 127 | |
| 128 | # Pseudo devices - the number indicates how many units to allocate. |
| 129 | pseudo-device loop # Network loopback |
| 130 | pseudo-device ether # Ethernet support |
| 131 | pseudo-device sl 1 # Kernel SLIP |
| 132 | pseudo-device ppp 1 # Kernel PPP |
| 133 | pseudo-device tun # Packet tunnel. |
| 134 | pseudo-device pty # Pseudo-ttys (telnet etc) |
| 135 | pseudo-device md # Memory "disks" |
| 136 | pseudo-device gif # IPv6 and IPv4 tunneling |
| 137 | pseudo-device faith 1 # IPv6-to-IPv4 relaying (translation) |