aboutsummaryrefslogtreecommitdiff
path: root/sys/i386/conf/GENERIC
diff options
context:
space:
mode:
authorJohn Baldwin <jhb@FreeBSD.org>2000-05-12 03:05:35 +0000
committerJohn Baldwin <jhb@FreeBSD.org>2000-05-12 03:05:35 +0000
commit558d6032c28cf3849f288e46acb7272d973b7b7e (patch)
tree206c91ecfb8b22d204b4284e8375f51f355ffc94 /sys/i386/conf/GENERIC
parentdc785636aa17042e0694280632185ff491dac863 (diff)
downloadsrc-558d6032c28cf3849f288e46acb7272d973b7b7e.tar.gz
src-558d6032c28cf3849f288e46acb7272d973b7b7e.zip
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.
Notes
Notes: svn path=/head/; revision=60419
Diffstat (limited to 'sys/i386/conf/GENERIC')
-rw-r--r--sys/i386/conf/GENERIC31
1 files changed, 16 insertions, 15 deletions
diff --git a/sys/i386/conf/GENERIC b/sys/i386/conf/GENERIC
index 72b66fdb703f..0ab1f3a38dc2 100644
--- a/sys/i386/conf/GENERIC
+++ b/sys/i386/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