Commit Graph

101308 Commits

Author SHA1 Message Date
bouyer ceb355fe05 Add support for Promise Ultra133TX2, and Ultra133TX2v2. 2002-08-23 16:29:37 +00:00
bouyer 0d17a940f8 Add support for HPT372. From sdegler@kashmir.degler.net in kern/17908,
with some improvement from me, and from FreeBSD.
2002-08-23 16:24:54 +00:00
itojun 36e473ebb2 off-by-one. PR 18049
correct snprintf() return value handling in another place.
2002-08-23 16:10:42 +00:00
matt ffdea2c266 Only do the dssall if cpu_altivec is set. 2002-08-23 16:08:10 +00:00
bouyer 1a7bae9619 Add support for Promise Ultra133TX2 and Ultra133TX2v2, from FreeBSD and
stephen@degler.net in kern/17509.
2002-08-23 16:02:32 +00:00
bouyer ea9862cb62 Regen: Add Promise Ultra133TX2 and Ultra133TX2v2 PCI ID 2002-08-23 15:57:04 +00:00
bouyer f49156d31c Add Promise Ultra133TX2 and Ultra133TX2v2 PCI ID. 2002-08-23 15:56:30 +00:00
scw b3e086e0ce Attach the ECC driver instead of the previous "eccirq" property hack. 2002-08-23 15:03:33 +00:00
scw 5b79fdfaf7 Add "ecc at plb" device.
Add an "irq" locator to the plb device.
This gets rid of the original hack where ecc support was wedged into
the cpu driver.
2002-08-23 15:01:07 +00:00
simonb 3502025a54 Show the IRQ we attach the ECC handler to. 2002-08-23 13:43:18 +00:00
simonb a9560f7ab2 Don't pass PROP_CONST to board_info_set() for variables that are on
the stack; we want to copy the property into the database.
2002-08-23 13:41:55 +00:00
scw 3a0067a42a Comment out wscons-related options until port-specific code is written. 2002-08-23 13:16:23 +00:00
scw 27ff9862b3 Override the last commit by auto-generating the file from walnut's
etc.MAKEDEV.

Pointed out by Thomas Klausner.
2002-08-23 13:01:21 +00:00
scw 50e32c42df Make the comments at the top match reality.
G/C a couple of other unused devices.

