petrov
d6b50e1598
add fas configuration
2001-03-29 18:54:58 +00:00
lukem
20ba07f2fe
- add dev_noimpl(xxx,yyy) macro to replace "(dev_type_xxx((*))) yyy",
...
and use appropriately
- create more helper macros:
. cdev__xyz_init(c,n), such as cdev__ocri_init() for
/* open, close, read, ioctl */, etc.
. cdev__xRy_init(c,n), where nullop is used instead of enodev to dummy out
method `R' and the comments now read /* xxx (read) yyy */ instead
. cdev__xyz_t_init(c,n,t) - as per cdev__xyz_init, but sets d_type = t
as well
- use seltrue instead of dev_noimpl(poll,*), as (IIRC) cdevsw.d_poll should
always DTRT WRT returning a valid result. (a few devices previously
incorrectly returned ENODEV)
- use dev_noimpl(stop,enodev) instead of dev_noimpl(stop,nullop) if tty
== 0, because it doesn't matter if dev_type_stop isn't implemented in that
case, and it allows the use of the cdev__xyz_init macros. certain ports
(sparc,sparc64,x68k) used the nullop method for dev_type_stop in a few
drivers, whereas everything else uses enodev
- ensure that the comments are accurate WRT the behaviour of a given entry
2001-03-26 12:33:22 +00:00
petrov
b47f68b66c
fix 'show registers' mis-aligned access, PR11580
2001-03-22 22:20:28 +00:00
lukem
723cd818d8
move duplicate definitions for:
...
pc, lpt, joy, ocis, apm, satlink, i4bctl, i4brbch, i4btel, i4btrc, i4b
from the port-specific arch/*/*/conf.c files into sys/conf.h
2001-03-21 22:25:52 +00:00
mrg
af58b235e0
adapt to systems with out interrupt-map & interrupt-map-mask properties.
2001-03-21 01:33:47 +00:00
mrg
0b2a9fa53d
kill QUOTA on everglades.
2001-03-19 05:35:51 +00:00
hubertf
cda43785c6
Add comment on what 'overtemp' is about. OK'd by eeh.
2001-03-16 10:47:25 +00:00
chs
ac3bc537bd
eliminate the KERN_* error codes in favor of the traditional E* codes.
...
the mapping is:
KERN_SUCCESS 0
KERN_INVALID_ADDRESS EFAULT
KERN_PROTECTION_FAILURE EACCES
KERN_NO_SPACE ENOMEM
KERN_INVALID_ARGUMENT EINVAL
KERN_FAILURE various, mostly turn into KASSERTs
KERN_RESOURCE_SHORTAGE ENOMEM
KERN_NOT_RECEIVER <unused>
KERN_NO_ACCESS <unused>
KERN_PAGES_LOCKED <unused>
2001-03-15 06:10:32 +00:00
eeh
b612a766a7
Handle overtemp intr.
2001-03-14 00:52:19 +00:00
thorpej
85868e3c09
Pay attention to BUS_DMA_STREAMING when builing an IOMMU TTE.
2001-03-09 20:05:39 +00:00
thorpej
2c4c690f14
Add the BUS_DMA_STREAMING flag.
2001-03-07 22:42:16 +00:00
eeh
4e77731eee
Fix inverted preprocessor logic. (Spotted by Charles.)
2001-03-07 01:47:02 +00:00
mrg
f1d2503dc5
rework pci_attach_hook() to just deal with the INO, not the full
...
interrupt number. properly find interrupts for the E250. modify
pci_intr_map() accordingly. retire psycho_intr_map(). deal with
INO values upto 0x3f, not upto 0x32. restructure sabre_init() and
psycho_init() to be more similar, and display each psycho's IGN.
psycho_intr_establish() deals with INO upto 0x3f, values from 0x32
and higher get 0 for IPL.
tested on E250 & U5.
2001-03-06 08:09:16 +00:00
mrg
76c3f04bcb
move etext after rodata, like kern32.ldscript and sparc's kern.ldscript.
2001-03-04 13:41:00 +00:00
mrg
de13b6986c
deal with 32 bit kernels.
2001-03-04 10:11:56 +00:00
mrg
90656ebe47
sync with GENERIC; add COMPAT_SVR4_32
2001-03-04 10:10:42 +00:00
mrg
3125147a72
oops; make this build with a 32 bit compiler again.
2001-03-04 09:28:35 +00:00
mrg
ecb878c12d
sync with GENERIC32.
2001-03-02 07:56:26 +00:00
mrg
3c2cb5a456
- no need to hard wire pci busses or hme0 anymore
...
- clean up some comments
- __ELF__ is defined by the compiler
2001-03-02 07:50:08 +00:00
mrg
23fecf2b24
clean up slightly; prepare to make this identical to sparc/frame.h.
2001-03-02 07:40:18 +00:00
mrg
3c31d4fccb
clean up slightly.
2001-03-02 07:36:57 +00:00
mrg
7a1cb1dbc2
use pci_bus_devorder() and pci_dev_funcorder()
2001-03-02 06:34:06 +00:00
mrg
c452d0b725
adjust some comments to reality.
2001-02-28 15:21:08 +00:00
mrg
5ef9914b06
add and user a linker script.
2001-02-28 15:17:48 +00:00
mjacob
721e39d0dc
add SES device
2001-02-28 00:08:18 +00:00
mjacob
312d560493
add SES device (unused #4 )
2001-02-28 00:06:28 +00:00
eeh
85cffb544d
Improve legibility and iommu_dvmamap_sync().
2001-02-24 18:49:06 +00:00
eeh
121d97c255
Somehow this didn't get checked in with the rest of the SVR4 64-bit fixes.
2001-02-22 22:08:06 +00:00
eeh
a72ee87980
Add support for 64-bit SVR4 (Solaris 8) binaries.
2001-02-21 23:53:00 +00:00
mrg
5713cce1e0
sync with reality.
2001-02-17 16:29:13 +00:00
eeh
b0e3d231c4
Define VM_MASUSER_ADDRESS32.
2001-02-16 16:00:29 +00:00
mrg
f9c371eea3
type cleanups.
2001-02-12 16:07:38 +00:00
eeh
c269f4f002
Add COMPAT_SVR4_32.
2001-02-11 01:00:51 +00:00
eeh
d8405328df
Add support for COMPAT_SVR4_32.
2001-02-11 00:39:37 +00:00
eeh
750052a46f
Remove things that are defined in elf_machdep.h now.
2001-02-11 00:37:22 +00:00
eeh
96bf37a78f
Save the machine model string in case someone needs it (like slowlaris).
2001-02-11 00:27:06 +00:00
eeh
6e928d620b
Add some new gunk Sun uses.
2001-02-11 00:18:49 +00:00
eeh
1ac34a6a98
A register is 64-bits unless we're emulating 32-bit.
2001-02-11 00:17:03 +00:00
eeh
945c9cac5f
Increase limits slightly. We're still not using all 32 address bits yet,
...
let alone 64.....
2001-02-11 00:09:45 +00:00
eeh
1671aa6706
Increase NKMEMPAGES to a more useful value.
2001-02-11 00:07:10 +00:00
eeh
3e47436b79
Add some extra fields to a dmamap to track what's being mapped.
2001-02-11 00:05:47 +00:00
eeh
3daccde8d4
Print out more useful data if there are interrupt issues.
2001-02-11 00:02:58 +00:00
pk
5fb1ec8af6
Fix conditional for svr4 compat inclusion.
2001-02-10 20:00:24 +00:00
eeh
2411eab448
Fix D$ aliasing issues in a DIAGNOSTIC check.
2001-02-06 19:04:57 +00:00
mrg
22a68e0e29
oops, kill some debugging messages.
2001-02-05 13:13:47 +00:00
mrg
2d7ba2f0e7
turn off UVMHIST. turn on LKM. makeoptions DEBUG=-g
2001-02-05 12:49:11 +00:00
mrg
05752997ef
use sunos32_machdep.c on 64 bit kernels.
2001-02-05 12:47:47 +00:00
mrg
e1ac1f31b9
make sure 32 bit addresses are truncated properly.
2001-02-05 12:45:38 +00:00
eeh
db133b2424
Add signal trampoline for 64-bit svr4 emulations.
2001-02-05 06:56:45 +00:00
mrg
c084c19f60
add "wd" to chrtoblktbl
2001-02-02 07:39:28 +00:00