Commit Graph

46216 Commits

Author SHA1 Message Date
enami
bda65c7816 Define local variable cpu_id only when either MULTIPROCESSOR or DIAGNOSTIC
is defined since it isn't used otherwise.
2001-05-01 04:30:04 +00:00
jmc
46ebed2ee8 Initial checkin for fwnode support 2001-05-01 04:19:20 +00:00
jmc
b2230effa3 Doesn't need fwohci include's. Change struct device to ieee1394_softc. 2001-05-01 04:18:29 +00:00
thorpej
220bcf69ac Garbage-collect a comment that has not been applicable since Mach. 2001-05-01 03:01:18 +00:00
thorpej
ed63ff3c52 Use a single linked list for PV entries. This saves 1MB of space
on my 1G RAM AlphaServer.
2001-05-01 02:53:05 +00:00
thorpej
cf67ac7122 Per discussion w/ chuck and chuck, restructure the md page stuff
to use a structure called "vm_page_md", and use __HAVE_VM_PAGE_MD
and __HAVE_PMAP_PHYSSEG.
2001-05-01 02:19:13 +00:00
takemura
a8304325bf Fix 'busname' to attach nodes correctly. 2001-05-01 00:25:16 +00:00
bjh21
a6b4c8d3da Strip the PSR bits off values of R15 before passing them to _mcount(). This
makes call-graph profiling actually work (hooray!).
2001-04-30 23:41:11 +00:00
kleink
50d738a0f0 Add %j, %t and %z modifiers. 2001-04-30 21:29:45 +00:00
bjh21
e5b19b546c Add two functions, int_off_save() and int_restore(), for mcount to use to
disable interrupts without getting into a loop or screwing up irq_handler().
Also use them.
2001-04-30 19:57:10 +00:00
thorpej
d3a64bd0d8 Add code to recognize and set media on GMII (Gigabit MII) PHYs.
802.3 doens't specify ANAR or ANLPAR bits for GMII.  Need to
use PHY-specific registers for this, for now, which means we
need specific drivers for the Gigabit-capable PHYs (I think the
most common is the BCM5400).
2001-04-30 19:49:08 +00:00
kleink
99d1259e7f Don't let [gs]etcontext() and friends clash with userland. 2001-04-30 19:35:13 +00:00
thorpej
63604adafa Add a bunch of Gig-E definitions. 2001-04-30 19:21:03 +00:00
ross
613d465e10 apply recent changes to DEBUG code 2001-04-30 19:00:41 +00:00
wiz
133599a99d Remove unused variable. Reported by Thilo Manske in port-mac68k/12794. 2001-04-30 17:12:03 +00:00
toshii
fbdeb188a5 setsoftast is a macro now. 2001-04-30 15:54:28 +00:00
martin
77a926d775 Avoid nesting structure declarations, where the nested structur is used at
the global level later. Besides stylistic matters, this actually breaks C++
programs (indirectly) using this header.
2001-04-30 15:30:39 +00:00
toshii
87593b8b06 Pull in <machine/psl.h> for spl* definitions.
(same as arm32/include/intr.h rev 1.5)
2001-04-30 15:20:07 +00:00
bouyer
19b0c05827 Ops, don't forget to increment li->used for each tagged command. 2001-04-30 13:58:32 +00:00
uch
dcf9239830 recompile. 2001-04-30 13:49:38 +00:00
uch
263bc3d6ae use inet_addr when gethostbyname failed.
patch by takemura@netbsd.org
2001-04-30 13:43:31 +00:00
uch
a9cd2901fd add wrapper header for integer types. 2001-04-30 13:41:32 +00:00
bouyer
2cc0fbbe14 remplace /*
*/
with
#ifdef notdef
#endif
to avoid:
../../../../dev/ic/hmereg.h:275: warning: `/*' within comment
2001-04-30 12:22:42 +00:00
takemura
26b0905dd0 Machine independent GPIO interface. 2001-04-30 11:42:17 +00:00
takemura
4ca3c858b6 Copy of sys/arch/hpcmips/vr/button_vrgiu.c. 2001-04-30 10:10:18 +00:00
takemura
c732b45553 Copy of sys/arch/hpcmips/vr/pwctl_vrgiu.c. 2001-04-30 10:09:14 +00:00
jmc
1a5e77115a Place holder until real fwscsi code is fleshed out. 2001-04-30 09:06:27 +00:00
scw
ff4a29679f Switch to the MI 53c710 driver recently committed by Izumi Tsutsui. 2001-04-30 09:05:58 +00:00
jmc
dfc69462fd First pass at the overall TODO list. Some of these may come off before I get the full code checked in even 2001-04-30 09:05:40 +00:00
jmc
98182717b8 Rework implementation notes/ideas with a more fleshed out example. 2001-04-30 09:02:38 +00:00
minoura
fc97cb8a94 Correct memory leak.
Use single block transfer when appropriate.
2001-04-30 05:47:31 +00:00
tsutsui
00085e9fc8 Add MI osiop. 2001-04-30 04:53:41 +00:00
tsutsui
cdd9dc4e09 Add MD attachments for the Symbios/NCR 53c710 SCSI controller,
found on the NEC Express5800/230A.
2001-04-30 04:52:53 +00:00
tsutsui
0ceded7d3b Generated from osiop.ss rev. 1.1:
Initial compiled script for 53c710.
2001-04-30 04:49:57 +00:00
tsutsui
613923b42e Add a MI driver for the Symbios/NCR 53c710 SCSI controller.
This is based on amiga's siop driver, but converted to use
bus_space(9) functions and modified to fit bus_dma(9) framework.

Currently tested on NetBSD/arc with jazzio 53c710 SCSI,
which really requires bus_dma(9) functions :-)
Sync transfers and disconnect/reconnect are also working.

TODO:
- Test under more heavy load
- Clean up osiop_checkintr() hander
- Reorganize command queue and sync negotiation handling more suitable
  for thorpej-scsipi mid-layer
- Re-think defered interrupt handling for amiga
2001-04-30 04:47:50 +00:00
matt
79649c917a Move RB_KDB check to after VM is init so that there's an
interrupt stack for DDB to run on.  This makes boot -d work.
2001-04-30 04:26:19 +00:00
lukem
b3b4a527b3 remove trigraph 2001-04-30 03:53:19 +00:00
lukem
5de219fbef delint 2001-04-30 03:49:12 +00:00
lukem
c83fa97ec8 remove trigraph 2001-04-30 03:48:06 +00:00
lukem
52a1d62934 delint 2001-04-30 03:45:35 +00:00
lukem
786063e4da use #if 0 rather than // or /* to comment out blocks of code 2001-04-30 03:43:09 +00:00
kml
fc1ebff2b2 Large values of sb_max would cause an overflow in sbreserve(); cast to
u_quad_t to avoid this.  (from FreeBSD uipc_socket2.c v1.19)
2001-04-30 03:32:56 +00:00
lukem
c6a7588b36 delint newline in string 2001-04-30 03:30:45 +00:00
lukem
f863105161 remove some lint, including ansifying funcs 2001-04-30 02:55:08 +00:00
jmc
36d8e99d14 Cast args correctly to match format strings. 2001-04-30 02:49:04 +00:00
jmc
5a6772df26 Cast base correctly for format string. 2001-04-30 02:46:20 +00:00
lukem
9d02aae3a9 minor lint 2001-04-30 02:44:53 +00:00
lukem
85772a1cef remove some lint 2001-04-30 02:34:58 +00:00
lukem
abf1970c82 delint newline in string 2001-04-30 02:17:55 +00:00
lukem
599ac910c6 this is _C_ not _C++_, and // is NOT valid in _C_ 2001-04-30 01:34:04 +00:00