免费注册 查看新帖 |

Chinaunix

  平台 论坛 博客 文库
最近访问板块 发新帖
查看: 2339 | 回复: 5
打印 上一主题 下一主题

[FreeBSD] 我的 Acer 手提電腦 FreeBSD 9-Stable 核心配罝檔案 [复制链接]

论坛徽章:
13
15-16赛季CBA联赛之同曦
日期:2016-01-28 19:52:032015亚冠之北京国安
日期:2015-10-07 14:28:19NBA常规赛纪念章
日期:2015-05-04 22:32:03处女座
日期:2015-01-15 19:45:44卯兔
日期:2014-10-28 16:17:14白羊座
日期:2014-05-24 15:10:46寅虎
日期:2014-05-10 09:50:35白羊座
日期:2014-03-12 20:52:17午马
日期:2014-03-01 08:37:27射手座
日期:2014-02-19 19:26:54子鼠
日期:2013-11-30 09:03:56狮子座
日期:2013-09-08 08:37:52
跳转到指定楼层
1 [收藏(0)] [报告]
发表于 2012-08-01 08:33 |只看该作者 |倒序浏览
本帖最后由 ulovko 于 2012-08-01 09:57 编辑

  1. #===============================================================================
  2. # 配置檔案識別名稱
  3. #===============================================================================
  4. ident           ACER5552

  5. #===============================================================================
  6. # 架構是 HAMMER 即 amd64
  7. #===============================================================================
  8. cpu             HAMMER

  9. #===============================================================================
  10. # 編譯選項:啟動 Kernel DTrace
  11. #===============================================================================
  12. makeoptions     DEBUG="-g"              # Build kernel with gdb(1) debug symbols
  13. makeoptions     WITH_CTF=1              # Build kernel support Dtrace
  14. #options        INCLUDE_CONFIG_FILE     # Include this file in kernel

  15. #===============================================================================
  16. # 系統排程器選項
  17. #===============================================================================
  18. options         SCHED_ULE               # ULE scheduler
  19. options         PREEMPTION              # Enable kernel thread preemption

  20. #===============================================================================
  21. # 網絡通信協議選項
  22. #===============================================================================
  23. options         SCTP                    # Stream Control Transmission Protocol
  24. options         INET                    # InterNETworking
  25. options         INET6                   # IPv6 communications protocols
  26. device          gif                     # IPv6 and IPv4 tunneling
  27. device          faith                   # IPv6-to-IPv4 relaying (translation)

  28. #===============================================================================
  29. # NETGRAPH 子系統支援
  30. #===============================================================================
  31. options         NETGRAPH

  32. #===============================================================================
  33. # PCI 滙流排選項
  34. #===============================================================================
  35. options         NEW_PCIB                # New PCI bridge codes
  36. device          pci

  37. #===============================================================================
  38. # GPT 啟動支援,UFS+J 啟動支援
  39. #===============================================================================
  40. options         GEOM_PART_GPT           # GUID Partition Tables.
  41. options         GEOM_LABEL              # Provides labelization
  42. options         GEOM_JOURNAL

  43. #===============================================================================
  44. # 檔案系統選項
  45. #===============================================================================
  46. options         FFS                     # Berkeley Fast Filesystem
  47. options         UFS_ACL                 # Support for access control lists
  48. options         UFS_EXTATTR
  49. options         UFS_EXTATTR_AUTOSTART
  50. options         UFS_DIRHASH             # Improve performance on big directories
  51. options         UFS_GJOURNAL            # Enable gjournal-based UFS journaling
  52. options         QUOTA                   # enable disk quotas
  53. options         SUIDDIR
  54. options         MD_ROOT                 # MD is a potential root device
  55. options         MSDOSFS                 # MSDOS Filesystem
  56. options         NULLFS                  # NULL filesystem
  57. options         UDF                     # Universal Disk Format
  58. options         CD9660                  # ISO 9660 Filesystem
  59. options         SMBFS                   # SMB/CIFS Filesystem
  60. options         NETSMB                  # SMB/CIFS requester
  61. options         LIBMCHAIN               # mchain
  62. options         LIBICONV                # kernel side iconv library
  63. options         CD9660_ICONV            # Optional character code conversion
  64. options         MSDOSFS_ICONV           # Optional character code conversion
  65. options         UDF_ICONV               # Optional character code conversion
  66. options         FDESCFS                 # File descriptor filesystem
  67. options         PROCFS                  # Process filesystem (requires PSEUDOFS)
  68. options         PSEUDOFS                # Pseudo-filesystem framework

  69. #===============================================================================
  70. # Capsicum 沙盒支援
  71. #===============================================================================
  72. options         CAPABILITIES            # fine-grained rights on file descriptors
  73. options         CAPABILITY_MODE         # sandboxes with no global namespace access

  74. #===============================================================================
  75. # 兼容支援選項,包括 Linux 32bit 支援
  76. #===============================================================================
  77. options         COMPAT_43TTY            # BSD 4.3 TTY compat (sgtty)
  78. options         COMPAT_FREEBSD32        # Compatible with i386 binaries
  79. options         COMPAT_LINUX32          # Linux 32bit
  80. options         P1003_1B_SEMAPHORES     # POSIX-style semaphores
  81. options     _KPOSIX_PRIORITY_SCHEDULING # POSIX P1003_1B real-time extensions

  82. #===============================================================================
  83. # SYSV IPC 選項
  84. #===============================================================================
  85. options         SYSVSHM                 # SYSV-style shared memory
  86. options         SYSVMSG                 # SYSV-style message queues
  87. options         SYSVSEM                 # SYSV-style semaphores

  88. #===============================================================================
  89. # 保安架構選項
  90. #===============================================================================
  91. options         AUDIT                   # Security event auditing
  92. options         MAC                     # TrustedBSD MAC Framework

  93. #===============================================================================
  94. # 核心除錯器及 DTrace 支援
  95. #===============================================================================
  96. options         DDB_CTF                 # kernel ELF linker loads CTF data
  97. options         KDTRACE_FRAME           # Ensure frames are compiled in
  98. options         KDTRACE_HOOKS           # Kernel DTrace hooks
  99. options         KDB                     # Kernel debugger related code
  100. options         KDB_TRACE               # Print a stack trace for a panic
  101. options         KTRACE                  # ktrace(1) support

  102. #===============================================================================
  103. # PF 防火牆
  104. #===============================================================================
  105. device          pf                      # packet filter
  106. device          pflog                   # packet filter
  107. device          pfsync                  # packet filter

  108. #===============================================================================
  109. # 其他核心選項
  110. #===============================================================================
  111. options         FLOWTABLE               # per-cpu routing cache
  112. options         STACK                   # stack(9) support
  113. options         PRINTF_BUFR_SIZE=128    # Prevent printf output being interspersed.
  114. options         KBD_INSTALL_CDEV        # install a CDEV entry in /dev
  115. options         HWPMC_HOOKS             # Necessary kernel hooks for hwpmc(4)

  116. #===============================================================================
  117. # AMD CPU 選項
  118. #===============================================================================
  119. options         SMP                     # Symmetric MultiProcessor Kernel
  120. device          amdtemp
  121. device          cpufreq

  122. #===============================================================================
  123. # ACPI 選項
  124. #===============================================================================
  125. device          acpi
  126. device          acpi_video

  127. #===============================================================================
  128. # SATA + CAM 選項
  129. #===============================================================================
  130. device          ahci
  131. device          ata
  132. options         ATA_CAM
  133. options         ATA_STATIC_ID

  134. #===============================================================================
  135. # SCSI 選項
  136. #===============================================================================
  137. device          scbus                   # SCSI bus (required for SCSI)
  138. device          ch                      # SCSI media changers
  139. device          ada                     # SATA harddisk drive
  140. device          da                      # Direct Access (disks)
  141. device          cd                      # CD
  142. device          pass                    # Passthrough device (direct SCSI access)
  143. device          ses                     # SCSI Environmental Services (and SAF-TE)
  144. options         SCSI_DELAY=5000         # Delay (in ms) before probing SCSI

  145. #===============================================================================
  146. # AT 鍵盤,滑鼠, VGA
  147. #===============================================================================
  148. device                atkbdc            # AT keyboard controller
  149. device                atkbd             # AT keyboard
  150. device                psm               # PS/2 mouse
  151. device                kbdmux            # keyboard multiplexer
  152. device                vga               # VGA video card driver
  153. device                agp               # AGP bus
  154. device                splash            # Splash screen and screen saver support
  155. device                sc                # syscon

  156. #===============================================================================
  157. # Serial Port
  158. #===============================================================================
  159. device                uart              # Generic UART driver

  160. #===============================================================================
  161. # 因特網介面支援及驅動程式
  162. #===============================================================================
  163. device                miibus               
  164. device                bge               
  165. device                ether

  166. #===============================================================================
  167. # WiFi 無線介面支援及驅動程式
  168. #===============================================================================
  169. device                wlan              # 802.11 support
  170. options         IEEE80211_DEBUG         # enable debug msgs
  171. options         IEEE80211_AMPDU_AGE     # age frames in AMPDU reorder q's
  172. options         IEEE80211_SUPPORT_MESH  # enable 802.11s draft support
  173. device                wlan_wep          # 802.11 WEP support
  174. device                wlan_ccmp         # 802.11 CCMP support
  175. device                wlan_tkip         # 802.11 TKIP support
  176. device                wlan_amrr         # AMRR transmit rate control algorithm
  177. device                wlan_xauth
  178. device                ath               # Atheros pci/cardbus NIC's
  179. device                ath_pci
  180. device                ath_hal           # pci/cardbus chip support
  181. options               AH_SUPPORT_AR5416
  182. device                ath_rate_sample   # SampleRate tx rate control for ath

  183. #===============================================================================
  184. # 虛擬網絡設備
  185. #===============================================================================
  186. device                lagg              # lagg interface
  187. device                loop              # Network loopback
  188. device                tun               # Packet tunnel.
  189. device                bpf               # Berkeley packet filter

  190. #===============================================================================
  191. # 其他虛擬設備
  192. #===============================================================================
  193. device                random            # Entropy device
  194. device                pty               # BSD-style compatibility pseudo ttys
  195. device                md                # Memory "disks"
  196. device                firmware          # firmware assist module

  197. #===============================================================================
  198. # USB 支援選項
  199. #===============================================================================
  200. options               USB_DEBUG         # enable debug msgs
  201. device                uhci              # UHCI PCI->USB interface
  202. device                ohci              # OHCI PCI->USB interface
  203. device                ehci              # EHCI PCI->USB interface (USB 2.0)
  204. device                usb               # USB Bus (required)
  205. device                udbp              # USB Double Bulk Pipe devices
  206. device                uhid              # "Human Interface Devices"
  207. device                ukbd              # Keyboard
  208. device                ulpt              # Printer
  209. device                umass             # Disks/Mass storage - Requires scbus and da
  210. device                ums               # Mouse
  211. device                uark              # Technologies ARK3116 based serial adapters
  212. device                ubsa              # Belkin F5U103 and compatible serial adapters
  213. device                uftdi             # For FTDI usb serial adapters
  214. device                uipaq             # Some WinCE based devices
  215. device                uplcom            # Prolific PL-2303 serial adapters
  216. device                uslcom            # SI Labs CP2101/CP2102 serial adapters
  217. device                uvisor            # Visor and Palm devices
  218. device                uvscom            # USB serial support for DDI pocket's PHS

  219. #===============================================================================
  220. # 音效支援選項
  221. #===============================================================================
  222. device                sound             # soundcard support
  223. device                snd_hda           #

  224. #===============================================================================
  225. # 讀卡器支援選項
  226. #===============================================================================
  227. device                mmc               #
  228. device                mmcsd             #
  229. device                sdhci             #
