home *** CD-ROM | disk | FTP | other *** search
/ Chip 2000 July / Chip_2000-07_cd.bin / tema / FreeBSD / Kernel4 < prev    next >
Text File  |  2000-03-30  |  8KB  |  251 lines

  1. #
  2. # GENERIC -- Generic kernel configuration file for FreeBSD/i386
  3. #
  4. # For more information on this file, please read the handbook section on
  5. # Kernel Configuration Files:
  6. #
  7. #    http://www.freebsd.org/handbook/kernelconfig-config.html
  8. #
  9. # The handbook is also available locally in /usr/share/doc/handbook
  10. # if you've installed the doc distribution, otherwise always see the
  11. # FreeBSD World Wide Web server (http://www.FreeBSD.ORG/) for the
  12. # latest information.
  13. #
  14. # An exhaustive list of options and more detailed explanations of the
  15. # device lines is also present in the ./LINT configuration file. If you are
  16. # in doubt as to the purpose or necessity of a line, check first in LINT.
  17. #
  18. # $FreeBSD: src/sys/i386/conf/GENERIC,v 1.246 2000/03/09 16:32:55 jlemon Exp $
  19.  
  20. machine        i386
  21. #cpu        I386_CPU
  22. cpu        I486_CPU
  23. cpu        I586_CPU
  24. cpu        I686_CPU
  25. ident        MYKERNEL
  26. maxusers    8
  27.  
  28. #makeoptions    DEBUG=-g        #Build kernel with gdb(1) debug symbols
  29.  
  30. options     MATH_EMULATE        #Support for x87 emulation
  31. options     INET            #InterNETworking
  32. options     INET6            #IPv6 communications protocols
  33. options     FFS            #Berkeley Fast Filesystem
  34. options     FFS_ROOT        #FFS usable as root device [keep this!]
  35. options     MFS            #Memory Filesystem
  36. options     MD_ROOT            #MD is a potential root device
  37. options     NFS            #Network Filesystem
  38. options     NFS_ROOT        #NFS usable as root device, NFS required
  39. options     MSDOSFS            #MSDOS Filesystem
  40. options     CD9660            #ISO 9660 Filesystem
  41. options     CD9660_ROOT        #CD-ROM usable as root, CD9660 required
  42. options        EXT2FS
  43. options        IBCS2
  44. options     PROCFS            #Process filesystem
  45. options     COMPAT_43        #Compatible with BSD 4.3 [KEEP THIS!]
  46. options     SCSI_DELAY=15000    #Delay (in ms) before probing SCSI
  47. options     UCONSOLE        #Allow users to grab the console
  48. options     USERCONFIG        #boot -c editor
  49. options     VISUAL_USERCONFIG    #visual boot -c editor
  50. options        USER_LDT
  51. options     KTRACE            #ktrace(1) support
  52. options     SYSVSHM            #SYSV-style shared memory
  53. options     SYSVMSG            #SYSV-style message queues
  54. options     SYSVSEM            #SYSV-style semaphores
  55. options        VESA
  56. options     P1003_1B        #Posix P1003_1B real-time extentions
  57. options     _KPOSIX_PRIORITY_SCHEDULING
  58. options        ICMP_BANDLIM        #Rate limit bad replies
  59.  
  60. # To make an SMP kernel, the next two are needed
  61. #options     SMP            # Symmetric MultiProcessor Kernel
  62. #options     APIC_IO            # Symmetric (APIC) I/O
  63. # Optionally these may need tweaked, (defaults shown):
  64. #options     NCPU=2            # number of CPUs
  65. #options     NBUS=4            # number of busses
  66. #options     NAPIC=1            # number of IO APICs
  67. #options     NINTR=24        # number of INTs
  68.  
  69. device        isa
  70. device        eisa
  71. device        pci
  72.  
  73. # Floppy drives
  74. device        fdc0    at isa? port IO_FD1 irq 6 drq 2
  75. device        fd0    at fdc0 drive 0
  76. device        fd1    at fdc0 drive 1
  77.  
  78. # ATA and ATAPI devices
  79. device        ata0    at isa? port IO_WD1 irq 14
  80. device        ata1    at isa? port IO_WD2 irq 15
  81. device        ata
  82. device        atadisk            # ATA disk drives
  83. device        atapicd            # ATAPI CDROM drives
  84. device        atapifd            # ATAPI floppy drives
  85. device        atapist            # ATAPI tape drives
  86. options     ATA_STATIC_ID        #Static device numbering
  87. #options     ATA_ENABLE_ATAPI_DMA    #Enable DMA on ATAPI devices
  88.  
  89. # SCSI Controllers
  90. device        ahb        # EISA AHA1742 family
  91. device        ahc        # AHA2940 and onboard AIC7xxx devices
  92. device        amd        # AMD 53C974 (Teckram DC-390(T))
  93. device        dpt        # DPT Smartcache - See LINT for options!
  94. device        isp        # Qlogic family
  95. device        ncr        # NCR/Symbios Logic
  96. device        sym        # NCR/Symbios Logic (newer chipsets)
  97.  
  98. device        adv0    at isa?
  99. device        adw
  100. device        bt0    at isa?
  101. device        aha0    at isa?
  102. device        aic0    at isa?
  103.  
  104. # SCSI peripherals
  105. device        scbus        # SCSI bus (required)
  106. device        da        # Direct Access (disks)
  107. device        sa        # Sequential Access (tape etc)
  108. device        cd        # CD
  109. device        pass        # Passthrough device (direct SCSI access)
  110.  
  111. # RAID controllers
  112. device        ida        # Compaq Smart RAID
  113. device        amr        # AMI MegaRAID
  114. device        mlx        # Mylex DAC960 family
  115.  
  116. # atkbdc0 controls both the keyboard and the PS/2 mouse
  117. device        atkbdc0    at isa? port IO_KBD
  118. device        atkbd0    at atkbdc? irq 1
  119. device        psm0    at atkbdc? irq 12
  120.  
  121. device        vga0    at isa?
  122.  
  123. # splash screen/screen saver
  124. pseudo-device    splash
  125.  
  126. # syscons is the default console driver, resembling an SCO console
  127. device        sc0    at isa?
  128.  
  129. # Enable this and PCVT_FREEBSD for pcvt vt220 compatible console driver
  130. #device        vt0    at isa?
  131. #options     XSERVER            # support for X server on a vt console
  132. #options     FAT_CURSOR        # start with block cursor
  133. # If you have a ThinkPAD, uncomment this along with the rest of the PCVT lines
  134. #options     PCVT_SCANSET=2        # IBM keyboards are non-std
  135.  
  136. # Floating point support - do not disable.
  137. device        npx0    at nexus? port IO_NPX irq 13
  138.  
  139. # Power management support (see LINT for more options)
  140. device        apm0    at nexus? disable flags 0x20 # Advanced Power Management
  141.  
  142. device         pcm
  143.  
  144. # PCCARD (PCMCIA) support
  145. #device        card
  146. #device        pcic0    at isa? irq 10 port 0x3e0 iomem 0xd0000
  147. #device        pcic1    at isa? irq 11 port 0x3e2 iomem 0xd4000 disable
  148.  
  149. # Serial (COM) ports
  150. device        sio0    at isa? port IO_COM1 flags 0x10 irq 4
  151. device        sio1    at isa? port IO_COM2 irq 3
  152. device        sio2    at isa? disable port IO_COM3 irq 5
  153. #device        sio3    at isa? disable port IO_COM4 irq 9
  154.  
  155. # Parallel port
  156. device        ppc0    at isa? irq 7
  157. device        ppbus        # Parallel port bus (required)
  158. device        vpo
  159. device        lpt        # Printer
  160. device        plip        # TCP/IP over parallel
  161. device        ppi        # Parallel port interface device
  162. device        pps
  163.  
  164. device        ppc1    at isa? irq 9
  165. device        ppbus        # Parallel port bus (required)
  166. device        vpo
  167. device        lpt        # Printer
  168. device        plip        # TCP/IP over parallel
  169. device        ppi        # Parallel port interface device
  170. device        pps
  171.  
  172.  
  173.  
  174.  
  175.  
  176.  
  177.  
  178. # PCI Ethernet NICs.
  179. device        de        # DEC/Intel DC21x4x (``Tulip'')
  180. device        fxp        # Intel EtherExpress PRO/100B (82557, 82558)
  181. device        tx        # SMC 9432TX (83c170 ``EPIC'')
  182. device        vx        # 3Com 3c590, 3c595 (``Vortex'')
  183. device        wx        # Intel Gigabit Ethernet Card (``Wiseman'')
  184.  
  185. # PCI Ethernet NICs that use the common MII bus controller code.
  186. device        miibus        # MII bus support
  187. device        dc        # DEC/Intel 21143 and various workalikes
  188. device        rl        # RealTek 8129/8139
  189. device        sf        # Adaptec AIC-6915 (``Starfire'')
  190. device        sis        # Silicon Integrated Systems SiS 900/SiS 7016
  191. device        ste        # Sundance ST201 (D-Link DFE-550TX)
  192. device        tl        # Texas Instruments ThunderLAN
  193. device        vr        # VIA Rhine, Rhine II
  194. device        wb        # Winbond W89C840F
  195. device        xl        # 3Com 3c90x (``Boomerang'', ``Cyclone'')
  196.  
  197. # ISA Ethernet NICs.
  198. device        ed0    at isa? port 0x280 irq 10 iomem 0xd8000
  199. device        ex
  200. device        ep
  201. # WaveLAN/IEEE 802.11 wireless NICs. Note: the WaveLAN/IEEE really
  202. # exists only as a PCMCIA device, so there is no ISA attatement needed
  203. # and resources will always be dynamically assigned by the pccard code.
  204. device        wi
  205. # Aironet 4500/4800 802.11 wireless NICs. Note: the declaration below will
  206. # work for PCMCIA and PCI cards, as well as ISA cards set to ISA PnP
  207. # mode (the factory default). If you set the switches on your ISA
  208. # card for a manually chosen I/O address and IRQ, you must specify
  209. # those paremeters here.
  210. device        an
  211. # The probe order of these is presently determined by i386/isa/isa_compat.c.
  212. device        ie0    at isa? port 0x300 irq 10 iomem 0xd0000
  213. device        fe0    at isa? port 0x300
  214. device        le0    at isa? port 0x300 irq 5 iomem 0xd0000
  215. device        lnc0    at isa? port 0x280 irq 10 drq 0
  216. device        cs0    at isa? port 0x300
  217. device        sn0    at isa? port 0x300 irq 10
  218. # requires PCCARD (PCMCIA) support to be activated
  219. #device        xe0    at isa?
  220.  
  221. # Pseudo devices - the number indicates how many units to allocated.
  222. pseudo-device    loop        # Network loopback
  223. pseudo-device    ether        # Ethernet support
  224. pseudo-device    sl    1    # Kernel SLIP
  225. pseudo-device    ppp    1    # Kernel PPP
  226. pseudo-device    tun        # Packet tunnel.
  227. pseudo-device    pty        # Pseudo-ttys (telnet etc)
  228. pseudo-device    vn        # Vnode driver
  229. pseudo-device    md        # Memory "disks"
  230. pseudo-device    gif    4    # IPv6 and IPv4 tunneling
  231. pseudo-device    faith    1    # IPv6-to-IPv4 relaying (translation)
  232.  
  233. # The `bpf' pseudo-device enables the Berkeley Packet Filter.
  234. # Be aware of the administrative consequences of enabling this!
  235. pseudo-device    bpf        #Berkeley packet filter
  236.  
  237. # USB support
  238. #device        uhci        # UHCI PCI->USB interface
  239. #device        ohci        # OHCI PCI->USB interface
  240. #device        usb        # USB Bus (required)
  241. #device        ugen        # Generic
  242. #device        uhid        # "Human Interface Devices"
  243. #device        ukbd        # Keyboard
  244. #device        ulpt        # Printer
  245. #device        umass        # Disks/Mass storage - Requires scbus and da
  246. #device        ums        # Mouse
  247. # USB Ethernet, requires mii
  248. #device        aue        # ADMtek USB ethernet
  249. #device        cue        # CATC USB ethernet
  250. #device        kue        # Kawasaki LSI USB ethernet
  251.