Commit Graph

120265 Commits

Author SHA1 Message Date
dyoung 6892b91b88 No need to check which state we're changing FROM when we deactivate
the scan callout.
2003-11-02 02:14:33 +00:00
dyoung 313961b974 Get a clue from ath(4) and move the ieee80211_new_state() calls in
atw_init to one place.
2003-11-02 02:05:15 +00:00
dyoung 3800e8585a Fix thinko that breaks IBSS merges in atw(4). sc->sc_opmode !=
ic->ic_opmode!
2003-11-02 01:58:22 +00:00
dyoung 76db6bfa8c Use ieee80211_find_rxnode to attribute Rx packets to the write
ieee80211_node. This reduces code duplication.  It will help us
support passive scanning and rate adaptation.
2003-11-02 01:55:40 +00:00
grant 8647bce8c6 update core group to reflect reality, add myself to releng, sort. 2003-11-02 01:51:38 +00:00
christos 8467a84273 From: Gerry Swislow gerry at certif dot com
1) File name completion should list the files in the current directory
if no text is entered.  The previous version wouldn't list anything if
the text to complete was empty.

2) When listing directories, the entries "." and ".." shouldn't be
shown.

3) The filename completion should be used if the user's
rl_attempted_completion_function doesn't return any matches.  The
previous version didn't do that.
2003-11-02 01:45:14 +00:00
briggs 1d2bfa591d Implement a separate nsphy_reset(). There are two reasons for this:
1) This PHY can take an inordinate amount of time to reset if
	   media is attached.  Under fairly normal circumstances, up
	   to near one second.  This is because it appears to go through
	   an implicit autonegotiation cycle as part of the reset.

	2) During reset and autonegotiation, the BMCR will clear the reset
	   bit before the process is complete.  It will return 0 until the
	   process is complete and it's safe to access the PHY again.

This gets the on-board pcnet + nsphy ethernet working properly for me on
an IBM PC Server/325.  Fixes PR/16346.
2003-11-02 01:42:28 +00:00
dyoung 45f756f520 Mark the available channels using the ic_channels table instead of
setting bits in ic_chan_avail, which is the responsibility of
ieee80211_ifattach. I cannot believe the previous code worked.
2003-11-02 01:39:22 +00:00
dyoung 85f84a3155 Cosmetic: get rid of an indent level in ieee80211_find_txnode by
changing an if () ... else to an if () return.
2003-11-02 01:29:05 +00:00
dyoung f64ab7b2a4 Get the ieee80211_node for management packets from the rcvif field. 2003-11-02 00:55:46 +00:00
manu 60e46c0cc8 Finnally, the missing field in IOHIDSystem keyboard events was identified. The
keyboard now works in XDarwin. Hurrah!
2003-11-02 00:44:19 +00:00
thorpej dec320ebc1 Squish some recent compiler warnings. 2003-11-02 00:23:38 +00:00
dyoung bf9644d3d3 Fix bugs in power-saving:
Use a power-saving station's ieee80211_node, which is stored in
the rcvif field.

Do not free a node if it is put onto the power-saving queue.
2003-11-02 00:22:49 +00:00
dyoung 22f9e4aae7 On the output path, save a power-saving station's ieee80211_node
in the mbuf's rcvif field so that the driver can get at it.
2003-11-02 00:17:27 +00:00
dyoung e3bc096fe4 Bug fix: in wi_cfg_txrate, do not divide the 802.11 rate by 2 and
take off the flags before giving it to wi_write_txrate.

Also add a useful debug message to wi_write_txrate.
2003-11-01 23:57:05 +00:00
christos 391b46bc7f initialize ptr. 2003-11-01 23:39:22 +00:00
reinoud 4e923603f1 Fix for PR # 23264 thanks to Mike Pumford; it is only attatching clock once
now.
2003-11-01 23:37:54 +00:00
christos bd39b60424 Explain H_ADD better. from Otto Moerbeek otto at drijf dot net 2003-11-01 23:37:30 +00:00
christos 487a7c2a6c Fixes from Otto Moerbeek otto at drijf dot net 2003-11-01 23:36:39 +00:00
christos 4c93d52c09 Document history builtin commands. 2003-11-01 23:35:33 +00:00
mycroft e45065a344 Dropped a word... 2003-11-01 23:22:54 +00:00
mycroft c4330d824f A small list of things needed here. 2003-11-01 23:22:21 +00:00
mycroft 6f4bc2c877 Announce a reason for the shutdown. 2003-11-01 23:04:54 +00:00
tsutsui bd0f8ee224 - Adapt to MI mk48txx(4) changes.
- Switch rtc (M5819) routines to use MI mc146818(4) driver.

Tested on Ultra5 (mkclock_ebus), but mkclock_sbus and rtc_ebus are not tested.

