Commit Graph

58838 Commits

Author SHA1 Message Date
scw
4c6f867793 s/COPTS/DEFCOPTS/ 2002-10-04 10:24:05 +00:00
scw
26ebb442bf - Hook the PCI arbiter and error interrupts, and print something
useful should one occur.
- Manually poke some config values into the sh5pci host bridge's
  config registers since it doesn't appear in config. space.
- Reserve the first 256 bytes of i/o space to avoid assigning i/o
  address 0 to any cards.
- Slight tweak to the initialisation code after consultation with
  SuperH and the linux driver.
2002-10-04 10:22:24 +00:00
chris
5dded94793 Fixup IPL_LEVELS to be correct. This matches the change I did to footbridge
based systems.  Untested on shark, but is the right thing to do.  I suspect
the original arm32 intr.h had the bug, and when the ports split we just took
the bug.
2002-10-04 10:21:33 +00:00
scw
a520b3b2c8 Convert to new devsw world order. 2002-10-04 10:16:56 +00:00
scw
db80ebe781 Add needs-flag to sysfpga, and check it before calling sysfpga_nmi_clear(). 2002-10-04 09:24:52 +00:00
scw
d4c3160197 pmap_bootstrap() needs to know the physical address of KSEG0. 2002-10-04 09:23:27 +00:00
scw
f7f3db86ff When loading a DMA map, make sure the BUS_DMA_COHERENT flag in the
map accurately tracks the same flag in the segments belonging to it.
The map's copy can be set only if all the segments are coherent.

This finally gets NFS writes fully working on my PCI ex(4) card.
2002-10-04 09:20:20 +00:00
scw
99fec1b346 Minor pmap rototil:
- Track unmanaged mappings of RAM more closely by allocating a pvo
   for them. This allows us to check more accurately for multiple
   cache-mode-incompatible mappings.

 - As part of the above, implement pmap_steal_memory(). This has the
   beneficial side-effect of moving a fair chunk of kernel data
   structures into KSEG0.
