Commit Graph

46473 Commits

Author SHA1 Message Date
thorpej
ce9753d9e9 Autoconfiguration glue for HPC devices.
From Rafal K. Boni.
2001-05-11 03:23:38 +00:00
thorpej
5885656e58 Support for the Seeq 8003 Ethernet attached to the HPC ASIC,
found on Indigo2 and Indy.

From Rafal K. Boni.
2001-05-11 03:22:21 +00:00
thorpej
5d02689ede IOC1/2 memory map.
From Rafal K. Boni.
2001-05-11 03:18:57 +00:00
thorpej
726924bc4c Support for the Dallas 1286 clock found on the Indigo2 and Indy. 2001-05-11 03:16:59 +00:00
thorpej
c4173c40c1 Support for the HPC I/O peripheral ASIC. There is where SCSI, Ethernet,
etc. live on the Indigo2 and Indy.

From Rafal K. Boni.
2001-05-11 03:11:20 +00:00
thorpej
149ebabf26 Get the major number of the CRIME properly.
From Rafal K. Boni.
2001-05-11 02:25:21 +00:00
thorpej
240de9a426 Definitions for the Dallas Semiconductor DS1286/DS1386 Real Time Clock.
From Rafal K. Boni.
2001-05-11 02:07:09 +00:00
thorpej
4efd12ca44 Set SR to PSL_LOWIPL rather than MIPS_INT_MASK | MIPS_SR_INT_IE,
as the former accounts for some mips3-related options.

From Rafal K. Boni.
2001-05-11 02:03:01 +00:00
thorpej
0976e733f4 Correct args to SYSCALL_DEBUG related function calls.
From Rafal K. Boni.
2001-05-11 01:42:32 +00:00
thorpej
18e25d5feb Add a flag to suppress SCC reset at attach time.
From Rafal K. Boni.
2001-05-11 01:40:48 +00:00
petrov
591e596a12 john heasley patch <heas@shrubbery.net>, PR port-sparc/12885
added PROM name translations for hme and fas
2001-05-10 23:11:53 +00:00
fvdl
ba2882488a Despite what the hardware docs say, the global reset command is not
done when the command-in-progress bit has been cleared. The 1ms
time that is mentioned also seems wrong; 20,000us is not enough
on at least one machine. So, do a delay(100000) in ex_reset.
Fortunately, this function is only called when the card is
attached or when hardware failure is suspected.