复制代码
ACER5552.txt.zip (3.33 KB, 下载次数: 6)

FROM: http://wiki.honyucheung.net/doku.php?id=freebsd:mycustomkernel

论坛徽章:
29
技术图书徽章
日期:2013-09-02 19:59:502015元宵节徽章
日期:2015-03-06 15:51:332015小元宵徽章
日期:2015-03-06 15:57:20操作系统版块每日发帖之星
日期:2015-08-16 06:20:002015七夕节徽章
日期:2015-08-21 11:06:17操作系统版块每日发帖之星
日期:2015-09-21 06:20:002015亚冠之水原三星
日期:2015-10-30 00:06:07数据库技术版块每日发帖之星
日期:2015-12-24 06:20:0015-16赛季CBA联赛之上海
日期:2016-01-07 10:32:07操作系统版块每日发帖之星
日期:2016-01-08 06:20:00操作系统版块每日发帖之星
日期:2016-05-18 06:20:00IT运维版块每日发帖之星
日期:2016-07-23 06:20:00
2 [报告]
发表于 2012-08-03 11:04 |只看该作者
提示: 作者被禁止或删除 内容自动屏蔽

论坛徽章:
13
15-16赛季CBA联赛之同曦
日期:2016-01-28 19:52:032015亚冠之北京国安
日期:2015-10-07 14:28:19NBA常规赛纪念章
日期:2015-05-04 22:32:03处女座
日期:2015-01-15 19:45:44卯兔
日期:2014-10-28 16:17:14白羊座
日期:2014-05-24 15:10:46寅虎
日期:2014-05-10 09:50:35白羊座
日期:2014-03-12 20:52:17午马
日期:2014-03-01 08:37:27射手座
日期:2014-02-19 19:26:54子鼠
日期:2013-11-30 09:03:56狮子座
日期:2013-09-08 08:37:52
3 [报告]
发表于 2012-08-03 12:23 |只看该作者
配置内核了?

