Commit Graph

143642 Commits

Author SHA1 Message Date
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
thorpej
08fcaa05cf Need <dev/pci/pcivar.h> in the non-P4032 case. 2006-02-18 17:13:39 +00:00
thorpej
0ed7df8193 Don't use sizeof() on an incomplete type. 2006-02-18 17:09:35 +00:00
thorpej
6f6c345298 Fix a typo. Pointed out by yamt. 2006-02-18 16:45:35 +00:00
elad
5cd336ae07 When loading a policy with an "nclasses" option, always set the min/max
values for the various character classes to allow any number, just in
case. Also note about that in the man-page.

This makes it easier to use the "nclasses" option.

Note that alternatively we could just memset() to 0xff when doing the
load, but that might lead to more unexpected behavior.
2006-02-18 16:45:01 +00:00
elad
cf6eceb4e7 Don't expose struct pw_policy and use pw_policy_t, use malloc, man-page
fixups.

As discussed on source-changes@.

Okay yamt@, thorpej@.
2006-02-18 16:32:45 +00:00
yamt
5eb3b9f4ff yamt-uio_vmspace: new base tag. 2006-02-18 15:47:31 +00:00
jmcneill
57b4685f5b Note rasops shadowfb changes. 2006-02-18 15:30:52 +00:00
dsl
959e130a7f Changes to allow support for a reduced set of architectures.
In particular if SMALLPROG is set (eg for installation crunched ramdiskbin)
only build for the current MACHINE.
2006-02-18 14:54:53 +00:00
thorpej
eac3d8d187 Add the DP83847 PHY. From seebs in kern/32866 2006-02-18 14:17:16 +00:00
jmcneill
4f186b3e0d Add shadow framebuffer support. 2006-02-18 13:57:33 +00:00
dsl
2fdbc8bd5f The fstypes table is only needed for adding 'stage2' bootstraps on some
platforms.  Compile out the code if NO_STAGE2 is defined.
2006-02-18 12:45:15 +00:00
dsl
200e1792a1 Define the ib_mach_xxx entries here in a way that will allocate them into
the bss if the MD file isn't linked into the installboot image.
2006-02-18 12:43:36 +00:00
dsl
b22a0afa5c Ignore entre is in the 'machines' table that have no name.
Use terminal with to break line of machine names.
2006-02-18 12:42:26 +00:00