As a precaution, comment out the wscons entries until
the kernel supports it and note that their major numbers
will need to be re-synced.
2002-08-23 12:58:37 +00:00
scw 9ba60b4297 Install the ECC error interrupt handler at the level specified by
a "4xx-ecc-irq" property.
If the property isn't defined, assume the hardware has no ECC support.
This should, ideally, be a config file option.
2002-08-23 12:46:49 +00:00
scw a97e0cd99d G/C satlink and wscons. Neither are applicable to the walnut port. 2002-08-23 12:18:46 +00:00
scw a625cf764a Don't create satlink or ttyE device nodes. The former clashed with tty00,
and the latter (wscons) doesn't exist on Walnut anyway.
Renumber ttyCY to match Walnut's conf.c.
2002-08-23 12:18:06 +00:00
wiz d4a8d9ed9e Remove duplicate 'is' reported by Arto Huusko in misc/18048. 2002-08-23 12:04:39 +00:00
scw c4fdfebd38 Allow port-specific Makefiles to override the name and location
of locore.[So].
This is in preparation for arch/evbppc.
2002-08-23 12:01:58 +00:00
scw a0d58bf2f5 Remove an extra trailing bracket in a DEBUG printf. 2002-08-23 11:59:40 +00:00
scw f384fe8ba7 Don't assume all com ports run at "COM_FREQ", or a multiple thereof.
Use a board-specific property instead.
2002-08-23 11:42:13 +00:00
scw 19c988633d Don't frob cpu-specific DCR registers in common code. 2002-08-23 11:40:07 +00:00
scw 4968573654 Split off common 4xx locore code so it can be re-used by other 4xx ports. 2002-08-23 11:37:53 +00:00
wiz 4a20060b4c Fix typo. 2002-08-23 10:39:46 +00:00
tron 85f89e9c20 Adapt minor number of "libutil". 2002-08-23 10:35:36 +00:00
tron ef63cbff6b Bump minor number to 3 because there are already systems with
"libutil.so.6.2" to avoid further problems.
2002-08-23 10:34:02 +00:00
ragge 3f5fba68de Do not try to use "__builtin_ffs" on vax, ffs is an instruction already.
Maybe possible to teach gcc to use it?
2002-08-23 08:45:27 +00:00
kanaoka d4a4b29e36 - Support -4 and -6. Approved by itojun. 2002-08-23 08:14:20 +00:00
itojun e68a39d27b attach random number source. 2002-08-23 07:45:39 +00:00
lukem 76f5313c64 in start_init(), if RB_ASKNAME is set in boothowto, ask for the path
name to start up as init (rather than just cycling thru initpaths[]
and panicing when out of options).  if RB_ASKNAME isn't set, the old
behaviour remains.  inspired by changes in der Mouse's patchtree.
resolves [kern/18027] from me.
2002-08-23 06:17:08 +00:00
enami 691598efd0 s/FREE/PNBUF_PUT/ 2002-08-23 05:38:51 +00:00
lukem 59cfca9978 set CRUNCHENV= RESCUE=/rescue (still don't want SMALLPROG) 2002-08-23 03:25:21 +00:00
lukem f8df88f111 if RESCUEDIR is defined, set _PATH_RESCUE to that 2002-08-23 03:19:07 +00:00
lukem 8f87d6469c if _PATH_RESCUE is defined, try that before _PATH_SBIN & _PATH_USRSBIN 2002-08-23 03:17:18 +00:00
thorpej 90817e313c Use the structures defined in bsd_openprom.h for "reg", "range",
and "intr" properties, rather than having identical-except-for-names
sbus_* and iommu_* versions.
2002-08-23 02:53:10 +00:00
thorpej e92b96b3c4 CPU_ISSUN4OR4C -> CPU_ISSUN4 || CPU_ISSUN4C 2002-08-23 02:46:37 +00:00
thorpej 8b7cc1c1d2 Protect against multiple inclusion. 2002-08-23 02:45:44 +00:00
thorpej de6a644cea * Refine the comment describing openprom_addr.
* Add openprom_range and openprom_intr structures.
2002-08-23 01:08:45 +00:00
dbj f72f04ea8e comment out force of logical block is no larger than physical block. 2002-08-23 00:59:36 +00:00
augustss 6add8c3d67 Remove some debugging crap. 2002-08-23 00:58:58 +00:00
augustss fb1033e35b Add firmware downloader for BCM2033 (no firmware yet; waiting for OK
from Broadcom).
2002-08-23 00:55:20 +00:00
augustss 19801c46c9 Regen. 2002-08-23 00:53:58 +00:00
augustss 70dfad754f Use separate ids for BCM2033 before and after firmware download. 2002-08-23 00:52:45 +00:00
matt 78581fe411 In amap_ref, only increment the amap's refcnt after we have established
the ppref array.  Otherwise, the newly ref'ed pages will be doubly
counted and thus never freed because the pprefcnt can't fall to 0.
2002-08-22 23:39:37 +00:00
wrstuden e85eb3093d Enable memory for cards with 64-bit memory mappings in addition to
32-bit memory mappings. Makes Intel GigE card work in my Beige G3.

Patch from thorpej
2002-08-22 22:47:35 +00:00
dbj 6c9aa83c79 remove workaround for missing errno.h include 2002-08-22 22:38:05 +00:00
dbj 676f520cb1 add include of errno.h 2002-08-22 22:37:10 +00:00
dbj a93a935dc2 re-enable printing of A/UX fields used by NetBSD 2002-08-22 22:36:09 +00:00
dbj 6ee55a329c on exit, check map pointer before accessing it.
this prevents core dump when map wasn't found on disk
2002-08-22 22:35:22 +00:00
thorpej c196b51fad In sbcompress(), if we toss an empty mbuf, make sure to update
sb_lastrecord if necessary.

From Daniel Hartmeier <daniel@benzedrine.cx>.
2002-08-22 20:56:48 +00:00