Commit Graph

39636 Commits

Author SHA1 Message Date
mrg 219910d2e6 add disabled LOCKDEBUG; re-enable all the phy drivers 2000-07-25 17:26:36 +00:00
pk 320361c474 Re-instate a couple of delay slot NOPs marked `XXX spitfire bug?' 2000-07-25 15:15:32 +00:00
onoe 27d41a1de3 Map txrate for prism2, where each bit is apparently assigned to the
corresponding rate; 1Mbps, 2Mbps, 5.5Mbps, 11Mbps.
2000-07-25 12:04:29 +00:00
toddpw 6c80daae8d Ignore all undefined bits in the Tadpole microcontroller status register.
Only the low nibble is defined, and on at least one 3gx (mine) there is an
undefined bit which reads as a one -- bit 6 (0x40). This screwed tctrl_intr()
which would loop forever, thinking it always had new events to process.
2000-07-25 09:57:59 +00:00
tsubai 46ab3e89fb Use libsa alloc(). 2000-07-25 06:26:18 +00:00
tsubai dd54c272e5 Add ofwboot.{mrg,xcf} to CLEANFILES. 2000-07-25 06:22:05 +00:00
tsubai 8dc7633036 Make this compile again. 2000-07-25 06:18:23 +00:00
tsubai 13f68a994d Enable console in initppc(). 2000-07-25 05:44:27 +00:00
tsubai 7cf89e2181 Allocate temporary buffer to copy OF page table dynamically
rather than static variable.
2000-07-25 05:41:30 +00:00
wrstuden e651decb55 We don't need to include the # VIA VT82C686A integrated AC'97 Audio as it
is integrated into the Southbridge on a number of i386 motherboards - we
won't be seeing that in a mac. :-)
2000-07-25 02:33:30 +00:00
wrstuden a6d6bce652 Add a bunch of pci audio drivers. Most are commented out as they haven't
been tested on macppc. But I tested the eap for playback and it's fine.
2000-07-25 01:39:22 +00:00
jeffs 05587c68ae Correct typo in comment. 2000-07-25 00:11:36 +00:00
is 747fe6b40d French/Finnish/German/Norwegian keyboard support; ported by Thomas Runge from the i386 pccons.c. Minus the iso8859-1 to pc437 translation which isn't needed on the DNARD. 2000-07-24 22:05:27 +00:00
is ee0e9a4283 French/Finnish/German/Norwegian keyboard support; ported by Thomas Runge
from the i386 pccons.c. Minus the iso8859-1 to pc437 translation which
isn't needed on the DNARD.
2000-07-24 21:56:09 +00:00
gmcgarry 5463f7b316 Improve the model identification and match. Addresses PR-10485. 2000-07-24 21:50:10 +00:00
gmcgarry b023fdd2b7 Regen. 2000-07-24 21:47:40 +00:00
gmcgarry 0f37cacaf1 Add entries for all Xircom ethernet models. 2000-07-24 21:45:00 +00:00
jeffs 7dad7ceb84 Use new uvm_km_valloc_prefer_wait() in vmapbuf(). This lets the K2
mapping of b_data have the same virtual index, so the mapping does
not degenerate into uncached in pmap_enter().
2000-07-24 20:16:29 +00:00
jeffs 05dfa34e69 Add uvm_km_valloc_prefer_wait(). Used to valloc with the passed in
voff_t being passed to PMAP_PREFER(), which results in the propper
virtual alignment of the allocated space.
2000-07-24 20:10:51 +00:00
jdolecek 0cd22457c9 add netboot.bin to CLEANFILES 2000-07-24 18:43:16 +00:00
jdolecek 921705c3eb cleanup Makefiles, put common stuff to Makefile.booters, ditch unnecessary
stuff
make this all compile with -Wall -Wno-main -Wmissing-prototypes
	-Wstrict-prototypes -Werror , also compilable on 1.4.1
label itself as NetBSD/mvme68k instead of "BSD" in bootblock message
move bugcrt.c to libbug, remove bugcrt directory (bugcrt is still built
	and used separately to rest of libbug)
convert sboot to use ordinary mvme68 libsa, instead of copying needed
	stuff in libc_sa.c
convert to use version info generated by sys/conf/newvers_stand.sh
	instead of previous version.c files, add necessary 'version' files
put chiptotime() to separate libsa file (used also by sboot/clock.c)

Thanks to Steve Woodford for help with this. Note that -current build
might be hosed by this change, will be addressed by Steve shortly.
2000-07-24 18:39:01 +00:00
mycroft b77782d785 Optimization to pmap_zero_page(): we only need to use the first 16 FP regs,
as in bzero().
2000-07-24 16:21:02 +00:00
mycroft fe9795a1e5 Fix a whitespace glitch. 2000-07-24 16:08:18 +00:00
mycroft a0ae8e1ecb Pull in the bzero() changes from libc for real, with a couple of kernel-
specific hacks:
* Make the bias handling depend on STKB, so it switches correctly for 32-bit
  kernels.
* Use the 32-bit stw/ld for 32-bit kernels.
* Add a few `-STKB's that were missed in the previous change.
2000-07-24 15:57:07 +00:00
bouyer 10afc4e0a8 create a funcion, siop_busreset(), to reset the scsibus.
Reset the scsi bus at attach time, to be sure all devices start in narrow/async
mode.
Defer sync/wide negotiation until after whe have a valid
xs->sc_link->device_softc, so that we can honnor the NOSYNC/NOWIDE quirks.
2000-07-24 15:15:00 +00:00
ad 751028f9c1 CopyToBuffer/CopyFromBuffer are used by sii/xsii and nothing else. 2000-07-24 15:07:02 +00:00
scw 197f977187 Pass the level and vector to vme_intr_map() in the correct order. 2000-07-24 15:00:41 +00:00
pk 98127a7ee3 Cosmetic & readability:
- local label cleanup in interrupt handling code;
	- in debugging sections when testing `intrdebug': use a unique
	  local label (97) to enhanced clarity;
	- comment-out unused code;
	- kill a bug as the satisfying result of doing all of the above.
2000-07-24 14:55:56 +00:00
ad 74cf7af4a9 Increase polled command timeout to 2s. 2000-07-24 12:28:31 +00:00
ad f054f5b190 Allow probe for SCSI tape drives even if no SCSI disk drives are configured. 2000-07-24 11:44:33 +00:00
scw 78abb015f5 G/C the IIO* #defines. They're no longer needed. 2000-07-24 11:20:47 +00:00
tsubai a943e81da4 Delete kernfs. 2000-07-24 10:04:10 +00:00
scw 2688608c2b Pass the boot partition number into the loaded kernel, in preparation
for doing away with __BROKEN_DK_ESTABLISH.
2000-07-24 09:25:53 +00:00
pk 1045aba51d Define UVM_PAGE_IDLE_ZERO. 2000-07-24 09:14:56 +00:00
pk a95d924d4d Fix delay slot error in the SUN4_MMU3L startup code. 2000-07-24 08:48:03 +00:00
eeh 2933116823 Fix stack issues in bzero. 2000-07-24 07:40:40 +00:00
mycroft 2f13e00500 Revert the previous change for now. I don't have time to debug it tonight. 2000-07-24 06:30:34 +00:00
mycroft ac182d9c19 Er, eliminate the -p link option as well, which just outputs huge amounts
of spooge.
2000-07-24 04:54:16 +00:00
mycroft 711ffefeac Nuke lderr. 2000-07-24 04:45:49 +00:00
mycroft 0c2ad746ea Slight rearrangement. 2000-07-24 04:39:01 +00:00
mycroft f9f72ecf9a Purge C++-style comments. 2000-07-24 04:28:51 +00:00
mycroft 4cbff173ea Fix an obvious error that would cause fpu_ftoxi() to drop the upper half.
The compiler even emitted a warning for this...
2000-07-24 04:13:45 +00:00
mycroft bdc8c86c9e asm volatile --> __asm __volatile 2000-07-24 04:11:03 +00:00
sommerfeld 73b6d9485c Drop packet, increment udps_badlen if the udp header length field
reports a size smaller than the udp header; defends against bogosity
detected by Assar Westerlund.

This patch and the previous ip_icmp.c change were the joint work of
assar, itojun, and myself.
2000-07-24 03:46:57 +00:00
sommerfeld a0c29e06a3 Improve robustness of icmp_error():
- allow it to work when icmpreturndatabytes is sufficiently large that the
icmp error message doesn't fit in a header mbuf.
 - defend against mbuf chains shorter than their contained ip->ip_len.
2000-07-24 03:32:31 +00:00
mycroft b65d3e93c9 Make this a bit safer against errors by using some .tmp files. 2000-07-24 02:00:39 +00:00
mycroft 62fe935649 Give this a prayer of working with obj dirs. 2000-07-24 01:55:59 +00:00
mycroft 8de9ab874b Make this at least pretend to compile. 2000-07-24 01:51:44 +00:00
mycroft 51b68e1fdd Fix compiler warnings. 2000-07-24 01:49:37 +00:00
mycroft bd58d06c50 Need string.h for memset() prototype. 2000-07-24 00:23:10 +00:00