XXX This file should be split into each device and each bus attachment,
XXX and moved into sys/arch/sparc64/dev or sys/dev/sun.
2003-11-01 23:04:32 +00:00
tsutsui deb5638bdc Adapt to MI mk48txx(4) changes.
Tested on SS1+ (mainbus), but not tested on sun4/sun4m (obio).

XXX maybe this file should be split into mainbus and obio attachments
XXX and moved into sys/arch/sparc/dev or sys/dev/sun.
2003-11-01 22:59:24 +00:00
mycroft 4b29327094 Don't bothering reinitializing the sensor name strings when the battery info
is updated.  Do print out the battery manufacturer info, though.  (It's too
bad we can't return this through envsys........)
2003-11-01 22:55:53 +00:00
tsutsui 4e8b58dd02 - Adapt mkclock_isa.c to MI mk48txx(4) changes.
- Switch mcclock_isa.c to use MI mc146818 driver.
- Use todr(9) interface with both todclock drivers.
2003-11-01 22:54:46 +00:00
tsutsui 2ddfa78de4 Adapt MI mk48txx(4) changes. Tested on NWS-3470D (hb) and NWS-5000X (apbus). 2003-11-01 22:50:45 +00:00
tsutsui 164022f59e Adapt MI mk48txx(4) changes. Tested on NWS-1750. 2003-11-01 22:49:38 +00:00
tsutsui 97717cc9f4 Adapt MI mk48txx(4) changes. (compiles but untested) 2003-11-01 22:48:01 +00:00
tsutsui 6fa76b3b92 No need to include <dev/ic/mk48txxreg.h> here. 2003-11-01 22:42:23 +00:00
tsutsui 614e6d4de9 Cleanup MI mk48txx(4) todclock driver:
- Prepare mk48txxvar.h and leave only register definitions in mk48txxreg.h.
- Define struct mk48txx_softc as usual devices and allocate necessary
  members like struct todr_chip_handle in it.
- Change mk48txx_attach(), mk48txx_nvwr() and mk48txx_nvrd() to take
  struct mk48txx_softc.
2003-11-01 22:41:42 +00:00
tsutsui ab09fdd80e Rename flag NO_CENTURY_ADJUST -> MC146818_NO_CENT_ADJUST to avoid conflicts. 2003-11-01 21:58:43 +00:00
mycroft 31806f9f22 One more spot for a structure change. 2003-11-01 20:58:33 +00:00
scw f557964d0c Quell an uninitialised variable warning. 2003-11-01 20:04:57 +00:00
yamt 142a2d4058 - update uvm_map::size fewer places.
- add related assertions.
2003-11-01 19:56:09 +00:00
yamt c45bf442f2 commit rest of the previous (rbtree).
(i should check .rej files before commit, sorry)
2003-11-01 19:45:13 +00:00
yamt 64f5a4d263 make this compilable again with ACPI_DEBUG. 2003-11-01 19:24:42 +00:00
tsutsui c747a93798 Count necpb interrupts with evcnt(9). 2003-11-01 19:23:52 +00:00
he 4318508981 'rd' under 'all' should be 'rd2', so make it so. 2003-11-01 19:02:54 +00:00
provos c224a63428 use fdremove to remove kqueue file descriptor so that bitmap information
is maintained correctly; found by Juergen Hannken-Illjes
2003-11-01 18:47:16 +00:00
wiz e0d8e46808 KNF: sort includes. 2003-11-01 18:42:00 +00:00
manu bb7e6443cb Remove all our real devices from the IOKit registry, as they won't be
usefull. Emulate only IOHIDSystem, IOFramebuffer and friends in the
registry.

ioreg is able to display the tree and dump the properties.
2003-11-01 18:41:25 +00:00
wiz a2307c7caf eg -> e.g., vinum -> Xr vinum 4. 2003-11-01 18:38:59 +00:00
matt 1dc67abbb1 Compile at -O2. Fix various GCC3-isms
XXX mem.c still fails to assemble.
2003-11-01 18:23:37 +00:00
jdolecek 8f8952e2b1 add a macro to copy ksiginfo_t, and use it in kern_sig.c:ksiginfo_put()
change suggested by Christian Limpach
2003-11-01 17:59:57 +00:00
tsutsui 518c5a2e6a Fix an uninitialized warning. 2003-11-01 17:48:20 +00:00
dsl 4302f2798d Use fstat(2) to get the partition size (falling back to the label on old
kernels) so that newfs works on vinum (and similar).
Kill the -V hack for vinum.
Don't bother faking up a label for -F and mfs, nothing is needed from it.
Ignore label if special doesn't match DISKPART(sb.st_rdev);
Simplifly logic for default block/frag sizes.
Update man page to match.
WARNS=3.
2003-11-01 17:43:03 +00:00
jdolecek 3abecdb88d avoid stong words in comments 2003-11-01 17:35:42 +00:00
he d800494086 Based on the historic hp300 pmap, initialize firstpage to TRUE, and
negate that after processing the first page.
2003-11-01 17:16:30 +00:00