Commit Graph

143682 Commits

Author SHA1 Message Date
uwe 4f2fba2a61 Use comma in debug message in _load_segment_end to make it more readable. 2006-02-20 03:09:05 +00:00
uwe ef2734fbd0 Print the size of address translation table in hex.
Use plural "pages", "bytes".
2006-02-20 03:07:33 +00:00
jnemeth df4822d1f0 Correct The Hitchhiker's Guide to the Galaxy entry about dolphins as per
page 119 of the book.
2006-02-20 03:00:27 +00:00
jmcneill dfbb22ef69 Make this compile again if VESABIOSVERBOSE is not defined. 2006-02-20 00:50:10 +00:00
yamt 7a114c5bd0 posix_fadvise is in section 2, not 3. pointed by Hisashi T Fujinaka. 2006-02-20 00:34:30 +00:00
thorpej 98339fbc17 Whoah, put some of that back inside #ifdef VESABIOSVERBOSE 2006-02-19 23:19:28 +00:00
elad bca69c49bf needs assert.h to compile. 2006-02-19 23:13:14 +00:00
tron 28fb66b731 Improve code probing for the Intel hardware RNG to avoid false detections.
See http://home.comcast.net/~andrex/hardware-RNG/doihave.html for details.
Problem pointed on by Thor Lancelot Simon on port-amd64 mailing list.
2006-02-19 23:10:16 +00:00
bjh21 c892ebfd2b Document "show all pages". Reminded by wiz. 2006-02-19 22:46:40 +00:00
yamt 03c44ce523 document posix_fadvise. 2006-02-19 22:27:47 +00:00
jmcneill ea3c7f1cc7 Add screenblanking support. Not enabled by default, as in some cases it
might cause the system to hang. Where it does work, it works well. Enabled
by setting options VESAFB_PM.

Tested on ATI Radeon M9 (failed), NeoMagic 256AV (passed).
2006-02-19 21:41:18 +00:00
martin cf755d3b8b Regen 2006-02-19 21:31:14 +00:00
martin 505c00bd30 Add Aztech AZT1020. From Stephan Meisinger. 2006-02-19 21:30:46 +00:00
elad f0dd749f9b add _DIAGASSERT as requested by mrg@. 2006-02-19 20:46:29 +00:00
thorpej eb8dcd3151 Fix a botched aprint_*() conversion. 2006-02-19 19:54:23 +00:00
bjh21 ed2f09f139 Add a "show all pages" command to DDB which prints one line per physical
page in the system.  Useful for getting some idea where all your memory's
gone, at least on a sufficiently small system.
2006-02-19 18:52:29 +00:00
jmcneill 904145aa04 Now that we have support for it in vcons, simplify the text disable/enable
support by using SCREEN_DISABLE_DRAWING and SCREEN_ENABLE_DRAWING rather
than messing with the screen's vcons_data.
2006-02-19 18:12:28 +00:00
jmcneill 2ab3751122 splash is MI; move it out of files.i386 2006-02-19 17:24:36 +00:00
jmcneill 8d38b91f51 Smaller NetBSD logo image, suitable for lower memory situations or
screens that don't do 640x480 (ie, 640x240 on hpcsh Jornada 690).
2006-02-19 17:12:01 +00:00
jmcneill b886fcd18f Make this compile again. 2006-02-19 17:07:52 +00:00
jmcneill a5ce3fb6ba Pull in opt_vesafb.h for width/height/depth options. 2006-02-19 16:20:59 +00:00
jmcneill 5ef74ff108 Make VESAFB_WIDTH, VESAFB_HEIGHT, VESAFB_DEPTH defined in opt_vesafb.h.
While we're here, give us NVESAFB in vesafb.h
2006-02-19 16:20:21 +00:00
jmcneill b74d978f79 Prevent vga from attaching if vesafb is the console. Accessing VGA
registers after switching to a VESA linear framebuffer mode is not
guaranteed to work. This should fix the majority of the problems people
have been experiencing with vesafb.

XXX: Still doesn't fix the assertion in wscons with options DIAGNOSTIC.
2006-02-19 15:16:53 +00:00
jmcneill bb78dd00aa Move softc definition to vesafbvar.h 2006-02-19 15:13:55 +00:00
jmcneill 117a143dac Multiple inclusion protection. 2006-02-19 15:09:58 +00:00
thorpej c37edf541c Add accessor functions for the device_t type. Make device_lookup() a
real function, rather than a macro.
2006-02-19 15:01:21 +00:00
thorpej a9beff9534 Use aprint_*(). 2006-02-19 14:59:22 +00:00
apb 1f082bb8d2 Wording changes to clarify some the options presented after
a file is merged.
2006-02-19 14:56:56 +00:00
peter b4370e9bff Add dealloc() function, to make hpcboot build again.
ok uwe@.
2006-02-19 14:44:00 +00:00
peter d27b3a0292 de-__P. 2006-02-19 13:06:06 +00:00
peter ce8dca9281 Fix a typo. 2006-02-19 13:04:42 +00:00
peter 8f83cde4e3 Fix TCP/UDP checksum handling as pointed out by Daniel Hartmeier in:
http://mail-index.netbsd.org/tech-net/2006/01/21/0000.html.

