freebsd-dev/sys
Maxim Sobolev 6621aa5cc7 Use the same method for detecting actual presence of AT-style keyboard
controller as we use in boot blocks (querying status register until
bit 1 goes off). If that doesn't happed during reasonable period assume
that the hardware doesn't have AT-style keyboard controller. This makes
FreeBSD working almost OOB on MacBook Pro (still there are issues with
putting second CPU core on-line, but since installation CD comes with
UP kernel with this change one should be able to install FreeBSD without
playing tricks with hints). Other legacy-free hardware (e.g. IBM NetVista
S40) should benefit from this as well, but since I don't have any I can't
verify.

It should make no difference on the ordinary i386 hardware (since in
that case that hardware already would be having an issues with A20
routines in boot blocks). I don't know much about AT-style keyboard
controller on other platforms (and don't have dedicated access to one),
therefore, the code is restricted to i386 for now. I suspect that amd64
may need this as well, but I would rather leave this decision to someone
who knows better about the platform(s) in question.

I have tested this change on as many "ordinary i386 boxes" as I can get
my hands on, and it doesn't create any false negatives on hardware with
AT-style keyboard present.

MFC after:	1 month
2006-04-26 06:05:16 +00:00
..
alpha Move AHC_REG_PRETTY_PRINT and AHD_REG_PRETTY_PRINT below 2006-04-24 08:44:34 +00:00
amd64 Check if reported HTT cores are physical cores. This commit does not 2006-04-25 00:06:37 +00:00
arm MFother arches : 2006-04-22 22:51:32 +00:00
boot Use PTOV() to convert physical addresses to appropriate virtual addresses 2006-04-25 18:42:22 +00:00
bsm
cam Actually check to see if XPT_CALC_GEOMETRY had an error 2006-04-18 22:01:59 +00:00
coda
compat
conf make BGE_FAKE_AUTONEG a tunable. 2006-04-25 15:56:52 +00:00
contrib fix "ipf -Z" reporting rubbish and possibly panic'ing box 2006-04-18 13:24:14 +00:00
crypto padlock(4) doesn't support explicitly provided keys yet. 2006-04-20 06:31:44 +00:00
ddb - Overhaul the 'ps' command in ddb to be mostly readable again. :) It is 2006-04-25 20:34:04 +00:00
dev Use the same method for detecting actual presence of AT-style keyboard 2006-04-26 06:05:16 +00:00
doc
fs Remove unused prototypes. 2006-04-12 12:17:29 +00:00
gdb
geom geli(8) provides keys on newsession time, so remove CRD_F_KEY_EXPLICIT flag 2006-04-20 06:33:46 +00:00
gnu Repair ext2fs writes. 2006-04-13 19:37:32 +00:00
i4b
i386 Check if reported HTT cores are physical cores. This commit does not 2006-04-25 00:06:37 +00:00
ia64 In nexus_teardown_intr(), actually remove the handler. 2006-04-21 16:12:28 +00:00
isa
isofs/cd9660
kern Add some new commands to hopefully make it easier to diagnose lock-related 2006-04-25 20:28:17 +00:00
libkern
modules Import ACPI Dock Station support. Note that this is still very young. 2006-04-15 12:31:34 +00:00
net Use ANSI C function protypes and declarations for if_arcsubr. 2006-04-12 07:44:31 +00:00
net80211
netatalk
netatm
netgraph o Replace disappeared URLs to Cisco docs by new ones, style. 2006-04-25 20:01:50 +00:00
netinet In in_pcbdrop(), fix !INVARIANTS build. 2006-04-25 23:23:13 +00:00
netinet6 Move lock assertions to top of in6_pcbladdr(): we still want them to run 2006-04-25 12:09:58 +00:00
netipsec Hide net.inet.ipsec.test_{replay,integrity} sysctls under #ifdef REGRESSION. 2006-04-10 15:04:36 +00:00
netipx Make this compile without INVARIANTS. 2006-04-11 23:15:47 +00:00
netkey
netnatm style(9) treatment following fixups. 2006-04-23 16:33:56 +00:00
netncp
netsmb
nfs
nfs4client
nfsclient
nfsserver Bump up the NFS server dupreq cache limit to 2K (from 64). With a small 2006-04-25 00:21:56 +00:00
opencrypto Be sure to wakeup the crypto thread when new request was queued. 2006-04-11 18:01:04 +00:00
pc98 o Move ISA specific code from ppc.c to ppc_isa.c -- a bus front- 2006-04-24 23:31:51 +00:00
pccard
pci
posix4
powerpc Set the rid for any resource obtained from rman_resource_reserve. 2006-04-20 04:19:10 +00:00
rpc
security Add some new options to mac_bsdestended. We can now match on: 2006-04-23 17:06:18 +00:00
sparc64 Move AHC_REG_PRETTY_PRINT and AHD_REG_PRETTY_PRINT below 2006-04-24 08:44:34 +00:00
sys Bump __FreeBSD_version to reflect the addition of fcloseall() to libc. 2006-04-22 15:12:50 +00:00
tools
ufs Revert previous to this file before an actual request is made. 2006-04-22 04:22:15 +00:00
vm Add synchronization to vm_pageq_add_new_page() so that it can be called 2006-04-25 17:27:24 +00:00
Makefile