154772 Commits

Author SHA1 Message Date
ad
1ac6a89b79 Conditionalised support for 1:1 threads. Needs associated kernel changes
and more work to be useful.
2006-12-23 05:14:46 +00:00
rumble
642cea6312 Fix formatting, mention Phobos boards, no hyphenation of ''Challenge S''. 2006-12-23 03:40:11 +00:00
rumble
75aae500a9 Prefix 'dma_data{in,out}_cmd' with 'scsi_', since that's what they're used
for. Also, remove the 'clk_freq' variable, since this value differs on a
per-platform (IP12 is 20MHz, others are 10MHz) basis.

NB: I have no idea what frequency the GIO SCSI cards use. We'll have to
    re-investigate this if we ever come across one.
2006-12-22 23:36:42 +00:00
rumble
ee970eec94 Remove errnoneous register definitions and rename some to be more specific.
Also, remove unused/invalid fields in our hpc revision abstraction and
be sure to zero entries when they do not apply to a specific revision.
2006-12-22 23:25:28 +00:00
rumble
b1d3f5ef52 Use SGIMIPS_BUS_SPACE_HPC, rather than hard-coding it. 2006-12-22 23:09:14 +00:00
rumble
5ecb2874d8 Determine if we've an onboard HPC. If not, we must set up the bus arbiter
appropriately. We may need to do further work to get the IOPLUS mezzanine
devices working as well.
2006-12-22 23:08:22 +00:00
rumble
905fd33243 s/Challenge-S/Challenge S/ and fix an incorrect comment. 2006-12-22 22:42:47 +00:00
rumble
15065b7e7b Break our list of HPC devices into HPC1 and HPC3 variants. This cleans up
the list a bit and avoids Challenge S from using the HPC1 offets for its
HPC3-based secondary ethernet on the IOPLUS mezzanine board.
2006-12-22 22:38:42 +00:00
elad
b5a8324144 Use KAUTH_DEVICE_TTY_OPEN instead of comparing euid to zero. 2006-12-22 21:56:19 +00:00
rumble
a295ad6c89 Revert the change to using objcopy in 1.9. Our present objcopy solution
results in unbootable ecoff kernels ("malloc_type_attach: bad magic"
panic). Maybe this could be fixed with appropriate flags, but elf2ecoff
produces working ecoff kernels and ecoff bootloaders, which was the reason
for the switch in the first place.
2006-12-22 21:07:52 +00:00
rumble
79cd03d3ea Indigo and Indigo2 machines have only one shared interrupt for the two
GIO slots. This differs from Indy, which has an interrupt per slot, neither
of which is the same as on the other two machines.

This lets my Phobos G160 run in both slots in my Indigo2 and my E++ adapter
works in both slots in my Indigo.
2006-12-22 20:29:18 +00:00
erh
d96de9f7f0 Correctly handle '\' at the end of a variable in the non-expanding case. 2006-12-22 20:28:31 +00:00
jdc
06da305240 We don't need the cpu_startup() prototype here. It is already provided by
sys/systm.h.  Pointed out by skrll@.
2006-12-22 18:00:19 +00:00
pooka
78ed4b8815 markup fixes 2006-12-22 11:56:45 +00:00
elad
3d11477c94 Add requests indicating access to unmanaged memory for arm, pc532, powerpc,
sh3, sh5, and vax, and use them instead of KAUTH_GENERIC_ISSUSER.

