Commit Graph

142145 Commits

Author SHA1 Message Date
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
dyoung 2e64aa7e41 In atw_init(), always call atw_write_wep() to write the WEP state
to the h/w.  This prevents a spurious call to atw_write_wep() later,
in IEEE80211_S_RUN state, when net80211 times-out ieee80211_nodes.
It is important to avoid a spurious atw_write_wep() call because
in IBSS mode, at least, WEP re-initialization reliably locks up
the transmitter.

XXX There must be a bug in atw_write_wep() that causes it to lock
XXX up the transmitter.  I will revisit it later.
2005-12-29 21:32:06 +00:00
dyoung 13283d6e4f In atw(4), use ieee80211_compute_duration() to compute IEEE 802.11
Duration and PLCP Length fields, and delete the abominable
atw_frame_setdurs() subroutine.

Make rtw(4) use the new ieee80211_compute_duration() calling
convention.

Add an ieee80211_key argument to ieee80211_compute_duration() and
lightly constify arguments.  Get the crypto header length from the
key argument instead of blithely assuming a WEP header.  Add some
inline documentation.  Account for data padding (IEEE80211_F_DATAPAD).
2005-12-29 21:08:26 +00:00
tsutsui 5ab9e41287 Add an md list for ews4800mips Xserver. 2005-12-29 16:37:42 +00:00
tsutsui 8dc80fdf53 Note ews4800mips. 2005-12-29 16:24:23 +00:00
tsutsui 741632e82c Some minor nits. 2005-12-29 16:20:34 +00:00
tsutsui 295865c719 Add ews4800mips. 2005-12-29 16:17:55 +00:00
tsutsui 07ff9461b9 Add ews4800mips and xen (in comment). 2005-12-29 16:17:40 +00:00
tsutsui 136993d8c6 Add files for ews4800mips distribution.
XXX sysinst is disabled for now.
2005-12-29 16:01:30 +00:00
tsutsui 1ead0edd7c Add support for Xews4800mips under src/x11. 2005-12-29 15:52:20 +00:00
tsutsui 32af391479 Add ews4800mips to mipseb ports.
Build for ews4800mips might fail (yet),
but please don't complain for now.
2005-12-29 15:38:54 +00:00
tsutsui dc96fb0473 Add a tweak for ews4800mips/include/disklabel.h,
which includes some other md headers.
2005-12-29 15:35:19 +00:00