Commit Graph

97220 Commits

Author SHA1 Message Date
sommerfeld ce6cc5672c Add "pa_rawintrpin" containing unswizzled interrupt pin to pci_attach_args. 2002-05-18 21:40:41 +00:00
ad d7e512df18 - Use write barriers.
- NBPG -> PAGE_SIZE.
2002-05-18 20:59:20 +00:00
tsutsui e8b1f54f84 Use ${.TARGET} where appropriate. 2002-05-18 19:03:10 +00:00
thorpej cfbb24ed86 Add a -Wno-format-zero-length switch that does nothing, for forward
compatibility with GCC 3.2.
2002-05-18 18:53:44 +00:00
sommerfeld 314ef13c23 In pci_probe_device(), correct test for whether the device is behind a
pci-pci bridge (and thus needs its interrupts "swizzled").

Formerly, pci_probe_device() assumed pci busses other than bus zero
were bridged; however, much recent x86 hardware supports multiple
primary pci busses differently -- there is a system-wide bus numbering
scheme.  Now, we instead look at the (newly introduced) sc_bridgetag
value in the parent bus to figure out if there's a ppb or equivalent
in the way.

This fixed at least one case where the i386 MP branch gets interrupt
mapping wrong.
2002-05-18 18:14:11 +00:00
pooka 3ac418b304 add sgimips 2002-05-18 17:32:20 +00:00
pooka af36ff0cba installation notes. still much work to be done here. 2002-05-18 17:31:43 +00:00
atatat 1ba0247f4a Lorian -> Lorien 2002-05-18 16:18:10 +00:00
bouyer af09484589 Be more verbose when returning XS_DRIVER_STUFFUP 2002-05-18 16:09:43 +00:00
jdolecek d3b63faa30 /var/chroot/sshd is used instead of /var/empty 2002-05-18 15:44:18 +00:00
kent 820aca767e USB_ATTACH: Initialize sc_plachan.altidx and sc_recchan.altidx with -1. 2002-05-18 15:14:39 +00:00
bouyer 29270413af If the data len if not a multiple of 2 bytes, force PIO mode. DMA can't
deal with such xfers, and can wedge the system with some controllers.
It's a bug to request such xfers for ATAPI, but as the request may come
from userland we have to protect against it.
2002-05-18 14:49:55 +00:00
jdolecek e8895ed0a1 Various whitespace fixes, and turn 'No packet to start' message to DPRINTF().
Mostly inspired by Christian Limpach's patch in port-next68k/16978.
2002-05-18 14:33:35 +00:00
jdolecek 88203d9c69 whitespace & formatting fixes, from Christian Limpach in port-next68/16798 2002-05-18 14:09:44 +00:00
isaki 1dc0c84b6b Make ELF kernel loadable, by itohy-san. 2002-05-18 13:54:38 +00:00
lukem 7ab28ee8d5 fix minor bogons in the build:
- sun3 doesn't have bootyy (`yet'. it probably will when it gets converted
  to sharing sun68k/stand)
- need full paths in list ${COPY} statements
2002-05-18 13:26:14 +00:00
pooka ca3913421d remove the attributions from my slogans. they kept popping up in
awkard places
2002-05-18 10:17:32 +00:00
lukem 572fd50bc0 enable scsi_find (et al) only if NSCSIBUS > 0 2002-05-18 07:32:11 +00:00
matt 77820698c6 Add lfmiop (LSILogic Fusion-MPT I/O Processor) placeholders for
driver to added latter.
2002-05-18 07:23:04 +00:00
matt cad72c184d Regen. 2002-05-18 07:19:41 +00:00
matt 01b871fa50 Add SYMBIOS FC9[12]9 and 1030R 2002-05-18 07:19:16 +00:00
uch e27184bfd6 use MI make_bsd_partitions(). clean up the code. 2002-05-18 07:14:31 +00:00
uch 272ed861db BSD raw partition is obsolete. raw partition is changed to C. 2002-05-18 07:13:01 +00:00
pooka 89a790daf0 adapt to 3.38 2002-05-18 07:11:14 +00:00
pooka 99dec2cc40 fix botch 2002-05-18 07:05:00 +00:00
pooka fbf022381d add zlib 2002-05-18 07:04:38 +00:00
pooka 184b2ef7fa conflict therapy 2002-05-18 07:00:44 +00:00
lukem 491a00e92d add missing union sun3sir sun3sir; (hi gimpy!) 2002-05-18 06:59:12 +00:00
pooka 4f62edefc0 file 3.38 2002-05-18 06:45:50 +00:00
lukem 3e591f18cf gratuitious comment addition 2002-05-18 05:59:23 +00:00
lukem 633e8d9515 minor cosmetic tweaks:
- put \r\n before OF_open message
- use  '0' + i % 10  instead of  'A' + i  to print the read block number
2002-05-18 04:24:22 +00:00
lukem 31aa8abd8e obsolete usr/mdec/installboot 2002-05-18 04:20:04 +00:00
lukem 4fa13b2be7 nuke MD installboot, now that it doesn't understand the macppc
bootblocks anymore and /usr/sbin/installboot does
2002-05-18 04:06:12 +00:00
lukem 964e8f45d1 Fix description for "form", "mode", and "struct" commands.
Inspired by [bin/16736] from Steve McClellan <steve.mcclellan@radisys.com>
2002-05-18 03:00:13 +00:00
enami 1578726840 Just give up to do readahead rather than waiting busy pages.
While I'm here, added few patchable variable so that one can
easily measure readahead behaviour.
2002-05-18 02:54:57 +00:00
eeh 4678e53555 Fix inverted comparison. We only wan to flush the I$ on *userland* executable
mappings.
2002-05-18 00:51:15 +00:00
mjacob 7aac86133e Pointy hat to me on the last delta. 2002-05-18 00:48:11 +00:00
itojun 449d6afcab style 2002-05-18 00:07:28 +00:00
martin bdd46f7081 (Mostly) backout previous, with some slight modifications.
Restore the reset thread, to make resetting the interface possible while
not blocking interrupts.
Make sure to throw away garbage input while the reset thread is at work
(by setting sc_enabled a bit later).
Issue a PMS_RESET command when resetting to address PR 16788.
2002-05-17 22:49:48 +00:00
itojun c37fca45ce do not reverse-lookup scoped IPv6 address. it does not make sense as
there's no way to give scope identifier.  sync w/kame
2002-05-17 22:40:31 +00:00
enami 2afb4efc4c Make uvn_findpages to return number of pages found so that caller can
easily check if all requested pages are found or not.
2002-05-17 22:00:50 +00:00
perseant 36efaa3565 use macros from <sys/queue.h> 2002-05-17 21:42:38 +00:00
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