138000 Commits

Author SHA1 Message Date
christos
6499bd69c1 constify. 2005-06-26 22:45:50 +00:00
christos
79f5327ef7 This is the textbook example of why global variables are harmful. Fix multiple
shadowing warnings for variables with the same name used both in global and
local context. Really this needs either to rename all the global variables
something different (prefix them with gl_ or something) or even better get
rid of them altogether.
2005-06-26 22:36:55 +00:00
christos
47f6845101 add a const. 2005-06-26 22:34:38 +00:00
christos
d0ef8ba60e - need string.h
- add const.
2005-06-26 22:34:12 +00:00
christos
00baafe7d1 - need <string.h>
- cast arguments to ctype is*() functions to unsigned char.
2005-06-26 22:33:31 +00:00
christos
7674b13eed add const 2005-06-26 22:32:47 +00:00
christos
d360ba5ea6 make some function declarations that are used both in the kernel and userland
visible for both.
2005-06-26 22:32:30 +00:00
erh
1b6f9cc263 Make sure there is a valid transmit key, before trying to use information
about it.  Fixes a crash when configuring wi0.
2005-06-26 21:51:37 +00:00
christos
a9274bf3fb Don't abuse writing to const strings. We can pass const strings to this,
and we write to them. Allocate memory instead.
2005-06-26 21:43:33 +00:00
christos
dea4bd707c const poisoning. 2005-06-26 21:28:15 +00:00
christos
bbfb3b7295 Names could be const. 2005-06-26 21:18:00 +00:00
christos
7642adc771 match the declarations in libipsec.h 2005-06-26 21:14:37 +00:00
christos
fba8d9ce60 Fix some of the pointer abuse, and add some const. Not done yet. 2005-06-26 21:14:08 +00:00
christos
305da7ae35 de-lint some pointer casts. 2005-06-26 20:55:44 +00:00
christos
286ad449da sprinkle little const. 2005-06-26 20:47:08 +00:00
seb
1bc84e0800 Regen. 2005-06-26 20:04:10 +00:00
seb
4b6c4203cc Add ATI Radeon Mobility X600.
Add Mobile Intel 915PM/GM/GMS and 910GML Express Chipset.
2005-06-26 20:02:48 +00:00
elad
8ebc2e9bee From marius@openbsd:
Add an exec message so that whenever a set-uid/gid process executes a new
image which we may control, the exec does not go by unnoticed.
2005-06-26 19:58:29 +00:00
he
5b718ea54c Adapt to compiling with -Wcast-qual by adding a const and a couple
of __volatile__ uses.
2005-06-26 19:57:30 +00:00
he
a05900d94d Fix -Wcast-qual warnings by adding two __UNCONST() uses and removing
two /* discard const */ comments.
2005-06-26 19:56:42 +00:00
he
5a196eb1ff Pass NULL as second argument to config_rootfound() instead of a string. 2005-06-26 19:55:45 +00:00
he
f289c3cf55 Placate -Wshadow by renaming a local variable. 2005-06-26 19:55:14 +00:00
he
3e86f3b06f Rename macro-local variables so that __read_1() and __write_1() does
not use the same variable name.  Fixes -Wshadow warning.
2005-06-26 19:54:42 +00:00
christos
6310b59691 sprinkle a little const, and now everything compiles with WARNS=3 2005-06-26 19:10:48 +00:00
christos
a397ec1f77 warns=3
- remove param names from function decls
- sprinkle const
- rename shadowed variables
- XXX: there is a lot of fishy __UNCONST going on.
2005-06-26 19:09:00 +00:00
thorpej
d026a7c623 Restructure this Makefile to make it easier to comment out subdirectories. 2005-06-26 17:47:49 +00:00
christos
b2d91da0d4 WARNS=3 2005-06-26 17:10:28 +00:00
thorpej
011cf1cb73 Comment out I486_CPU -- it only adds more code, and I386_CPU will work
just fine on any system.
2005-06-26 17:07:04 +00:00
thorpej
1fc5e9b8c4 _nsdispatching needs to count, not just be 1 or 0. Also shuffle around
its use a little to eliminate some duplication.
2005-06-26 16:27:36 +00:00
rpaulo
36e94843e3 Correct RCS Ids. 2005-06-26 13:52:58 +00:00
wiz
9dda894764 Dd wants long name of the month, not the three-letter one. 2005-06-26 13:12:07 +00:00
rpaulo
eedb27fa12 Add PTYFS (commented out) in the correct form. 2005-06-26 12:08:11 +00:00
dsl
dbf3baf6b4 Remove 'isp' driver (support for Qlogic ISP [12]0x0 SCSI/FibreChannel).
Compensates for the recent bloat of the ath driver and 802.11 support.
2005-06-26 11:24:20 +00:00
mlelstv
d23f1d6e16 expire cached route. Fixes PR 22792. 2005-06-26 10:39:21 +00:00
wiz
7cb5118cfd Sort SEE ALSO. Drop trailing space. 2005-06-26 10:16:46 +00:00
wiz
47fb7786c1 Since the obj dir handling changes in the code have been
reverted, revert them in the man page too (i.e., revert v1.115).
2005-06-26 10:14:43 +00:00
wiz
f6a26780ce Bump date for new magic symlinks, and add uname(1) to SEE ALSO. 2005-06-26 10:11:05 +00:00
wiz
ac79bd4dc2 Drop trailing space. 2005-06-26 10:07:23 +00:00
jmmv
2864abffb8 And bump date for previous... 2005-06-26 09:22:52 +00:00
jmmv
63ae1d1feb Add Kingston DataTraveler 2.0 to the list of known working devices. 2005-06-26 09:22:16 +00:00
wiz
02287e794c New sentence, new line.
Change copyright year to when this page was committed.
2005-06-26 08:55:48 +00:00
wiz
536ce37138 Bump date for previous. 2005-06-26 08:41:42 +00:00
rtr
ce87f475df we aren't supposed to build afb{tile,blt}.c this should resolve issues with
duplicate symbols in the libafb.a module
2005-06-26 06:33:43 +00:00
mrg
1f42a99845 enable the vnd LKM. i meant to do this when this LKM first appeared. 2005-06-26 05:36:57 +00:00
dyoung
7bcee8c697 Do not build AP support if 'options IEEE80211_NO_HOSTAP' is in the
kernel configuration.
2005-06-26 04:37:25 +00:00
dyoung
9a7ebfdde9 Add some debug messages to ieee80211_notify_node_{join,leave}.
Change the way we walk 802.11 peers/clients: for each eligible
interface, walk the ic_sta (peers/clients) table, first; walk the
ic_scan (scan results) table, second; then visit the ic_bss (node
for the network joined/created by the interface).
2005-06-26 04:34:43 +00:00
dyoung
74988b0f25 Do not build AP support if 'options IEEE80211_NO_HOSTAP'. I will
use this in the INSTALL kernel to save some space.
2005-06-26 04:31:51 +00:00
fair
762e4993e8 The Cyrix cs5530 PCI host bridge does not have a broken latch on the i8254
clock core, unlike its predecessors the cs5510 and cs5520.

This reverses the setting from i386/1386/identcpu.c where it argueably should
not have been set in the first place, as argued in PR kern/25261

XXX One other thing: the i8254 latch compensation code is only found in
i386/isa/clock.c and NOT in i386/i386/microtime.S where it should also be.
2005-06-26 02:09:59 +00:00
fair
1bffc74f4f More clearly document the amazing lossage of this chip/core in an
expanded BUGS section. Sprinkle more mdoc macros in appropriate
places.
2005-06-26 01:50:52 +00:00
christos
b2c412f190 pass the real code to trace_exit not the translated one, so that kdump
knows this is a mach syscall.
2005-06-25 23:25:51 +00:00