pk
7e8f67ad97
No need to fetch the psycho's own registers as thet are already passed
...
down from the parent bus. Also account for the difference in `reg'
properties in psycho vs sabre chips.
2000-07-12 21:49:44 +00:00
pk
f56554a578
If there is no "interrupt-map" property on the ebus node, assume the
...
child "interrupt" properties are already in a format suitable for
the parent bus.
2000-07-12 21:07:36 +00:00
jdolecek
c8f528ad5e
switch to MI newvers_stand.sh version info generator
2000-07-12 21:05:35 +00:00
thorpej
1204c1faaf
Oops, treat 2100A_A500 just like 2100_A500 in every place necessary.
2000-07-12 21:02:14 +00:00
thorpej
3182af4432
- Add Jensen support/devices.
...
- Add commented-out Sable/Lynx support/devices.
- Switch from `ncr' to `siop' by default.
- Add some missing `scsibus' configs to INSTALL.
2000-07-12 20:54:38 +00:00
thorpej
249773b538
Deal with another odd need of the Sable/Lynx systems, which need to
...
have an ISA chipset present before the PCI-EISA bridge has been
attached (because the STDIO module has an ISA DMA-using device,
the floppy controller, connected to it).
2000-07-12 20:50:00 +00:00
thorpej
a66c3e663c
Code to support the DEC 2000/300 (DECpc AXP 150, a.k.a. "Jensen")
...
systems. Thanks to Gyenes Istvan for the rounds of testing.
2000-07-12 20:36:07 +00:00
thorpej
55c41121ff
Change from ncr' to
siop' by default.
2000-07-12 20:27:25 +00:00
thorpej
42c89508c0
Uncomment the `fdc at sableio' lines.
2000-07-12 20:20:54 +00:00
eeh
1f45545899
Add UltraSPARC III specific flag bit. Currently ignored.
2000-07-11 21:55:11 +00:00
msaitoh
dc6054c8b0
add OBJCOPY?=objcopy
2000-07-11 18:47:09 +00:00
msaitoh
dafe13f724
callout()->callout_reset()
2000-07-11 18:46:22 +00:00
jeffs
f6812b853b
Only define machdep sysctls if CPU_MAXID is not defined by machine/cpu.h.
...
This lets mips ports have additional machdep sysctl. Define CPUISMIPS3
for MIPS1+MIPS2 as cpu_arch >= 3 to support mips4. Add cpu_intr()
prototype so this is defined in one place.
2000-07-11 06:34:57 +00:00
jeffs
6b28794054
Add support for 3 QED special2 opcodes.
2000-07-11 06:27:58 +00:00
jeffs
54a85cb3af
For 64b clean 32b compilation, do not bother setting SX And KX.
...
The current code does not maintain these in SR, and they are not
needed by 32b kernel code for mips3/4 instructions.
2000-07-11 06:26:08 +00:00
nisimura
4f051180a0
- Use PMAD-BA name for device match logic. It's not a real TURBOchannel
...
device and the id string is not found in option ROM string, but
ULTRIX/OSF1 call it so anyway.
- Squash IOASIC DMA buffer allocation into device attach() sequence.
2000-07-11 04:10:25 +00:00
soren
77e30d85bf
Oops.
2000-07-11 01:15:47 +00:00
soren
e3c19eafd0
Update comment.
2000-07-11 01:02:44 +00:00
jeffs
dcbf69bf94
Update mips3_locore_vec cache functions for mips3_L1TwoWayCache. Add cast
...
for clean compilation with _MIPS_BSD_API_LP32_64CLEAN set.
2000-07-10 23:21:16 +00:00
jdolecek
f7d523ebb6
make buildable with -Wall -Werror
2000-07-10 22:48:25 +00:00
jdolecek
b3c2dd691c
make compilable with -Wall -Werror
2000-07-10 22:01:16 +00:00
jdolecek
42c88111e1
explicitly specify main() return type (make buildable with
...
-Wall -Werror)
2000-07-10 21:30:31 +00:00
jeffs
010c198b37
In setregs() flush sigreturn trampoline code from the d (MIPS3) and i cache.
...
Tested on geocast RM5231 platform. This fixes a race in
regress/sys/kern/sigtramp. Some other ports do the same thing.
2000-07-10 21:12:13 +00:00
jdolecek
27a5ba9e0a
use <sys/exec_aout.h> instead of <a.out.h> - this is supposed
...
to be standalone after all
2000-07-10 20:36:15 +00:00
jdolecek
7e272173bd
no need to include <a.out.h> here
2000-07-10 20:33:49 +00:00
eeh
f10d7699fc
Break into debugger by typing `+++++',
2000-07-10 20:24:23 +00:00
uch
e8ebb2a377
use mips3 cache op.
...
invalidate -> write-back invalidate
(although NetBSD/hpcmips run on write-through mode.)
suggested by cgd.
2000-07-10 16:23:18 +00:00
ragge
c71d0f69c6
Forgot a debug printf.
2000-07-10 10:45:21 +00:00
ragge
5ae755e1bf
Save registers for eventually later usage.
...
Use REI to clear pipes after code copy.
2000-07-10 10:42:27 +00:00
ragge
baec928850
NODESIZE -> BI_NODESIZE.
2000-07-10 10:40:38 +00:00
ragge
ed83213bf2
Add support for VAX 6000 + VAX 8000. Tweak console routines.
...
Create a fake RPB if either netbooted (on machine without RPB) or
loaded from console storage (without VMB intervention).
2000-07-10 10:38:23 +00:00
ragge
175e6ad859
Add code that allows the boot blocks to be loaded by VMB.EXE, and
...
also have optional MTPR printf available.
2000-07-10 09:55:36 +00:00
ragge
8658157274
Nexus vector number is 0x14-0x17, not 14-17! Fortunately, 3 wrong did
...
one right. Pointed out by Kenn Humborg (kenn@linux.ie ).
2000-07-10 09:14:32 +00:00
eeh
7403ef3d00
Need to include <sys/exec_elf.h> to make things happy. So much for adding
...
dead code.
2000-07-10 01:15:17 +00:00
eeh
048f1387db
Function signature for bus_intr_establish() changed.
2000-07-10 01:11:14 +00:00
eeh
1cfb5e6456
Grab and use the memory model info from the flags in the ELF header.
2000-07-09 22:39:17 +00:00
eeh
ec71379542
Use TSO memory model for 32-bit userland.
2000-07-09 22:02:32 +00:00
eeh
e5cd515b89
Upgrate interrupt handling:
...
1) use interrupt vectors for specific zs chips rather than polling
all of them.
2) use softintr_schedule() and schedule it for a particular device
rather than poll all devices.
2000-07-09 21:58:43 +00:00
eeh
f43ab74a43
Shuffle around some fields to waste less space on LP64.
2000-07-09 21:55:24 +00:00
pk
406e0f779f
Add a `device class' interrupt level argument (from machine/intr.h)
...
to bus_interrupt_establish().
It's currently only used in sparc64/dev/psycho.c to assign a CPU interrupt
level to devices in PCI slots.
2000-07-09 20:57:41 +00:00
pk
2a57393a0f
Re-arrange headers; drop <machine/cpu.h>.
2000-07-09 20:38:34 +00:00
jdolecek
230b3462ea
uncomment part which has been accidentaly commented out in last commit
2000-07-09 14:16:02 +00:00
jdolecek
f61c58e333
fix accidentaly dropped dependance on wrtvid
2000-07-09 14:11:10 +00:00
jdolecek
0b9b0cbc03
backout previous change, this should not have been committed (yet)
2000-07-09 14:07:06 +00:00
jdolecek
26e11b6af2
Make buildable on NetBSD/mvme68k 1.4.1.
2000-07-09 13:47:33 +00:00
mrg
152f5c5f28
remove unused variable.
2000-07-09 13:35:54 +00:00
jdolecek
f6cf4e5f93
move struct sys_config from mca_machdep.c to mca_machdep.h
...
fix copyright (overlooked in original commit)
use bitmask_snprintf() instead of printf("...%b") (though that part is commented
out anyway ATM)
2000-07-09 10:35:11 +00:00
nisimura
1566e57da8
Simplify address decode logic for memory parity error condition.
...
XXX Need to have a better reporting message here.
2000-07-09 09:14:29 +00:00
nisimura
3c55597b94
Add a patchwork prototype declaration for netintr().
2000-07-09 08:08:20 +00:00
nisimura
194f2ce04e
Comment clarification in this file. Have consistent terminology, ATC
...
instead of TLB.
2000-07-09 07:14:18 +00:00
mycroft
9ad7bd8d37
Increase the example DDB_HISTORY_SIZE.
2000-07-09 01:36:06 +00:00
mycroft
33090b8b89
Enable DDB history.
2000-07-09 01:35:52 +00:00
mycroft
4087b4e418
Do the interrupt fixup for all busses, not just bus 0.
...
This is necessary on some machines with multiple onboard PCI busses.
2000-07-09 00:42:47 +00:00
mycroft
0ef0f52d06
Turn on DDB history by default.
2000-07-09 00:41:24 +00:00
eeh
5a7cb20576
gdb requires a `struct fpstate' so provide one.
2000-07-08 19:25:14 +00:00
sommerfeld
eb1939c85f
printf format paranoia
2000-07-08 17:09:02 +00:00
sommerfeld
26b0bc1c2e
printf format safety
2000-07-08 17:08:35 +00:00
jdolecek
6a6ee4aa91
cleanup way vers.c file is created/compiled
2000-07-08 15:40:53 +00:00
jdolecek
50dc07c081
get the version number differently - instead of using RCS version number
...
of version file, take version from last line of that file as the part from
start of the line to ':'
2000-07-08 15:36:05 +00:00
jdolecek
89ccc75157
use _C_LABEL() for bootversion, instead of hardcoding the reference as _bootversion
2000-07-08 14:41:04 +00:00
pk
404e6e3a61
Drop KERNFS
2000-07-08 11:33:24 +00:00
tsubai
fba6fe287b
* Redo previous; set PIR on 604 and 7400 only.
...
* printf clean-up.
2000-07-08 07:23:17 +00:00
mrg
065b56c096
backout part of previous: turn off intrdebug, and another debug message
2000-07-08 05:04:01 +00:00
tsubai
7314c0eba6
Clear the reservation in __cpu_simple_lock_try even if it failed to lock.
...
(From ws@tools.de )
2000-07-08 04:36:56 +00:00
jhawk
d770f87fef
Pullover rev 1.320 - rev 1.358 of GENERIC to IOPENER, and merge conflicts.
...
Add GENERIC rev in "from:" line to aid in future merging.
Major highlights include SOFTDEP, and, err, 4 blank lines.
2000-07-08 03:24:36 +00:00
jhawk
71f3f1c282
Pullup rev 1.233 - rev 1.358 of GENERIC to CARDBUS, and merge conflicts.
...
Add GENERIC rev in "from:" line to aid future merging.
Major highlights include COMPAT_14, COMPAT_AOUT, NTFS, OVERLAY,
SOFTDEP, INET6, IPSEC, pcic iosiz changes, cz, dpt, rtk (cardbus!),
awi, cnw, ray, wi, xi, joy, and gif.
2000-07-08 02:47:02 +00:00
tsutsui
7fb0549d87
Add ep* at isapnp and ep* at isa.
...
3c509 works fine on my CATS.
2000-07-08 01:24:35 +00:00
pk
2c1dc518bd
Changes for readability:
...
- #define LP64 dependent STACKFRAME macro once
- use a LOAD_ASCIZ macro for setting up the format string
for debug messages.
2000-07-07 23:28:28 +00:00
eeh
468c727a28
Temporary fix to prevent the clock from stopping on UIIi machines.
2000-07-07 19:59:36 +00:00
eeh
14b1b05f10
Rename GENERIC to GENERIC32 and GENERIC64 to GENERIC to allow snapshots to
...
build properly.
2000-07-07 19:11:56 +00:00
mrg
2b69bc2115
BUFCACHE=20
2000-07-07 14:22:57 +00:00
tsubai
446c144ae3
Set PIR only if MULTIPROCESSOR is defined.
2000-07-07 13:22:06 +00:00
mrg
b91804af6c
split up debug flags so i can turn off some of them
2000-07-07 13:10:34 +00:00
pk
cacf690261
Try both the BOOTPARAM and DHCP protocol (in that order as is the custom
...
with Sun machines).
2000-07-07 12:59:16 +00:00
mrg
4b21f66d57
work around a bug passing arguments to iommu_dvma_load_raw()
2000-07-07 12:53:29 +00:00
mrg
c0f4ea2a12
check that this *entry* is BUSCLASS_NONE (not the current device) in
...
bus_compatible(). fixes boot device detection on sbus. while i'm here,
sprinkle DPRINTF()s in the boot device detection code.
2000-07-07 12:44:47 +00:00
mrg
9a6c45e283
options BUFCACHE=20, plus a 64 bit config.
2000-07-07 08:44:16 +00:00
eeh
3f2289a3d7
Handle bus_dma aligment properly.
2000-07-07 02:50:19 +00:00
thorpej
2c9058efbb
Oops, g/c some stuff from previous.
2000-07-06 23:29:13 +00:00
tsubai
059d5818cf
include "opt_multiprocessor.h".
2000-07-06 23:27:29 +00:00
tsubai
9ad1103d98
Make it compile with "options MULTIPROCESSOR".
2000-07-06 22:56:22 +00:00
thorpej
65780061bd
Define some more CTB formats.
2000-07-06 22:46:54 +00:00
dmcmahill
db5c144019
make sure ofwboot.xcf gets installed
2000-07-06 19:42:55 +00:00
ragge
089ed65ef7
Add NMI and XMI outcommented, the same with VAX 6400 and VAX 8000.
2000-07-06 18:04:56 +00:00
ragge
0e29b678ce
Add xmi_mainbus.c file.
2000-07-06 17:43:38 +00:00
ragge
63852b4193
Some defines for the 6000/400 CPU.
2000-07-06 17:42:49 +00:00
ragge
443db45277
Framework for the mainbus-XMI block. Not completely finished.
2000-07-06 17:41:37 +00:00
ragge
b98189c9f5
CPU support for the 6000/400 CPU. No support for spinning up the
...
slave processor yet, though.
2000-07-06 17:40:00 +00:00
ragge
d5e70ee279
Add code to support loading of kernel directly via MOP.
...
This is only intended for development purposes, not production use.
2000-07-06 17:37:40 +00:00
ragge
6bf625c8c0
Recognise VAX 6000/400.
2000-07-06 17:36:22 +00:00
ragge
5c50116697
Console Communication Area (CCA) layout description.
...
Used on for example VAX 6000 machines.
2000-07-06 17:34:29 +00:00
eeh
6a1f10a7d5
Added two new options to the bootblock: -V turns on verbose mode and -D
...
makes it load but not execute. If fcode-debug? is enabled in the firmware
an arbitrary file can then be loaded with:
ok " <path>" do-boot
2000-07-06 17:15:07 +00:00
eeh
63d57aa16a
Fixup counter-timer interrupt lossage.
2000-07-06 14:13:05 +00:00
msaitoh
7f0eba7ad8
make spllower() return void.
2000-07-06 04:31:04 +00:00
tsubai
212a0a08d2
Implement powerpc spin lock functions.
2000-07-06 03:52:25 +00:00
jhawk
c4f2dfb0b9
Enable "old partition ID" compatibility by default, just as in biosboot.
2000-07-06 03:39:53 +00:00
bouyer
4c19b21f72
3c503 works on alpha, add:
...
ec0 at isa? port 0x250 iomem 0xd8000 irq 9 # 3Com 3c503 Ethernet
2000-07-05 18:40:47 +00:00
minoura
417c4e6dc1
include GENERIC, instead of defining all the options and devices.
2000-07-05 16:19:48 +00:00
minoura
f67a6a75d2
More reduce size.
2000-07-05 16:18:02 +00:00
tsubai
73db3f2b79
First attempt to spin up the secondary processor on 180MP and 200MP.
...
XXX Need more work.
2000-07-05 16:02:38 +00:00
pk
f6d8b8e963
We want to index the PCI `interrupt clear' registers with the Interrupt
...
Number Offset. (this stuff needs a serious cleanup).
2000-07-05 12:11:59 +00:00
scottr
c019fa32ca
Revert a bit of the last change to make this compile again.
2000-07-05 07:33:52 +00:00
sommerfeld
bd29eb7984
regenerate
2000-07-05 04:10:15 +00:00
sommerfeld
502fc00210
Comment out EON ISO-over-ip tunneling pseudo-driver, and document as
...
broken/fragile. Unlikely to be of much use, and confuses new users
when their system crashes when they, or their dhclient stumble over
it. See kern/10500, kern/8994 for the gory details.
2000-07-05 04:07:22 +00:00
nisimura
7b6a572aae
zs_ioasic external declarations are stored in zs_ioasicvar.h.
2000-07-05 03:06:53 +00:00
nisimura
534c33a095
Use dev/tc/ directory for DEC3000 Z85C30s.
2000-07-05 02:50:39 +00:00
nisimura
728e424e54
Repopulate 4 files, zs_ioasic.c and zs_ioasicvar.h from arch/alpha/tc,
...
zskbd.c and zsms.c from dev/dec/, respectively. No functionality
change this time.
2000-07-05 02:48:50 +00:00
tsubai
b513be4daa
s/#include/include/
2000-07-04 22:25:06 +00:00
pk
0cc7c0e470
Report spurious VME interrupts only #ifdef DEBUG for now. The i82586
...
based `ie1' board seems to cause this for no apparent reason.
2000-07-04 22:22:56 +00:00
is
87803a8f14
amigappc: siop -> asiop
2000-07-04 14:18:06 +00:00
pk
3214045e75
GC dead code.
2000-07-04 14:05:34 +00:00
pk
3cffbb811c
Pass correct argument to the console channel close routine.
2000-07-04 13:57:40 +00:00
matthias
fe19ad9450
struct db_variable has changed. Change db_spec_regs prototype and make
...
this compile again.
2000-07-04 06:23:49 +00:00
wrstuden
168faa04b6
Oops.. Forgot to grow chrtoblktb[]. Pointed out by tsubai.
2000-07-04 05:48:36 +00:00
nisimura
4dcd114ad5
Unnecessary to include <dev/tc/tcreg.h>.
2000-07-04 02:37:51 +00:00
nisimura
1de4ec68b4
Repopulate TCDS dual channel SCSI adapter to MI dev/tc, squashing
...
internals for better layering between TCDS DMA ASIC and ASC SCSI
controller.
2000-07-04 02:22:08 +00:00
pk
93f987a210
The `si' driver has been transformed into an MI VME frontend.
2000-07-03 23:30:33 +00:00
matt
8fbc28d991
Revert WEAK_ALIAS back to ELF only.
...
Change ALTENTRY so there is no change of alignment or section
2000-07-03 23:05:32 +00:00
thorpej
7878bcc14c
Don't bother with minor printing, except on the LCA CPUs (because
...
that tells us if we have a 21066 or 21068).
2000-07-03 21:21:26 +00:00
pk
047b6f9582
* Remove MAX_DMA_LEN & si_minphys().
...
* Disable the DMA engine when setting up a DMA transfer, just in case
the 5380 driver didn't instruct us to do so already.
* More useful debug output when entering the "left-over bytes" case after
a DMA transfer finishes.
2000-07-03 20:55:12 +00:00
eeh
968524445a
Prevent interrupts from being posted if they are active and deprecate polled
...
interrupts. This seems to eliminate the spurious interrupts.
2000-07-03 17:56:06 +00:00
thorpej
10e6c623b3
Print the system serial number.
2000-07-03 17:52:33 +00:00
eeh
58c36586cd
Use the same IPLs as everyone else.
2000-07-03 17:42:37 +00:00
mrg
16fd30ec1d
- add a bus class check to the conversion of prom names to NetBSD driver
...
names, as we need to convert `pci' to both `psycho' and `simba'. add
a member to dev_compat_table[] for this, using BUSCLASS_NONE for when
we don't care (all other cases, currently). add `ide' -> `pciide' and
`disk' -> `wd' mappings here, also.
- "psycho" is a BUSCLASS_MAINBUS device; it has UPA attachment semantics.
this fixes bootpath detection for IDE disks.
2000-07-03 14:38:05 +00:00
soren
df788ce137
A few tweaks. Still not a real driver.
2000-07-03 12:50:09 +00:00
scottr
d08e3b12a4
Stabilize ADB support for some non-Apple ADB peripherals. This is the
...
second (and final) part of the fix for PR 10086. (There are no longer
any infinite-wait busy loops in the ADB driver!)
2000-07-03 08:59:26 +00:00
matt
4f1fa84a93
Rework ALTENTRY a bit.
2000-07-03 04:24:56 +00:00
matt
959b8d8a1e
Make cross-compile friendly
2000-07-03 04:24:12 +00:00
sommerfeld
88067a43e3
Build a boot_big.net (based at 700000) in addition to boot.net,
...
allowing you to netboot a kernel with a ramdisk inside on systems
where memory is laid out to allow this.
2000-07-03 02:04:02 +00:00
thorpej
01bd2a3496
The `rpb_phys_address_size' field is really 2 32-bit fields,
...
`rpb_phys_address_size' and `rpb_extended_va_size', per Brown Book.
2000-07-03 01:47:48 +00:00
augustss
01d5ad3ab6
White-space improvements.
2000-07-03 01:17:35 +00:00
pk
2310f6d755
Add `ahc' (Adaptec 2940, et.al. SCSI controller); it is known to work.
2000-07-02 21:11:26 +00:00
scottr
da62d2ef12
Avoid attaching on the Mac TV, as this system seems to not be
...
completely backward compatible to the II-series sound hardware.
2000-07-02 21:10:14 +00:00
sommerfeld
56cc62bbec
Return the full width of the counter here.
2000-07-02 21:05:14 +00:00
scottr
95497e28ce
Add video hardware info for the Performa 550 and Macintosh TV.
2000-07-02 20:59:58 +00:00
eeh
f504adf782
Clean up interrupt handling some more.
2000-07-02 16:13:21 +00:00
mrg
f3e6e48cb8
update to reality:
...
- TRAPWIN is defined in locore.s
- don't config netbsd_wd0
- enable MSDOSFS and FFS_IE
- enable INET6 & IPSEC*
- enable ipfilter
- comment sbus & zs at sbus
- enable scsi devices seeing we have scsi bus support
- hardwire the onboard hme as 'hme0'
- disable audiocs for now
- disable rnd for now
2000-07-02 15:02:29 +00:00
mrg
585f7645bf
iommu_dvmamap_load*(), pass an alignment constraint, as well as
...
EX_BOUNDZERO, to extent_alloc(). this fixes problems with it
(extent_alloc()) returning incorrect values, when the start of
the extent is not aligned as strongly as the requested area..
raw access to ide disks now works.
2000-07-02 14:00:38 +00:00
mrg
15c79c03c2
use bitmask_snprintf().
2000-07-02 13:35:35 +00:00
mrg
9ec4bcf95b
whoops; turn off trapdebug again.
2000-07-02 12:39:01 +00:00
takemura
45b6ec5476
Experimental APM compatible power management.
2000-07-02 10:01:30 +00:00
cgd
0b9c36b715
undef PS after inclusion of net/netisr.h to avoid conflict w/ machine/reg.h
2000-07-02 05:43:43 +00:00
cgd
a5c13f9ad4
Kwality control:
...
* put #includes of opt headers and headers to get protos used by
net/netisr_dispatch.h in net/netisr.h (if !defined(_LOCORE)) (rather than
in netisr_dispatch.h itself, and potentially nowhere, respectively).
* require netisr.h to be included before netisr_dispatch.h.
* minor additional cleanup of both netisr.h and netisr_dispatch.h.
* clean up uses to remove now-unnecessary header file inclusions, and
local prototypes of the fns.
* convert netisr dispatch implementations which didn't use
netisr_dispatch.h (pc532) to use it.
2000-07-02 04:40:33 +00:00
bjh21
87ca5edd6f
Include all the files necessary to prototype all the network soft interrupts.
2000-07-01 21:52:05 +00:00
wrstuden
cbb53d3ebd
Add audio, midi, and sequencer devices. Copied from ports alpha and i386.
...
Note: this does not mean internal audio's working. :-( It means I'm trying
to get my eap card to work.
2000-07-01 21:25:11 +00:00
bjh21
27eeb4183b
Uncomment lots of stuff. This _is_ a GENERIC kernel, after all.
2000-07-01 17:38:07 +00:00
bjh21
86e199a889
Actually check which netisrs are needed rather than running them all.
...
(oops)
2000-07-01 17:33:55 +00:00
matt
c9e87920af
GCC 2.96 wants the = constraint first. Older gcc(s) don't care.
2000-07-01 06:43:42 +00:00
matt
5ccb0f3e95
Add ELF support.
2000-07-01 06:42:54 +00:00
matt
c9e3b4a94f
a.out allow weak symbols too.
2000-07-01 06:42:06 +00:00