Problem reported and patch tested by der Mouse & Nino Dehne (PR/32874).
2006-02-19 12:15:33 +00:00
apb 32c588d6a3 Fix errors in previous. I accidentally committed the wrong code. 2006-02-19 11:36:10 +00:00
xtraeme 1587eed13a * Add missing "re* at cardbus? function ?"
* Xr cardbus(4)

Bump date.
2006-02-19 09:40:32 +00:00
xtraeme a9488074d6 Add __KERNEL_RCSID. 2006-02-19 08:49:45 +00:00
xtraeme 80a3ae858b * Add missing $NetBSD$ tag and __KERNEL_RCSID.
* Nuke completely __P().
2006-02-19 08:40:12 +00:00
dyoung 255487c5d5 Support newer firmwares. From Eric Auge. 2006-02-19 08:20:46 +00:00
dyoung 1a85ac8d6d Add radiotap support to an(4). From Eric Auge. 2006-02-19 08:20:02 +00:00
dyoung a43fc3c20c When rtw_enable is called, power may have been removed and re-applied,
so invalidate the WEP key registers to force us to write the keys
back to the hardware.

Revamp key handling: use the hardware WEP engine for 40-bit and
104-bit keys, only; use software WEP for all other key lengths.
Set the hardware key length to the length of the default Tx key,
or if there is no default Tx key, use the length of the longest
WEP key.
2006-02-19 08:10:06 +00:00
dyoung e1a75e8134 ADM8211 hardware WEP is not working (probably due to a bug in 802.11
Duration / PLCP Length calculation), so temporarily switch to
software WEP, which is working.
2006-02-19 08:02:46 +00:00
dyoung d339db427f Use a safe idiom to extract the keyid from the WEP header, instead
of assuming that the bytes of the 802.11 header and WEP header are
contiguous in the mbuf chain.
2006-02-19 07:55:59 +00:00
dyoung b3c2bc4d06 From sam@FreeBSD.org:
set the mgt frame tx timer before dispatching the frame to the
driver; this closes a race where a response could be processed
before the timer was started and cause a RUN->SCAN state change
when operating in station mode
2006-02-19 07:52:43 +00:00
dyoung 8c04abbd4e In 802.11 Duration and PLCP Length calculation, account for privacy
overhead in both the header and the *trailer*.
2006-02-19 07:49:28 +00:00
christos b1732b7a63 make these consistent. 2006-02-19 05:06:02 +00:00
macallan 23d4731713 add a flag to completely disable drawing on a screen 2006-02-19 03:51:03 +00:00
jmcneill a87e6cda11 Make this compile without options SPLASHSCREEN 2006-02-19 03:04:37 +00:00
tls adc9550318 Add amdpm -- without this, we're throwing away a good hardware random
number source on a huge set of machines.  Also, now that amdpm has
support for the SMBus controller, add (commented-out, since we don't
always know what address the sensors are at) iic at amdpm and adt7463c
at iic, which is the configuration used on the Tyan S2881 and S2882-D
server boards.  This should work in either 64-bit or 32-bit mode; it's
been tested in 64-bit mode.  Addresses PR kern/32463 submitted by
Anil Gopinath.
2006-02-19 02:55:21 +00:00
tls b69125454c Add support for i2c bus on AMD-8111 used on many Opteron server motherboards,
and ADT 7463c thermal and voltage monitor found on the Tyan S2881 and S2882-D
(and probably other boards as well).  We do not currently support any kind
of detection of the i2c address of the thermal monitor; it appears to be
at 0x2D on the S2881 and 0x2E on the S2882-D (kernel config examples
forthcoming).

From PR kern/32463 submitted by Anil Gopinath, anil_public@yahoo.com.
2006-02-19 02:24:20 +00:00
macallan 47b2704858 alternative splashscreen image, from salo@
If you want different colours - muck with _splash_header_data_cmap ;)
2006-02-19 02:10:42 +00:00
macallan 23bcdb1c3e use defparam for SPLASHSCREEN_IMAGE 2006-02-19 01:39:54 +00:00