Commit Graph

51789 Commits

Author SHA1 Message Date
uwe
e51c17a95f enable pci bus device. (hi matt!)
fix a whitespace nit while I'm here.
2001-12-11 04:29:26 +00:00
uwe
a2b05223ee Add microSPARC-IIep support. 2001-12-11 04:25:58 +00:00
uwe
6767457cab Add microSPARC-IIep support. Move sun4m bootstrap into separate
functions (for normal 4m and for IIep).
2001-12-11 04:21:39 +00:00
uwe
0a2b7fe7d7 Add microSPARC-IIep support. Protect mostek clock code with NMK48TXX
so that this file doesn't require obio, iommu and sbus to link the kernel.
Make todr_handle and establish_hostid() non-static.
2001-12-11 04:17:48 +00:00
uwe
d5a5296209 Implement microSPARC-IIep versions of sparc_interrupt4m, raise and microtime. 2001-12-11 03:46:59 +00:00
uwe
2d4ea9ba63 Add constants for microSPARC-IIep registers. 2001-12-11 03:43:22 +00:00
uwe
4924c0ae30 On ms-IIep kernel runs with PCI endian swapping turned on but we need
to turn it off before we pass control to PROM's repl as it expects
PCIC to be in little endian mode and would hang otherwise.
2001-12-11 03:35:02 +00:00
uwe
ee71ea68bc microSPARC-IIep is a sun4m but with an integrated PCI controller.
In a lot of places (like pmap &c) we want it to be treated as SUN4M.
But since various low-level things are done very differently from
normal sparcs (and since for now it requires a relocated kernel
anyway), the MSIIEP kernels are not supposed to support any other
system.  So when MSIIEP is defined - insist on SUN4M defined and SUN4
and SUN4C not defined.
2001-12-11 03:28:38 +00:00
uwe
814a815542 Export msiiep_swap_endian(onoff) from msiiep.c to turn on/off
automagic endian swapping performed by PCI controller.  Need it in
several places where we want to enter PROM repl.
2001-12-11 03:24:46 +00:00
chris
80e667c6ab Add clockctl device.
Note that someone needs to tidy this up, we've got 92 block devices, which just ain't true.  Also appears we're actually missing some, eg the ld block device.
2001-12-11 00:34:50 +00:00
uwe
78eadd17b7 Attachment for MI com(4) driver at ebus. 2001-12-11 00:31:08 +00:00
uwe
81f0e10ca5 rtc (ds1287a) time of day clock at ebus. 2001-12-11 00:29:21 +00:00
uwe
255d046f95 EBus support for ms-IIep. 2001-12-11 00:25:31 +00:00
uwe
e0046f836b EBus support for ms-IIep. This file should eventually be merged into
sys/dev/ebus/ebusreg.h and shared with sparc64 port.
2001-12-11 00:24:03 +00:00
uwe
de47c08727 microSPARC-IIep support. 2001-12-11 00:18:22 +00:00
martin
8b3d9b9497 Enable active LCP keepalive handling in the PPP layer, the PPPoE layer
itself has no means to detect broken connections.
2001-12-10 23:23:24 +00:00
uwe
02529ca11e Fixed VA for microSPARC-IIep PCI controller. 2001-12-10 23:10:34 +00:00
briggs
eca843c395 define __HAVE_NWSCONS for pckbc. 2001-12-10 22:42:54 +00:00
uwe
75b646134f mk48txx needs-flag to allow sparc's clock.c to be compiled without
mostek support that pulls in a lot of other stuff too.
2001-12-10 22:36:21 +00:00
briggs
25e9f1f519 Provide basic bus_space_mmap(). Noted by self and in PR port-powerpc/14873.
This at least allows the compile to complete.  There are still Issues with
vga_pci.c's assumptions about a PC-ish environment.
2001-12-10 20:30:21 +00:00
thorpej
b5ea4050f9 Update for core dump changes. 2001-12-10 19:18:49 +00:00
kleink
0fc3ae7e76 Add (some) register definitions for the Motorola MPC105 PCI Bridge/Memory
Controller (PCIB/MC).
2001-12-10 12:09:33 +00:00
gmcgarry
6f71c27e26 MACHINE_ARCH -> MACHINE_CPU 2001-12-10 07:27:52 +00:00
gmcgarry
47e4542449 Pull in <bsd.own.mk> early so we can use MACHINE_CPU. Use
MACHINE_CPU instead of MACHINE_ARCH.
2001-12-10 07:26:47 +00:00
mhitch
4c3d013b14 Add a left shift routine needed by changes in lib/libsa/ufs.c. 2001-12-10 05:31:39 +00:00
chs
8eafa995c7 don't strip any symbols from profiling kernels,
that makes it harder to figure out what's going on.
2001-12-10 05:24:17 +00:00
thorpej
7767121514 I can't win today -- make this link. 2001-12-10 04:05:23 +00:00
augustss
aa816a6d89 Regen. 2001-12-10 03:36:54 +00:00
augustss
9cfe511c73 Add some devices. 2001-12-10 03:36:12 +00:00
augustss
01b4e2c572 When looking for a console keyboard if usb-kbd-ihandles can't be found
then try the old name usb-kbd-ihandle.  This way my old iMac gets the
USB keyboard as console instead on the (non-existent) ADB keyboard.
Suggested by Gabriel Rosenkoetter.
2001-12-10 02:46:05 +00:00
thorpej
0b63bf16b8 Cast off_t to (long long) for printing. 2001-12-10 02:07:37 +00:00
thorpej
06920aef28 Move the code that walks the process's VM map during a coredump
into uvm_coredump_walkmap(), and use callbacks into the coredump
routine to do something with each section.
2001-12-10 01:52:26 +00:00
enami
8d6b971560 KNF. 2001-12-10 01:49:26 +00:00
chs
62c2e756ed update vnode flags in ddb vnode-printing function. 2001-12-10 01:38:48 +00:00
thorpej
f884f172e3 Don't compare an int against NULL. 2001-12-10 00:33:04 +00:00
martin
0099682916 Now that everything works without LINK1 set, do not set it by default.
While here, remove an unnecessary splnet()/splx() pair.
2001-12-10 00:24:12 +00:00
martin
d585188042 We explicitly close LCP when going to state CLOSED, so we better open
it again when going from INITIAL to STARTING. This has been done for
passive or auto-conecting interfaces always, but not for permanent
ones.

