Commit Graph

67768 Commits

Author SHA1 Message Date
scw
b9d5da7eda The expansion bus is mapped via ixpsip now. 2003-11-02 21:27:51 +00:00
scw
e9cd075343 It makes more sense to map the expansion bus registers in ixpsip
instead of the pci bridge driver.
2003-11-02 21:24:39 +00:00
scw
21f388f6e0 Add generic read/write region 1 ops. 2003-11-02 21:20:32 +00:00
mycroft
d94e36f311 Add another one. 2003-11-02 19:42:03 +00:00
matt
0c6f824d5a Fix LP64 bug. 2003-11-02 18:29:46 +00:00
jdolecek
a2ed003b8b sa_yield(): 'sa' is used only for KDASSERT(), so make it #ifdef DEBUG 2003-11-02 17:04:05 +00:00
jdolecek
5e94c73334 kill unneded SYSVSHM includes
use ANSI C function definition for uvm_lwp_exit()
2003-11-02 16:53:43 +00:00
cl
afee7aa4d7 Extend the #ifdef M68040 so that the `sig' variable declaration is moved
in as well, as it's otherwise not used. (from atari/atari/trap.c and
x68k/x68k/trap.c)
2003-11-02 16:49:38 +00:00
jdolecek
1cfc34d60f use LIST_FOREACH() as appropriate 2003-11-02 16:42:22 +00:00
jdolecek
7d64ff943e add /* nothing */ comment to cpu_wait()/cpu_swapout() 2003-11-02 16:37:09 +00:00
cl
763d8350f0 perform indention change left out of previous commit 2003-11-02 16:30:55 +00:00
cl
350dd95eff Cleanup signal delivery for SA processes:
General idea:  only consider the LWP on the VP for signal delivery, all
other LWPs are either asleep or running from waking up until repossessing
the VP.

- in kern_sig.c:kpsignal2: handle all states the LWP on the VP can be in
- in kern_sig.c:proc_stop: only try to stop the LWP on the VP.  All other
  LWPs will suspend in sa_vp_repossess() until the VP-LWP donates the VP.
  Restore original behaviour (before SA-specific hacks were added) for
  non-SA processes.
- in kern_sig.c:proc_unstop: only return the LWP on the VP
- handle sa_yield as case 0 in sa_switch instead of clearing L_SA, add an
  L_SA_YIELD flag
- replace sa_idle by L_SA_IDLE flag since it was either NULL or == sa_vp

Also don't output itimerfire overrun warning if the process is already
exiting.
Also g/c sa_woken because it's not used.
Also g/c some #if 0 code.
2003-11-02 16:26:10 +00:00
chs
914233e001 commands have grown, make the ramdisk bigger. 2003-11-02 16:02:09 +00:00
chs
d9fc04266e fix parallel build. 2003-11-02 16:01:16 +00:00
chs
79f70b37d7 find libsa files. 2003-11-02 16:00:54 +00:00
he
ce7ac04a96 Extend the #ifdef M68040 so that the `sig' variable declaration is moved
in as well, as it's otherwise not used.
2003-11-02 15:55:16 +00:00
isaki
9f580c69ba Oops, make it compilable with or without M68040. 2003-11-02 14:06:05 +00:00
isaki
ae50a81244 make it compilable. 2003-11-02 13:57:38 +00:00
shin
8e83097ff5 fix return value of _gsfb_mmap(). 2003-11-02 13:12:14 +00:00
tsutsui
c7058a99ee Fix leftover of MI mk48txx(4) changes inside #if defined(SUN4).
Pointed out by Juergen Hannken-Illjes.
2003-11-02 12:59:18 +00:00
he
c8122b488e The compiler doesn't know that setjmp() always returns 0 "the first
time around", so move the initialization of cp0 and cp15 to outside
the if() statement to make this compile again.
2003-11-02 12:39:30 +00:00
jdolecek
b74c137c2a use LIST_FOREACH() where appropriate 2003-11-02 12:01:40 +00:00
gson
159f73f5c9 Some possible MIDI input byte streams could cause sc->in_msg[]
to be overrun, causing a crash.
2003-11-02 11:56:36 +00:00
jdolecek
ec23fd5f28 properly initialize local variable in pnp_debugdump() 2003-11-02 11:32:03 +00:00
wiz
dfb3c51536 Fix some typos. From Tom Cosgrove via jmc@openbsd. 2003-11-02 11:14:22 +00:00
jdolecek
076f4674a8 acpi_res_parse_ioport(): if the added entry is next to a previous I/O port
entry, just expand the previous entry instead of adding separate mapping

apparently some BIOSes make separate I/O port entries like this, and
some drivers then fail to attach; this change fixes mappings like

	fdc0: io 0x3f2-0x3f3,0x3f4-0x3f5,0x3f7 irq 6 drq 2

to

	fdc0: io 0x3f2-0x3f5,0x3f7 irq 6 drq 2

change tested by Bernd Ernesti
2003-11-02 11:12:53 +00:00
wiz
c5670263e0 Fix some typos. From Tom Cosgrove via jmc@openbsd. 2003-11-02 11:07:44 +00:00
wiz
218b6186ff deferred, not deffered. Inspired by Tom Cosgrove. 2003-11-02 10:50:40 +00:00
wiz
d88f7b1d62 boundary, not boundry. Inspired by Tom Cosgrove. 2003-11-02 10:31:06 +00:00
martin
43b448a711 Redo previous so that it actually works - the OF node still is called "wdc"
but it is not the parent but the grandparent of the disk device now.
2003-11-02 10:13:23 +00:00
wiz
c0177219fe Fix some typos. From Tom Cosgrove via jmc@openbsd. 2003-11-02 09:52:33 +00:00
wiz
0aca09fbc0 Fix two typos. From Tom Cosgrove via jmc@openbsd. 2003-11-02 09:49:20 +00:00
he
2cd9d70a98 Make the clock device aldo depend on mc146818, to make kernels without
the 'rtc at ebus' driver configured (e.g. for sbus machines) link.
2003-11-02 09:33:56 +00:00
simonb
20db9285ba Kill trailing blank lines. 2003-11-02 08:29:06 +00:00
christos
38dd4ae2dc Initialize another fp instance 2003-11-02 08:27:41 +00:00
christos
6dba5c3bc3 only assign to fp when we have a valid lwp. Thanks simon 2003-11-02 08:20:48 +00:00
christos
df7d5f4716 Use siginfo_t not ksiginfo_t in the frame. Doh! 2003-11-02 08:20:09 +00:00
yamt
c6d9c8814d fix a wrong assertion. pointed by Christian Limpach. 2003-11-02 07:58:52 +00:00
dyoung
82097fd078 Fix PCMCIA attach messages for wi(4). Tested by Greg Troxel. 2003-11-02 03:31:29 +00:00
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
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