Commit Graph

143955 Commits

Author SHA1 Message Date
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
gdamore
24829ed7cc Back out accidental inclusion of aupcmcia. Doh! 2006-02-19 00:55:00 +00:00
christos
539c95af37 PR/32873: Johan Veenhuizen: login(1) does not initialize lastlogx struct
properly
2006-02-19 00:48:34 +00:00
gdamore
b0d6ee4527 Sprinkle wbflush(). Apparently code out there assumes implicit barriers. 2006-02-19 00:16:54 +00:00
christos
e551462e89 PR/32870: Johan Veenhuizen: login(1) does not obey .hushlogin 2006-02-19 00:12:36 +00:00
gdamore
26ef9b6b01 Use bus_space instead of direct access.
Fix a couple of inverted bits.
Added GPIO_BASE definition to aureg.h.
2006-02-18 23:21:06 +00:00
matt
8b121c704a Seperate out the compat support for VAX. Also, make references to the
sigcontext sigtramp code weak so compat can be compiled out.
2006-02-18 22:54:51 +00:00
apb
1045a48c15 Merge the check_child_status function from diffutils-2.8.7.
The rest of the gnu/dist/diffutils tree remains at version 2.8.1.

Fixes PR 23162 from George Michaelson (etcupdate/sdiff report
error on applying merge edits)

Approved by wiz, christos
2006-02-18 22:42:12 +00:00
rjs
f511d415b4 Add definition for iPAQ 3900. 2006-02-18 22:19:20 +00:00
dyoung
e315c6b227 When atw_enable is called, power may have been removed and re-applied,
so invalidate the WEP SRAM to force us to write the keys back to
the hardware.
2006-02-18 22:12:01 +00:00
dyoung
f66ad201c4 Fix serious regression in AP-client mode: program adapter's BSSID
as we enter the IEEE80211_S_AUTH and IEEE80211_S_ASSOC states, so
that we don't send 802.11 Authentication and Association frames
with BSSID=00:00:00:00:00:00.
2006-02-18 22:07:11 +00:00
jmcneill
182032a345 Take responsibility for vesafb, splash 2006-02-18 21:16:06 +00:00
jmcneill
2042ec29f2 Note wsdisplay, splash, and vesafb changes. 2006-02-18 21:14:12 +00:00
joerg
d8f58dca75 Change the link status code in MII to use if_link_state_change instead
of calling rt_ifmsg directly. This allows other parts of the kernel
to change the behaviour depending on the link state and is a
prerequirement for CARP.

Hide mii_phy_statusmsg, mii_phy_update should be used instead.
Don't send routing messages for baudrate changes, if_baudrate is
currently not exported via this interface.

OK tls@
2006-02-18 19:51:07 +00:00
martin
f128d05a8c #if __i386__ the include of opt_splash.h for now - it is only defined
on i386.
XXX - Jared, this needs to be done differently!
2006-02-18 19:40:42 +00:00
jmcneill
8e45f8abca Add the ability to control the splash screen.
wsconsctl -d -w splash.enable=<1|0> to toggle the splash screen, and
 wsconsctl -d -w splash.progress=1 to update the splash animation
2006-02-18 19:35:11 +00:00
apb
4c0d821d7b etcupdate can now use a binary set file. 2006-02-18 19:34:13 +00:00
jmcneill
f3dd92f51c Return 0 on success, not ENODEV, for WSDISPLAYIO_SPROGRESS. 2006-02-18 19:33:03 +00:00
apb
7e321ef839 Give etcupdate the ability to use etc.tgz and xetc.tgz.
* Expand the "-s" flag to -s {srcdir|tgzfile|tempdir}.
* Deprecate the "-b" flag.  It is replaced by "-s tempdir".
* Change "-s srcdir" to refer to the top of the source tree (e.g.
  /usr/src) instead of the etc subdirectory.

In etcupdate's interactive phase, enhance the "s" command to be able
to invoke alternative diff commands.

Also some style changes.

Approved by christos
2006-02-18 19:29:48 +00:00
jmcneill
717f2d5d7e Document vesafb and splash screen configuration options. Both are disabled
by default.
2006-02-18 19:15:19 +00:00
jmcneill
e94541db3a If options SPLASHSCREEN and SPLASHSCREEN_PROGRESS are enabled, update the
animation periodically during autoconf.
2006-02-18 19:09:53 +00:00
jmcneill
537f4da67c Import vesa framebuffer driver. Replaces vesa_raster8, which didn't do
anything.
2006-02-18 19:07:11 +00:00
jmcneill
56fa9d50ff Import splash screen support. 2006-02-18 19:00:23 +00:00
jmcneill
4baf344378 Bunch of changes to wscons in preparation for splash screen support:
* Add WSDISPLAY_TYPE_VESA for vesafb. While here, fix a typo in a comment.
 * Add WSDISPLAYIO_SSPLASH and WSDISPLAYIO_SPROGRESS ioctls. The former
   toggles the splash screen on and off, and the latter updates the progress
   animation.
 * Prevent more than one hw driver from claiming to be the console.
 * In vcons, keep two pointers to the screen's vcons_data. This lets us
   override the original (ie with null emulops during boot), and restore
   them later on.
2006-02-18 18:56:05 +00:00
dsl
2fd2e12bd8 Don't bloat the standalone images with preset CRC tables and large routines.
Ideally some of the loops need de-unrolling as well (and in adler32.c).
Makes the i386 install floppies fit.
2006-02-18 18:39:58 +00:00
jmcneill
234804d618 Reflect shadow framebuffer changes (hi wiz!). 2006-02-18 18:36:26 +00:00
joerg
34096c9b32 Print the source and destination IP in ip_forward's DIAGNOSTIC code
with inet_ntoa, making it more human friendly.

From Liam J. Foy in private mail.
2006-02-18 17:47:07 +00:00
rpaulo
ae6865ba83 PR 13952: Noritoshi Demizu: correct the TCP window information update check. 2006-02-18 17:34:49 +00:00