This fixes session reestablishement for PPPoE interfaces without LINK1 set,
and probably also closes PR kern/11161.

Thanks to Jared D. McNeill and Ross Harvey for sugesting debug methology.
2001-12-10 00:22:21 +00:00
thorpej
91c4b48914 Build core_elf32.c if EXEC_ELF32. Build core_elf64.c if EXEC_ELF64. 2001-12-09 23:18:09 +00:00
thorpej
d0e51ba7da Fix compilation problems. 2001-12-09 23:08:34 +00:00
thorpej
51535d4bf5 Add support for dumping ELF-cormat core files. 2001-12-09 23:05:56 +00:00
veego
9d39bbf3a8 Support for dvd region code (RPC). 2001-12-09 22:56:10 +00:00
veego
f36a75214e Add some headers for region code support (RPC), which will be added in the
next commit of sys/dev/scsipi/cd.c.
2001-12-09 22:54:51 +00:00
briggs
05b3906727 Register prefixes for tron()/troff() macros. 2001-12-09 19:07:01 +00:00
manu
3cdc6f6197 Changed clocktl interface to use syscallargs structures 2001-12-09 16:10:43 +00:00
atatat
6dce2e2bec Make the kernel depend on vers.o' instead of newvers'. This
eliminates the need to unconditionally rebuild vers.o and subsequently
to relink the kernel every time you type make, even if you just
finished one.
2001-12-09 16:04:03 +00:00
fvdl
14deefd5b1 pckbd_enable is called during autoconfig. Using pckbc_enqueue_cmd at
that time will have bad results, such as queue corruption because
of multiple TAILQ_INSERTs, etc, because it's not designed to work
in an interrupt/context-free environment. Use pckbc_poll_cmd instead.
2001-12-09 13:42:01 +00:00
pk
80c46be6c1 KBD_BPS => KBD_DEFAULT_BPS (sync with ms driver nomenclature). 2001-12-09 12:03:32 +00:00
pk
5962ca0a49 Allow SUN_MS_BPS to override the mouse baud rate at all times. (see PR14774). 2001-12-09 12:02:06 +00:00
atatat
f30d600bed Fix a couple of rcsids. 2001-12-09 05:02:21 +00:00
atatat
b45c51b1fc Roll the rest of the ports over to the new MI kernel build machinery.
Any problems reported by testers have been fixed, and massive
cross-compiling of kernels has shown that any problems that remain
with actually building kernels are not related to this.
2001-12-09 05:00:40 +00:00