While here, only mask one 1 bit in the 'reset hack' case.
2001-05-10 22:57:44 +00:00
tron
74cc245bbe Fix typo: Pnp -> PnP 2001-05-10 22:12:38 +00:00
fredette
ee50c275ca Put longjmp's return value in the proper %d0. 2001-05-10 16:50:22 +00:00
pk
8001e23cd0 * reserve NBPG et.al. for kernel usage only.
* remove obsoleted comment on `physmap'.
2001-05-10 11:01:08 +00:00
pk
6016064c18 SHMLBA:
kernel use: change to PAGE_SIZE
	userland: call libc's internal __sysconf(_SC_PAGESIZE)
2001-05-10 10:50:51 +00:00
ad
8aad07ad6a Add missing printf(). 2001-05-10 09:41:19 +00:00
thorpej
2f58df9a8f Rearrange the code that adds pages of objects to the pool; require
that the caller allocate the pool_item_header when it allocates the
pool page, so we can avoid a locking pitfall (sleeping with a simple
lock held).

Also revive pool_prime(), as there are some letigimate uses of it,
but in doing so, eliminate some of the bogosities of the old version
(i.e. don't do an implicit "setlowat", just prime the pool, and incr
the minpages for each additional page we add, and compute the number
of pages to prime in a way that callers would expect).
2001-05-10 04:51:41 +00:00
thorpej
6ec67f871a Use POOL_NEEDS_CATCHUP() in one more place. 2001-05-10 02:19:32 +00:00
augustss
f63784bfbe Improved fix of PR12796, from Frederick Bruckman <fb@enteract.com> 2001-05-10 01:54:30 +00:00
itojun
63181d71c1 correct ecn consideration on tunnel encap/decap. sync with kame. 2001-05-10 01:37:42 +00:00
thorpej
db26619a5e Encapsulate the test for a pool needing a pool_catchup() in a macro. 2001-05-10 01:37:40 +00:00
itojun
2c2ff2e32d one more indentation fix 2001-05-10 01:30:55 +00:00
itojun
b87cb9344b whitespace/indentation cleanup 2001-05-10 01:23:51 +00:00
lukem
88d538c21e fix comment; cdev_notdef() is a funny pc console :) 2001-05-10 01:23:23 +00:00
itojun
dc452a48f6 no longer need to carry local version of inet_ntoa, we have it in libkern. 2001-05-10 01:04:08 +00:00
thorpej
627edfcb50 Remove pool_create() and pool_prime(). Nothing except pool_create()
used pool_prime(), and no one uses pool_create() anymore.

This makes it easier to fix a locking pitfall.
2001-05-09 23:46:02 +00:00
thorpej
626cb1c3ce Use pool_init() rather then pool_create(). 2001-05-09 23:38:20 +00:00
thorpej
e2a791df22 Use pool_init() rather than pool_create(). 2001-05-09 23:20:59 +00:00
matt
c2214aaf3c Remove includes that only include <arm/*.h>. These are now picked up
automatically when making kernels. (to be submitted).  Next rev will
eliminate those includes that include <arm/arm32/*.h>
2001-05-09 22:30:43 +00:00
augustss
5c9ba155e3 Apply patch in PR lib/12796 from Frederick Bruckman <fb@enteract.com> 2001-05-09 21:49:58 +00:00
kleink
dd4df24b01 Make the set of machine state restored by setmcontext() identical to that of
sigreturn().
2001-05-09 20:31:00 +00:00
kleink
e0b29e0491 Sync with native emul: rename sc_tstate to sc_psr. 2001-05-09 20:21:50 +00:00
kleink
f0d6ebbd33 Make restoring the PSR ICC bits really work in __sigreturn14(). 2001-05-09 20:13:38 +00:00
fvdl
0cc3c4a023 Suppress another case of a potentially noisy error message which
isn't fatal.
2001-05-09 20:02:32 +00:00
kleink
aec2bbb42f Sync sc_psr comments with reality. 2001-05-09 19:50:49 +00:00
kleink
7dbfdb5508 In the 32-bit ABI case:
* rename sigcontext.sc_tstate to sc_psr, since this is how it is known to
  the 32-bit API, and also used for;
* don't try to squeeze the tstate into it, just emulate the ICC bits.

Per discussion with Eduardo.
2001-05-09 19:46:22 +00:00
augustss
59f85c4e3e Ansify a function I forgot last time. 2001-05-09 19:33:07 +00:00
fvdl
defa9bf05f Avoid potential cases of sleeping while holding a spinlock. Pay attention
to SWF_FAKE when finding a swap device. GC swapdrum_add; it was only
a few lines long and called once, so just inline the code there.
2001-05-09 19:21:02 +00:00
thorpej
6300e455b4 Make sure `bhlc' is initialzed before we consult it to determine
the number of functions on the card.
2001-05-09 18:16:39 +00:00
matt
9c197c4609 Change references to <arm32/isa/timerreg.h> to <dev/ic/i8253reg.h>
Remove timerreg.h
2001-05-09 17:34:40 +00:00
tsutsui
73c5107dc5 Tidy up some debug messages. 2001-05-09 16:44:44 +00:00
tsutsui
330ab2b636 Print a clock frequency of the chip. 2001-05-09 16:24:43 +00:00
matt
bd9a11ee56 Populate ofw subtree. 2001-05-09 16:08:43 +00:00
matt
16db09f9f6 Add isa_machdep.c for dnard 2001-05-09 15:58:50 +00:00
matt
77666e6c72 Populate dnard/dnard. 2001-05-09 15:58:07 +00:00
matt
0cd5b27a79 Populate dnard/include 2001-05-09 15:40:54 +00:00
matt
a0b5b1f2ba Cleanup and make accurate to current dnard status. 2001-05-09 15:20:49 +00:00
matt
a9dceff4e1 add cpu ofbus attachment. (dnard has no mainbus). 2001-05-09 15:19:00 +00:00
matt
86fff9f3e8 Use the common arm32/pcb.h. Rearrange db_machdep.h to get definitions
before declaring functions.
2001-05-09 15:17:45 +00:00