Commit Graph

76739 Commits

Author SHA1 Message Date
elad 1b7133edad From marius@openbsd:
Fix an issue when scripts are executed under systrace where the argv[0]
would be normalized, and hence break scripts that depend on how they were
called.
2005-06-27 17:11:20 +00:00
junyoung 01690e5f55 ANSI, KNF, de-__P, drop trailing spaces, and some other cosmetic changes. 2005-06-27 11:52:28 +00:00
junyoung b116f53b43 Remove trailing spaces. 2005-06-27 11:34:30 +00:00
junyoung d0824fcff5 Use the form of #include <...> rather than #include "..." for headers of
which paths don't start from the current directory.
2005-06-27 11:28:51 +00:00
junyoung 15991bc98b Remove trailing spaces. 2005-06-27 11:27:17 +00:00
junyoung e1aeee0597 Use the form of #include <...> rather than #include "..." for headers of
which paths don't start from the current directory.
2005-06-27 11:26:02 +00:00
junyoung 24833b0bc4 Remove trailing spaces. 2005-06-27 11:21:25 +00:00
ragge a4a700a791 Fixes due to cast-qual addition. 2005-06-27 11:05:24 +00:00
ragge 44e092c88a Shadowed variable fix. 2005-06-27 11:03:58 +00:00
ragge 5c95110a0c Update according to cast-qual addition. 2005-06-27 11:03:25 +00:00
dyoung c0a74e44c8 rtw: Try to get hardware WEP to work. It seems to work in
the RX direction, but not in the TX direction.  The
	  net80211 crypto framework doesn't seem to cope very well
	  with the assymetry (I'm probably missing something), so
	  I will use software WEP for now.

net80211: In ieee80211_compute_duration, figure out whether to add
	  the WEP header to the packet overhead by checking the
	  WEP bit in the Frame Control field of the 802.11 header,
	  instead of checking the IEEE80211_F_PRIVACY flag.

	  Also, if the WEP bit is present, assume that the frame
	  described by (wh, len) has already already been WEP
	  encapsulated, and adjust the payload length accordingly.
	  XXX that's a grotty hack that I will have to revisit,
	  later.
2005-06-27 05:49:13 +00:00
thorpej 6ab17a336e u_int8_t -> uint8_t 2005-06-27 03:36:25 +00:00
christos e2e7fbd568 no reason for those not to be const. 2005-06-27 03:00:03 +00:00
thorpej b651fb886d Sprinkle some static. 2005-06-27 02:29:32 +00:00
thorpej 154a970ff4 Small whitespace tweak. 2005-06-27 02:23:26 +00:00
thorpej e569facced Use ANSI function decls. 2005-06-27 02:19:48 +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 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 305da7ae35 de-lint some pointer casts. 2005-06-26 20:55:44 +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
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
rpaulo 36e94843e3 Correct RCS Ids. 2005-06-26 13:52:58 +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
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
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
christos 82700d5ef5 start implementing the missing code. 2005-06-25 23:25:09 +00:00
dyoung 7a7b273b60 Don't include files.ath any more, it's disappeared. 2005-06-25 23:09:54 +00:00
dyoung 6a0e52d84e Move the definitions in dev/pci/files.ath into dev/pci/files.pci.
Stop including dev/pci/files.ath in arch/i386/conf/files.i386,
since we get the same definitions by including dev/pci/files.pci,
now.  Remove dev/pci/files.ath.

Add arch/macppc/conf/Makefile.macppc with directives for linking
the Atheros HAL for PowerPC.

In athhal-powerpc-be-eabi.opt_ah.h, #define AH_REGOPS_FUNC 1, since
otherwise the linker complains that the PowerPC HAL cannot link
with register-read/write subroutines.

Add ath(4) to the GENERIC macppc kernel configuration; comment it
out.
2005-06-25 22:08:54 +00:00
bouyer 61f82d5486 Write the station address using 8-bits writes instead of 16-bits.
This is what the linux driver does, and makes the DGE-550T work without the
STGE_CU_BUG hack. So remove the STGE_CU_BUG hack.
Set bit 0x0020 in STGE_DebugCtrl too, the linux driver does it (the comments
note this as a workaround, without more details. This doesn't seem to make
things worse).
Also initialize STGE_RxDMABurstThresh and STGE_RxDMAUrgentThresh, using
values from the linux driver.

Approved by Jason Thorpe.
2005-06-25 21:43:38 +00:00
christos ef57f1b2d4 be a little smarter about fast traps. 2005-06-25 18:45:44 +00:00
bouyer acd358ae3d Use the time provided by the hypervisor instead of our global time variable
for xen_microtime(). This match more closely what is done on a real i386
(where we read the RTC), and seems to fix gettimeofday() sometime going
backward by several seconds for me.
2005-06-25 18:44:59 +00:00