Update documentation and example secmodel code.
2006-12-22 11:13:21 +00:00
rumble
e42e4bd92a EEPROM and LED controls occupy the same byte. Unify them again. 2006-12-22 08:35:46 +00:00
rumble
121e1e9bfa Provide attaching hpc devices with the eeprom contents, should a chip be
connected to the HPC. The only real reason for doing this is to get the
mac addresses off of E++ ethernet boards and the Challenge S IOPLUS board.
If no eeprom is present, we read in invalid data and take some default
action (query ARCBIOS).
2006-12-22 08:17:14 +00:00
ad
0ff4104d82 lwp::l_acflag is no longer useful. 2006-12-22 08:04:01 +00:00
ad
c7a999e12a Note that ACOMPAT and ASU are no longer recorded. 2006-12-22 08:00:20 +00:00
rumble
e9faaca2de hpc(4) doesn't take flags anymore. Briefly note how the different revisions
may be mixed on certain systems.
2006-12-22 05:35:06 +00:00
ad
dd85fd121f ipintr(): check if the queue is empty before looping. Hardly a giant
win, but removed 30% of splnet() calls in one local test.
2006-12-22 05:34:02 +00:00
rumble
5e86516f78 Sprinkle static. 2006-12-22 05:26:01 +00:00
rumble
b8f12e0261 Rework detecting the HPC revision. In most cases we can presume what it is
based on mach_type (or at least know the major revision). The only case we
really need to concern ourselves with is differentiating between HPC1
and HPC3 on IP22. Specifically, between a HPC3 on the Challenge S IOPLUS
board and a HPC1.5-based adapter in an Indy.
2006-12-22 05:08:56 +00:00
kiyohara
c8826cd8a1 Use macro FWBUSNOTREADY. 2006-12-22 03:27:49 +00:00
kiyohara
190ae0482f Include ioconf.h it for `struct cfdriver fwohci_cd'. 2006-12-22 03:26:51 +00:00
rumble
81a35f32ec Add giopci.0 catman as well. 2006-12-22 03:14:26 +00:00
rumble
fe14643cc2 Fix previous by including the necessary header. 2006-12-22 01:36:24 +00:00
rumble
d5df315486 Remove superfluous extern declarations; they're already in the headers. 2006-12-22 01:34:20 +00:00
rumble
af1144f245 Guiness -> Guinness. 2006-12-22 01:32:37 +00:00
rumble
2ae0b89234 Codenames for IP12 and IP20. 2006-12-22 01:26:44 +00:00
rumble
1d22f4010e Fix pasto. 2006-12-22 01:16:20 +00:00
rumble
795f7da152 Add a giopci(4) manual page. 2006-12-22 01:15:17 +00:00
rumble
b437497b0f s/Challenge-S/Challenge S/, mention Challenge M as well, and remove the
imc(4) bug as we now have an interface.
2006-12-22 01:00:48 +00:00
rumble
c1f813ee0d Change the title slightly to indicate what GIO stands for. Also, be sure to
mention Challenge M, state that only two electrically distinct slots exist
on Indigo2/Challenge M and inform that a SysAD bug exists, which certain
cards may trigger (though we may mask it with a workaround). Other minor
nits as well.
2006-12-22 00:51:00 +00:00
elad
aede3e59fc PR/35304: C J Coleman: Off-by-one nul byte overwrite in mode_bits routine
of sbin/sysctl
2006-12-21 22:25:39 +00:00
rpaulo
1db617bf57 bsd-family-tree 1.109. 2006-12-21 20:58:27 +00:00
rpaulo
689bbbd486 Sync with v 1.109. 2006-12-21 20:57:43 +00:00
dsl
d8f5679725 Fix breakage of previous commit. 2006-12-21 20:05:37 +00:00
rpaulo
d2a497687e Postfix 2.3.5. 2006-12-21 19:50:38 +00:00
macallan
3326bc3866 mention X on shark 2006-12-21 19:38:24 +00:00
yamt
71683748ca fix a typo. 2006-12-21 16:09:22 +00:00
yamt
5d51c3ca27 document splraiseipl and makeiplcookie. 2006-12-21 16:01:13 +00:00
yamt
1c3bb0caf9 terminate yamt-splraiseipl branch. 2006-12-21 15:57:43 +00:00
yamt
6fe2586cce bump to 4.99.7; yamt-splraiseipl merge. 2006-12-21 15:57:11 +00:00
yamt
ec90a3bd3b yamt-splraiseipl: new base. 2006-12-21 15:55:42 +00:00
yamt
8bf7662829 merge yamt-splraiseipl branch.
- finish implementing splraiseipl (and makeiplcookie).
	  http://mail-index.NetBSD.org/tech-kern/2006/07/01/0000.html
	- complete workqueue(9) and fix its ipl problem, which is reported
	  to cause audio skipping.
	- fix netbt (at least compilation problems) for some ports.
	- fix PR/33218.
2006-12-21 15:55:21 +00:00
rpaulo
9db5d6d8b8 Resolve conflicts. 2006-12-21 02:56:37 +00:00
rpaulo
0225a7dd90 postfix-2.3.5 2006-12-21 02:27:16 +00:00
macallan
610c0515b7 build XFree86 on shark 2006-12-21 01:45:32 +00:00
kiyohara
71d34007f5 Fix memory allocation, in case isochronous transfer fail this. 2006-12-21 00:31:51 +00:00