论坛徽章:
4
天秤座
日期:2015-01-09 16:08:43狮子座
日期:2015-01-10 12:54:442015年亚洲杯之卡塔尔
日期:2015-01-29 23:02:232015亚冠之卡尔希纳萨夫
日期:2015-10-17 10:41:11
4 [报告]
发表于 2012-08-03 21:35 |只看该作者
仔细看了一遍,很精简,不错!

论坛徽章:
13
15-16赛季CBA联赛之同曦
日期:2016-01-28 19:52:032015亚冠之北京国安
日期:2015-10-07 14:28:19NBA常规赛纪念章
日期:2015-05-04 22:32:03处女座
日期:2015-01-15 19:45:44卯兔
日期:2014-10-28 16:17:14白羊座
日期:2014-05-24 15:10:46寅虎
日期:2014-05-10 09:50:35白羊座
日期:2014-03-12 20:52:17午马
日期:2014-03-01 08:37:27射手座
日期:2014-02-19 19:26:54子鼠
日期:2013-11-30 09:03:56狮子座
日期:2013-09-08 08:37:52
5 [报告]
发表于 2012-08-04 12:31 |只看该作者
sleepcat 发表于 2012-08-03 21:35
仔细看了一遍,很精简,不错!

的确很精简 ^_^

论坛徽章:
0
6 [报告]
发表于 2012-08-05 02:03 |只看该作者
有勞版主轉載小弟的 wiki, 這幾週忙於工作,僅餘私人時間則學習實作 /ports-mgmt/pkgng + /ports-mgmt/poudriere 搭建 自設的 pkgng repository

實作方式可以閱讀 Bapt@FreeBSD.org 君的 http://blog.etoilebsd.net/post/Home_made_pkgng_repo

评分

参与人数 1可用积分 +2 收起 理由
ulovko + 2 赞一个!

查看全部评分

您需要登录后才可以回帖 登录 | 注册

本版积分规则 发表回复

  

北京盛拓优讯信息技术有限公司. 版权所有 京ICP备16024965号-6 北京市公安局海淀分局网监中心备案编号:11010802020122 niuxiaotong@pcpop.com 17352615567
未成年举报专区
中国互联网协会会员  联系我们:huangweiwei@itpub.net
感谢所有关心和支持过ChinaUnix的朋友们 转载本站内容请注明原作者名及出处

清除 Cookies - ChinaUnix - Archiver - WAP - TOP