Commit Graph

76720 Commits

Author SHA1 Message Date
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
kent d091e19a34 - free all of allocated resources when an error occurs
- code cleanup
2005-06-25 16:32:39 +00:00
rpaulo 64fd052c74 Add file-system PTYFS (commented out) so that people know its existence.
Ok'ed by Christos Zoulas and Hubert Feyrer.
2005-06-25 12:05:15 +00:00
christos 4fdef695f7 the siginfo trap codes are mi. 2005-06-25 08:29:15 +00:00
christos 7a55962329 the exception numbers are MI. 2005-06-25 08:28:34 +00:00
christos c2e3be8566 - Recognize both darwin and mach emulations as valid.
- Use KSI_INIT_TRAP to initialize the trap.
2005-06-25 07:46:01 +00:00
christos f63c68071c minor refactoring; does not work on the i386 yet. 2005-06-25 06:30:19 +00:00
christos e6c16a46dc move ppc commpage stuff here. 2005-06-25 06:29:49 +00:00
christos 16d6b062e3 move stack somewhere where it is mappable, and add defines for i386 commpage. 2005-06-25 06:29:16 +00:00
riz 67399f088e Use %zx in a format string to print a size_t, not %lx, so a kernel
with KSYMS_DEBUG will compile.
2005-06-25 05:30:04 +00:00
fair 1adffc6d99 According to FreeBSD and other references, the cs5530 IDE controller,
while capable of UDMA mode 2, is swamped if you actually go that
fast, which is not good for the other functions on this multifunction
southbridge chip, so limit UDMA to mode 1.
2005-06-25 05:04:01 +00:00
dyoung f3574e6c00 Let ieee80211_input do WEP-decapsulation.
Make iwi(4) provide a key-allocator that returns valid indices for
the four global keys.  Now net80211 should let the h/w do WEP
encryption/decryption.
2005-06-25 04:02:45 +00:00
dyoung 23304515e7 Bug fix: fix WEP by managing keys & crypto in the style of the new
net80211.  It was especially important to zero the IEEE80211_F_DROPUNENC
(discard unencrypted packets) flag in operating modes where the
firmware decrypts for us.  Otherwise, the 802.11 layer discarded
all received frames.  See wi_mend_flags.  From FreeBSD, with
improvements by me.

For better compliance with the "net80211 way":
set sc_cnfauthmode from ic->ic_bss->ni_authmode.  Enter
the RUN state through ieee80211_create_ibss instead of
ieee80211_new_state(IEEE80211_S_RUN).  To sync BSSID in ad hoc
mode, use ieee80211_sta_join() instead of
ieee80211_new_state(IEEE80211_S_RUN).  From FreeBSD.

Configure the firmware to obey IEEE80211_F_DROPUNENC.

As we change to state RUN in STA mode, generate a link-status
message on the routing socket with a call to ieee80211_notify_node_join()
instead of calling rt_ifmsg directly.

Run normal net80211 processing (ieee80211_newstate) on the ->RUN
transition.
2005-06-25 03:56:53 +00:00
dyoung 133d421bca Cosmetic: join lines. 2005-06-25 03:41:50 +00:00
christos 0064ddfe2b the magic number is not byte-swapped. 2005-06-25 02:22:57 +00:00
christos 5ae508513d - include <sys/wait.h> so that this compile
- use the code field directly, instead of redoing the logic.
- XXX: the status field must be wrong. I think that the _WSTATUS()
  should not be used directly.
2005-06-25 02:19:06 +00:00
fair 92a7e38b60 document more precisely the Cyrix TSC lossage: if you execute "hlt"
when in powersave mode, the TSC stops counting!
2005-06-25 00:08:35 +00:00
manu d83c516040 More accurate SIGCHLD code and status for siginfo 2005-06-24 22:57:05 +00:00
seb 716f8f5ee2 Regen. 2005-06-24 21:41:16 +00:00
seb af3a92ca00 Add Texas Instruments PCI6515A Cardbus Controller with Smart Card Controller.
Approved by gimpy@
2005-06-24 21:39:25 +00:00