summaryrefslogtreecommitdiffstats
path: root/sys/amd64/conf
diff options
context:
space:
mode:
authorjhb <jhb@FreeBSD.org>2000-05-12 03:05:35 +0000
committerjhb <jhb@FreeBSD.org>2000-05-12 03:05:35 +0000
commit85d951933fcaf9c648b8253b3cdb97eebb34bd40 (patch)
tree1ef42093efcba84ee0a2bbe8e08d43c22bdf002c /sys/amd64/conf
parent198f09c6490f91ae9c9c8efea0c89ab39cf74eae (diff)
downloadFreeBSD-src-85d951933fcaf9c648b8253b3cdb97eebb34bd40.zip
FreeBSD-src-85d951933fcaf9c648b8253b3cdb97eebb34bd40.tar.gz
Turn on USB support for most USB devices. udbp is not turned on since
NETGRAPH is not present in GENERIC at the moment. Also, change some settings to support USB installs: - Add KBD_INSTALL_CDEV as an option to make /dev/kbd[01] actually work. - Turn on keyboard probing in sc0. The syscons driver will now use a flag documented in ukbd(4) but not in sc(4) that tells syscons to actively search for a keyboard device if none is found. This allows USB keyboards to just be plugged in and instantly start working. - Require the atkbd0 driver to actually probe to see if a keyboard is there. This allows USB keyboards to be seen by sc0 if an AT keyboard isn't plugged into the computer. This also means that you will no longer be able to plug an AT keyboard into a machine after it has booted a GENERIC kernel and use it. AT keyboards aren't designed for this anyway. USB keyboards are designed for this, and they work.
Diffstat (limited to 'sys/amd64/conf')
-rw-r--r--sys/amd64/conf/GENERIC31
1 files changed, 16 insertions, 15 deletions
diff --git a/sys/amd64/conf/GENERIC b/sys/amd64/conf/GENERIC
index 72b66fd..0ab1f3a 100644
--- a/sys/amd64/conf/GENERIC
+++ b/sys/amd64/conf/GENERIC
@@ -52,6 +52,7 @@ options SYSVSEM #SYSV-style semaphores
options P1003_1B #Posix P1003_1B real-time extensions
options _KPOSIX_PRIORITY_SCHEDULING
options ICMP_BANDLIM #Rate limit bad replies
+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
@@ -113,7 +114,7 @@ device mlx # Mylex DAC960 family
# atkbdc0 controls both the keyboard and the PS/2 mouse
device atkbdc0 at isa? port IO_KBD
-device atkbd0 at atkbdc? irq 1
+device atkbd0 at atkbdc? irq 1 flags 0x1
device psm0 at atkbdc? irq 12
device vga0 at isa?
@@ -122,7 +123,7 @@ device vga0 at isa?
pseudo-device splash
# syscons is the default console driver, resembling an SCO console
-device sc0 at isa?
+device sc0 at isa? flags 0x100
# Enable this for the pcvt (VT220 compatible) console driver
#device vt0 at isa?
@@ -218,18 +219,18 @@ pseudo-device faith 1 # IPv6-to-IPv4 relaying (translation)
pseudo-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 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 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
# USB Ethernet, requires mii
-#device aue # ADMtek USB ethernet
-#device cue # CATC USB ethernet
-#device kue # Kawasaki LSI USB ethernet
+device aue # ADMtek USB ethernet
+device cue # CATC USB ethernet
+device kue # Kawasaki LSI USB ethernet
OpenPOWER on IntegriCloud