Commit Graph

142156 Commits

Author SHA1 Message Date
christos
6ffa88f118 bring in changes from 2.4.4b1; we will import 2.4.4 once it is released. 2005-12-31 08:58:50 +00:00
christos
36134a63ad - don't leak the ipv6 file descriptor when we close
- fix packet statistics
- don't check errno if n != -1
- check more error conditions
- relinguish the ppp tty when we are on demand mode, fixes demand mode
- ansi prototypes
2005-12-31 08:36:01 +00:00
christos
9708e1086d forgot to commit the bump for libcrypto. 2005-12-31 07:02:05 +00:00
tsutsui
d1b67e787b Oops, fix date entry of newfs_sysvbfs(8) and mount_sysvbfs(8). 2005-12-31 05:21:28 +00:00
uwe
ffaa72c2cc Adapt to new PIC macros that are now in <machine/asm.h>. Same binary
code is generated (still with text relocs, but eliminating them is the
next step).
2005-12-31 05:08:28 +00:00
uwe
9d461d0045 First cut at PIC macros. 2005-12-31 05:06:33 +00:00
christos
fb6dad779a move all pqueue.h headers to libcrypto. 2005-12-31 00:14:35 +00:00
christos
aa419ec271 enable cryptodev. 2005-12-31 00:08:34 +00:00
christos
e1a76ccb7e netbsd has issetugid() 2005-12-31 00:07:26 +00:00
christos
616f676cc7 Add another include file. bump version for hardware cryptodev addition. 2005-12-31 00:04:51 +00:00
agc
740a95c15f Add Todd Miller's ftw(3) and nftw(3) file-tree walking functionality,
from OpenBSD.

Bump libc minor to 136.
2005-12-30 23:07:31 +00:00
is
c8ee999982 fixing typo in comment 2005-12-30 16:12:11 +00:00
jmmv
eb23406894 Add a 'struct bootinfo' to represent the bootinfo structure used in the
kernel by x86 platforms (instead of a simple char *).  This way, the code
in, e.g., lookup_bootinfo, is a bit easier to understand.

While here, move the lookup_bootinfo function used in x86 platforms (amd64,
i386 and xen) to a common file (x86/x86_machdep.c), as it was exactly the
same in all of them.
2005-12-30 13:37:57 +00:00
rjs
4e8460804d Add INSTALL_IPAQ kernel and copy hpcboot.exe to correct place. 2005-12-30 11:48:15 +00:00
rjs
ad40527a61 Add miniroot for hpcarm. 2005-12-30 11:47:19 +00:00
rjs
1276ee68fc Fix kernel names. 2005-12-30 11:41:43 +00:00
rjs
447c4d25c9 Initial import of md files for hpcarm. Copied from hpcmips. 2005-12-30 11:40:23 +00:00
rjs
968e3b9beb Add INSTALL_IPAQ to build. 2005-12-30 11:37:06 +00:00
rjs
c92c820f96 Add config for installation kernel for IPAQ. 2005-12-30 11:36:22 +00:00
rjs
8675bf897f Add GENERIC_ACPI and INSTALL_ACPI kernels to the build. 2005-12-30 11:31:36 +00:00
rjs
6d2b3c8c7c Build INSTALL_ACPI kernel as well as INSTALL. 2005-12-30 11:30:33 +00:00
rjs
2ad16298b8 Add config for ACPI kernel. 2005-12-30 11:27:07 +00:00
yamt
98f56ad82e regen. 2005-12-30 11:19:26 +00:00
yamt
e6faff5a45 remove a wrong "LOCKED=YES" from vop_bmap. pointed by Reinoud Zandijk. 2005-12-30 11:19:09 +00:00
jmmv
e7b8314535 Avoid dereferencing the lwp parameter in nfs_receive, as it is always NULL.
Solves a crash when mounting NFS shares.  (The proc parameter used before
the conversion to lwp's was NULL too, so the addition of 'l->l_proc' in the
code was extra.)
2005-12-30 10:35:44 +00:00
mjl
0a7b52fa50 Typo fix (to umount is not yet a verb). Via OpenBSD bugs mailing list. 2005-12-30 10:29:56 +00:00
tsutsui
2927afc411 - Fix a build error.
- Wrap long lines.
2005-12-30 06:00:01 +00:00
tsutsui
c2ce8a3efb More tweaks for www. (should we fix generating script?) 2005-12-30 03:02:01 +00:00
tsutsui
d9e24c2538 Tweak some entries for changes page on www. 2005-12-30 02:48:13 +00:00
tsutsui
e7256110c5 Mention newfs_sysvbfs(8) and mount_sysvbfs(8) too.
As per request from Hubert Feyrer.
2005-12-30 02:39:15 +00:00
he
143d7e2daf Make this build again by using ${S}/../common/lib/libc/Makefile.inc. 2005-12-30 00:24:48 +00:00
mjl
1c357819af This part got lost during merging with the sourceforge bktr
driver: "Also make those variables int instead of char so it
can actually hold 454...".
2005-12-30 00:16:32 +00:00
dyoung
7f2abb6134 The RTL8180L works better with a PCI Latency Timer of 0x50 than
with 0x20.  Derived from a reference driver, IIRC.
2005-12-29 22:41:16 +00:00
dyoung
3f5a1bc764 Note support for GCT Semiconductor GRF5101 transceiver/synthesizer. 2005-12-29 22:31:53 +00:00
dyoung
92e2a6beb6 Add support for the GCT Semiconductor GRF5101 transceiver/synthesizer.
From OpenBSD.