2002-10-04 09:17:57 +00:00
simonb
a66f0d74ef This file hasn't been used in a long time. 2002-10-04 08:48:35 +00:00
simonb
dcd65411b2 Only declare and set the "step" variable in identifycpu() ifdef CPUDEBUG. 2002-10-04 08:44:08 +00:00
gehenna
bbe393f930 Alphabetical sort. 2002-10-04 08:31:57 +00:00
gehenna
78112440cc Remove 'any match' entry from quirks table.
This entry detects all unknown SONY USB devices as USB storage device.
2002-10-04 08:16:00 +00:00
itojun
df6ef6d0d3 include rnd.h only under kernel build.
caveat: arc4random() will not get stirred in bootstrap code.
2002-10-04 07:33:26 +00:00
junyoung
acd50bf487 Back out pushl/popl -> movl change. copy_fault is also used by kcopy(9). 2002-10-04 06:43:40 +00:00
explorer
3a856ad198 use config_match() 2002-10-04 06:02:38 +00:00
itojun
61da54e3c0 port spec is not permitted to tunnel mode policy, as we don't reassemble
fragments.  perform more strict check against af match for tunnels.  sync w/kame
2002-10-04 05:45:22 +00:00
junyoung
f9939562a1 Fix a mistake in previous commit. 2002-10-04 04:40:12 +00:00
onoe
5a2d7e0875 Perform as a bridge within the AP for HostAP mode, to allow communication
between a wireless station and another wireless station.
2002-10-04 04:25:05 +00:00
onoe
d131e2b1a8 Handle of AP_IN_RANGE/AP_OUT_RANGE, to fix a problem once the station
is out of ragen, it never comes up again.
For HostAP, prohibit sending DATA frame to an unassociated but authenticated
station.
2002-10-04 04:23:20 +00:00
soren
af7ec6d1b2 Pass on indication of absent media in the general case as in the optical
device case.
2002-10-04 03:43:06 +00:00
soren
25674469e6 Leave error printing to the callers of scsipi_size(). 2002-10-04 03:41:50 +00:00
soren
97a91a0443 PQI Travel Flash likes PQUIRK_NODOORLOCK too. 2002-10-04 03:40:57 +00:00
soren
fc9a318a07 Avoid noise on kbd-less machines. 2002-10-04 03:40:29 +00:00
junyoung
8ab9e2ef57 Use single movl instruction rather than pushl/popl pair. 2002-10-04 03:20:59 +00:00
junyoung
8b656df79c Remove unnecessary code. 2002-10-04 03:17:37 +00:00
itojun
8f0eabf697 whitespace 2002-10-04 03:17:00 +00:00
itojun
dfea6e4344 add missing "rnd.h" include - noted by simonb 2002-10-04 02:37:23 +00:00
thorpej
d90d300b7b Overhaul the way cfattach structures are looked up. The cfdata entry
now carries the name of the attachment (e.g. "tlp_pci" or "audio"),
and cfattach structures are registered at boot time on a per-driver
basis.  The cfdriver and cfattach pointers are cached in the device
structure when attached.
2002-10-04 01:50:53 +00:00
matt
44bc4ef4a9 Ansify's (use prototypes). 2002-10-04 00:50:15 +00:00
onoe
f383b2e780 Set IEEE80211_F_IBSSON before test in wi_init() to set CREATE_IBSS
correctly for Lucent firmware to work with IBSS mode.
PR 18520
2002-10-03 22:32:37 +00:00
thorpej
1a5a7fe7b7 Use indirect configuration for on-board devices (i.e. those things
attached to "obio") on the IQ80310 and IQ80321.  It makes more sense
to do it this way for this type of system (the goal being to encapsulate
as much information about the board as possible into one file).
2002-10-03 20:14:58 +00:00
thorpej
cea0a147b4 Add macros to convert an "IRQ" number to its respective XINT3/XINT0 bit. 2002-10-03 20:11:42 +00:00
thorpej
072eedb728 Add a symbolic constant for where external interrupts start. 2002-10-03 20:10:40 +00:00
fvdl
547337a4ce FIx off by one error for brand id array index. 2002-10-03 19:39:51 +00:00
elric
70bf1b763b prepend syscall_fancy and syscall_plain with mach_ to get this to compile
again.
2002-10-03 19:17:01 +00:00
uwe
fbcf88f171 Add wscons. Misc catch-up with GENERIC. 2002-10-03 17:45:20 +00:00
uwe
fa76f154c6 Add majors for wscons devices.
And, no!  This does not mean that sparc switches to wscons.
Only Krups has experimental wscons support so far.
2002-10-03 17:06:18 +00:00
uwe
7235b5d479 First cut at PS/2 keyboard and mouse drivers that talk Sun firm events.
Console and Xsun for Mr.Coffee.
2002-10-03 16:27:04 +00:00
uwe
fb2195ae8f Search children of the "8042" node to check if keyboard is the stdin. 2002-10-03 16:22:46 +00:00
uwe
191626f788 Refactor kbd and mouse drivers so that they can use different middle
layers.  Common middle layer shared by kbd_zs and sunkbd is moved into
the new file.  Move shared config directives to files.sun and adjust
ports' files.* accordingly.

Need this to support console/Xsun on Mr.Coffee JavaStation.

Tested on sparc, sparc64 (by martin) and sun3 (by jdc).
2002-10-03 16:13:24 +00:00
fvdl
4eb09bb2aa Make shared IRQs for the normal PIC case work again as they did before
the MP merge (i.e. treat them as having the lowest level of all registered
handlers in the chain for the IRQ).
2002-10-03 15:58:56 +00:00
itojun
61cb1d92bc backout previous; (u_int) cast makes checks negative case too 2002-10-03 05:18:59 +00:00
itojun
b8e0e408a4 check negative arg. from openbsd 2002-10-03 04:57:39 +00:00
itojun
77e92cfb1e check negative arg. from openbsd 2002-10-03 04:52:51 +00:00
uwe
50de7c9595 If we don't get record drq from pnpbios, set it to play drq.
Otherwise attaching half-duplex device will trigger panic.
NB: ad1848_isa_get_props should probably check for recdrq == -1 as well.
2002-10-03 03:02:11 +00:00
thorpej
0c1efadb23 Include <sys/param.h> so that we get the defn of NULL. 2002-10-03 01:57:24 +00:00
thorpej
e411f68839 Fix debug printf format. 2002-10-03 01:42:43 +00:00
thorpej
dd14964387 Fix script-o. 2002-10-03 01:29:30 +00:00
oster
9fbf5b5d27 Create a thread creation macro that make it easier to name the DAG process.
Use it to have the DAGExecutionThread have a better name for each RAID
process ('raid0', 'raid1', etc., vs. just 'raid', 'raid', etc.)
2002-10-02 21:48:00 +00:00
jdolecek
47ae4d5c59 remove local declaration of iwm_cd and fd_cd for LKM case; it's superfluous
and doesn't even compile after latest autoconf changes
2002-10-02 20:35:28 +00:00