Commit Graph

97228 Commits

Author SHA1 Message Date
mjacob a14da6673f Replicate change that Matt Thomas made in isp_pci- if we get ENOMEM/EAGAIN
in bus_dmamap_load, return CMD_EAGAIN rather than just make the command dead.
2002-05-17 19:06:24 +00:00
mjacob c3514c8f6d Slight touchup on last change- make sure HBA_BOTCH is set (just in case
somebody at a different level does the wrong thing) on ENOMEM/EAGAIN returns
from loading DMA.
2002-05-17 19:05:08 +00:00
mjacob 16fa96cfc8 Give XS_DRIVER_STUFFUP a case all by itself. 2002-05-17 18:56:05 +00:00
lukem b3facf5a7d reduce MACPPC_BOOT_BLOCK_MAX_SIZE from 6K to 2K, to fit what bootxx is
limited to (and a CDROM limitation as well?)
2002-05-17 18:53:34 +00:00
mjacob c2d194880d Fix seveeral issues- but the most important of which is that we have
to check if we get a RQCS_DATA_UNDERRUN - if we're an FC card, we may
not have RQCS_RU set- if it isn't set, we just lost a DATA XFR IU in the
middle of the exchange. In this case, we have to bomb out the whole xfer.
We had been getting silent data corruption before.
2002-05-17 18:49:42 +00:00
lukem 7f3c3f9b76 Fixes from Bill Studenmund and Allen Briggs:
- setup a 32KB (+32byte) stack, instead of 4KB stack
- cache flush: use _start instead of 0x4000, and flush 2k instead of 1k

Features (by me):
- implement:
	OF_write() (and grab "stdout" from "/chosen")
	putstrn(s,n) using OF_write(); write string s of n bytes long
	putstr(s); write fixed-sized string s
	putc(c); write char c
- add some useful messages which output the status of loading the
  stage 2 bootstrap (which is usually ofwboot)

This code now works on Bill's Beige G3!
2002-05-17 18:45:55 +00:00
jdolecek 46a7bc7d62 Force absolute jumps where necessary, newer gas generates pc-relative
jumps, which we don't want here.
Reported, suggested fix, and testing by Christian Limpach in port-next68k/16793.
2002-05-17 18:03:50 +00:00
lukem 91db817d71 convert to NDWO, a la sun2.
XXX:	untested.
	also needs sun3 converted to sun68k/stand/bootxx so that
	the ${INSTALLBOOT} in miniroot can be enabled.