GCT will not provide any documentation, so there are many magic
numbers in this code.
2005-12-29 22:27:17 +00:00
dyoung
6910fdde2a Update rtw(4) for the new IBSS merge idiom, where ieee80211_ibss_merge()
does not return ENETRESET if the driver should change its BSSID,
but it makes a RUN->RUN transition, instead.
2005-12-29 22:23:52 +00:00
dyoung
a44e108963 Remove declaration of deleted subroutine, atw_change_ibss(). 2005-12-29 22:20:03 +00:00
dyoung
1e9e4aceb7 Rewrite ieee80211_get_rate using clue from sys/dev/ic/athrate-sample.c:
Change -1 to named constant IEEE80211_FIXED_RATE_NONE.  ic_fixed_rate
is an index into the ic_sup_rates table, so lookup a fixed rate
there and search the ni->ni_rates table for it.
2005-12-29 22:17:09 +00:00
dyoung
ee2b2a752e IBSS merge nit: clear IEEE80211_F_SIBSS (STATUS: start IBSS) when
we merge with another IBSS.
2005-12-29 22:13:40 +00:00
dyoung
8f13266467 Extract subroutine is_running().
If ieee80211_ioctl() returns ERESTART, reinitialize interface with
atw_init().

Don't discard the error returned by atw_init() in atw_media_change().
2005-12-29 22:04:21 +00:00
dyoung
bca4a72a2a atw_start() need not update IFF_OACTIVE if it hasn't put a new
packet on the transmit ring, so don't do that.
2005-12-29 22:01:43 +00:00
dyoung
17fde28ad0 Assert consistency of IFF_OACTIVE / out of sw/hw transmit descriptors
state.
2005-12-29 21:59:07 +00:00
dyoung
c64e4a2b46 Cosmetic: shift atw flags right by 4 bits. 2005-12-29 21:53:02 +00:00
dyoung
512b9ec012 Always tickle the Receive Demand Register (ATW_RDR) after re-enabling
the receiver.
2005-12-29 21:51:43 +00:00
dyoung
38c346abf0 A couple changes to the hardware reset:
Wait for the SWR bit in ATW_PAR to turn to 0, instead of waiting
for the whole register to turn to 0.

For ease of comparison with a reference driver, re-order operations.
2005-12-29 21:49:59 +00:00
dyoung
67f05eef6b Cosmetic: make a three-step staircase out of a four-step staircase. 2005-12-29 21:45:56 +00:00
dyoung
0a56b050db Revamp state machine:
1 Only stop beacon generation on an ->INIT transition.

        2 Merge AUTH and ASSOC cases, they do the same thing (tune
          a new channel).

        3 Start beacon generation in IBSS, AP, *and* "adhoc demo"
          mode.

Cosmetic tweak: rewrap a statement.
2005-12-29 21:44:33 +00:00
dyoung
3c1ba11dc5 Adapt atw(4) to the new IBSS merge idiom, where ieee80211_ibss_merge()
does not return ENETRESET to indicate the station should adopt a
new BSSID, but it triggers a RUN->RUN transition, instead.
2005-12-29 21:40:41 +00:00
dyoung
271d64132c Delete atw_media_status(). Let SIOCGIFMEDIA call ieee80211_media_status()
directly for media status.
2005-12-29 21:37:27 +00:00
dyoung
4875b8dbae Use the fragmentation threshold in the ieee80211com.
XXX Need to condition on frame type = data.
2005-12-29 21:34:53 +00:00