XXX^2:	sun2 & sun3 should share distrib dirs since they're extremely similar...
2002-05-17 17:52:29 +00:00
lukem b4c170fd08 Enable sun3, using same sun68k backend as sun2.
XXX: sun3 port still needs to be cut over to using sun68k bootxx...
2002-05-17 17:42:36 +00:00
wiz 12102d9f6d Fix format string in usage. bin/16869 by Julio Merino. 2002-05-17 17:27:12 +00:00
lukem 1a7212d4da Added support for the __ramdisk pseudo-argument. When given,
we make fewer devices to conserve inodes on the ramdisk.
(ripped off from rev 1.12 of etc.sun2/MAKEDEV)
2002-05-17 16:32:18 +00:00
toshii e80128b0ba Add a dummy Makefile so that `make release' succeeds. 2002-05-17 16:22:59 +00:00
toshii f993c7b729 hpcarm isn't hpcmips. 2002-05-17 16:16:14 +00:00
wiz 070bb0af6f Tokens after #else are ignored, which is not the intention here. 2002-05-17 12:44:45 +00:00
martin 3d49645449 Remove debug printf accidently commited.
Noticed by Thomas Klausner.
2002-05-17 09:28:34 +00:00
jdolecek 8d0d2a392c make kgdb buildable again, g/c next68k/stub.c
Changes by Christian Limpach in kern/16794, with some minor adjustment
by me.
2002-05-17 06:44:03 +00:00
lukem 634dcabc44 fix ~sshd. tweak GECOS for named,ntpd,sshd 2002-05-17 05:47:41 +00:00
lukem 0ede5cc7ca - add check_dir(), which checks or creates the given directory, and
use appropriately (rather than replicating effort)
- add check_ids(), to check if the lists ids exist in the first field
  of a : separated file.
- implement do_gid() and do_uid() using check_ids()
- check for ${DEST_DIR}/var/chroot/ssh instead of /var/chroot/ssh

- rename rcconf_isset() to rcconf_is_set()
- rename cmpdir() to compare_dir()
- be consistent about referring to variables with ${...}
2002-05-17 05:40:42 +00:00
uwe 7c7d2ceb59 NetBSD/toaster: we wish the toaster to be happy too.
(Idea by Rafal, though he denies that)
2002-05-17 02:21:20 +00:00
groo a54b0bba2e Regen. 2002-05-17 01:07:53 +00:00
groo ec845de24e Add a bunch of Inside Out Networks devices. 2002-05-17 01:07:17 +00:00
hubertf de06b5e706 #netbsd - where monks recite their internal dialogue while debugging.
-- Bernhard Riedel
2002-05-17 00:20:01 +00:00
eeh 5f3262977c Don't use smaller trapframes. Causes more problems that it's worth right now. CVS: ---------------------------------------------------------------------- 2002-05-16 23:29:42 +00:00
eeh d3aa1ab1c4 Add a missing carriage return. 2002-05-16 23:21:55 +00:00
wiz 44086ebfde Remove duplicate that. lib/16849 by John Heasley. 2002-05-16 21:23:31 +00:00
itojun e26b1052bb use /var/chroot/sshd instead of /var/empty. suggested by christos 2002-05-16 20:59:35 +00:00
deberg 5d6d9530b6 big-endian macros 2002-05-16 20:37:12 +00:00
eeh a48bd3e3b4 Make the PCI code actually work. 2002-05-16 20:28:33 +00:00
eeh ac0772ab66 Correctly print out all out regs in the trapframe. 2002-05-16 20:27:09 +00:00
wiz 0ed95fb29e #ifdef 1 -> #if 1 2002-05-16 20:05:39 +00:00
wiz 9e98569eee Space before comment after #endif. 2002-05-16 19:57:22 +00:00
wiz 86afeb9db4 Remove bogus stuff after #endif. 2002-05-16 19:56:13 +00:00
wiz 111e203639 Comment out token after #endif. 2002-05-16 19:53:37 +00:00
wiz f2fda839cd Comment out token after #endif.
XXX: Weird token here -- please double check.
2002-05-16 19:51:40 +00:00
wiz 6e749bff5c Comment out token after #endif. 2002-05-16 19:48:18 +00:00
wiz 19f4778435 Comment out token after #endif. (Hmmmmmmm.) 2002-05-16 19:47:47 +00:00
wiz 79deb5d12d Comment out token after #endif. 2002-05-16 19:40:53 +00:00
wiz da0b574ae0 Comment out token after #endif. 2002-05-16 19:30:41 +00:00
wiz 98d39977a3 Remove token after #endif. 2002-05-16 19:30:17 +00:00
briggs 52c64de3c7 Make GENERIC.X2 as well as GENERIC, and include the srec versions. 2002-05-16 19:29:36 +00:00
wiz 6f56aa4c96 Only comments after #endif. 2002-05-16 19:25:06 +00:00
wrstuden 1ada35e0f6 Adjust how we set up our stack. According to the ABI, we store the
return pc address at (r1). So don't initialize r1 to be outside our
stack area. Scooted it in 16 bytes to help alignment.
2002-05-16 18:02:47 +00:00
kleink 4647b339e3 Fix typo in attribute name. 2002-05-16 12:12:30 +00:00
wiz 77c1358a2b Remove superfluous #endif. bin/16840 by der Mouse. 2002-05-16 09:55:50 +00:00
haya 1ce4bf6bec Bugfix: s/__NetBSD_Version/__NetBSD_Version__/. IPv4 over IEEE 1394
will work with this change.
2002-05-16 09:08:33 +00:00
david 1a7e4e2260 Note what this device does. (Thanks Jason! ;-) 2002-05-16 03:50:54 +00:00
briggs 62ee522426 Put options after include to please config(8). 2002-05-16 03:35:20 +00:00
thorpej 64c6407d7b Garbage-collect the empty-for-years "su" device. 2002-05-16 02:59:57 +00:00
thorpej f4cc1100b0 Don't use a 2-dimensional array for the channel's periph table. Instead,
hash the target and lun together and use a hash table.  This will be
necessary in order to support very large (64-bit) LUN number spaces.
2002-05-16 02:54:20 +00:00
thorpej 4daab7072a Don't access a scsipi channel's periph table directly; use
scsipi_lookup_periph().
2002-05-16 02:50:53 +00:00