Commit Graph

30 Commits

Author SHA1 Message Date
christos 3b50728cf4 MD systrace gluons. 2002-06-17 16:32:57 +00:00
lukem fde6ae6f04 Enable "pseudo-device clockctl" in all kernels, except
installation related kernels (INSTALL* and RAMDISK*).
This enables rc.conf(5) $ntpd_chroot to be used "out of the box"
2002-06-17 05:14:02 +00:00
simonb 97f56c7642 Don't install <machine/rnd.h>. 2002-06-06 03:30:56 +00:00
simonb 6b6e4f4f60 Simplify include files that just include <mips/locore.h>. 2002-06-05 06:18:34 +00:00
simonb 9cc65a96d0 3 ports are now using the reciprocal count divisor code now, move it
to <mips/cpu.h>, and add MIPS_SET_CI_RECIPRICAL and MIPS_COUNT_TO_MHZ
macros to use it.
2002-06-04 05:42:41 +00:00
thorpej 204183c0fa * Add "pcitag_t *pba_bridgetag" to pci_attach_args. This is set to
NULL for root PCI busses.  For busses behind a bridge, it points to
  a persistent copy of the bridge's pcitag_t.  This can be very useful
  for machine-dependent PCI bus enumeration code.
* Implement a machine-dependent pci_enumerate_bus() for sparc64 which
  uses OFW device nodes to enumerate the bus.  When a PCI bus that is
  behind a bridge is attached, pci_attach_hook() allocates a new PCI
  chipset tag for the new bus and sets it's "curnode" to the OFW node
  of the bridge.  This is used as a starting point when enumerating
  that bus.  Root busses get the OFW node of the host bridge (psycho).
* Garbage-collect "ofpci" and "ofppb" from the sparc64 port.
2002-05-16 01:01:28 +00:00
atatat d1b3852365 Add the INCLUDE_CONFIG_FILE option to all config files. In config
files that are generic (ie, GENERIC, GENERICSBC, GENERIC32, ALL, or
ALPHA), it is uncommented.
2002-04-25 15:06:20 +00:00
simonb f09098b78b Add a newline to a debug printf. 2002-04-19 01:14:17 +00:00
mycroft 558b4fb278 Switch from de to tlp by default. 2002-04-17 02:22:41 +00:00
thorpej eedd94475c * Move the mii_bitbang attribute into dev/mii/files.mii
* Pull in dev/mii/files.mii from conf/files, rather than playing
  the magic "files include order" dance in N machine-dependent
  configuration definitions.
2002-04-16 20:50:16 +00:00
wiz 5040dc6d7d Remove last(?) traces of pmsi. 2002-04-16 11:49:54 +00:00
gmcgarry 6e066ba77a Add commented-out USERCONF option. Mainly useful for install media
and can be optionally enabled based on miniroot and ramdisk size
requirements.
2002-04-12 08:10:45 +00:00
simonb c833e8820c Remove a few more magic numbers. 2002-04-09 03:40:16 +00:00
simonb 73aae80caf - Calibrate the timer before the first call to delay.
- Don't use a magic number for the com port address.
2002-04-09 03:38:28 +00:00
simonb 06959c9cc1 Add "options MIPS64". Evbmips/malta now works on 5Kc MIPS64 malta's. 2002-04-08 14:13:14 +00:00
simonb 40edbdfb37 - Call mips_vector_init() before setting up the serial console, but
after setting up the prom-based console.  If more than one cpu class
  is enabled, the wbflush() handler (needed indirectly by com.c) won't
  be set up.
- Purge some old pmax mcclock-based code.
- Remove a '#if 1/#endif' pair.
2002-04-08 14:11:32 +00:00
simonb 769775ceb4 Make clock/time handling more accurate:
- Use the CPU count register for more accurate microtime (from
   sbmips) and delay (based on an evbmips delay function) functions.
 - Schedule the next hardclock interrupt more accurately (from
   an sgimips patch by Rafal Boni).  Clock drift on one board is
   now ~7ppm instead of ~330ppm.
 - Purge old pmax-based mcclock code.
 - Correctly round off some clock-derived variable calculations.
XXX: Some of this code should be migrated to sys/arch/mips.
2002-04-08 14:08:25 +00:00
lukem d213d804f7 Rename MEMORY_DISK_SIZE (formerly MINIROOTSIZE) to MEMORY_DISK_ROOT_SIZE,
which was suggested by Izumi Tsutsui <tsutsui@ceres.dti.ne.jp> as
being more consistent with what it's controlling...
2002-04-02 05:30:34 +00:00
simonb adc0cdfea7 Allow selection of a big- or little-endian kernel by uncommenting the
std.malta.eb or std.malta.el config include file in the kernel config
file.  From the sbmips and evbsh3 ports.
2002-03-23 14:51:28 +00:00
simonb 2184ed8531 Convert evbmips to use mips/mips/bus_space_alignstride_chipdep.c. 2002-03-23 14:33:35 +00:00
simonb 00e905ce64 Use <mips/isa_machdep.h> and <mips/pci_machdep.h>. 2002-03-18 10:10:14 +00:00
simonb 99f891c74d Use mips/mips/bus_dma.c. 2002-03-18 02:33:19 +00:00
simonb 9690c2293e Convert to use <mips/bus_*.h>. 2002-03-18 01:21:11 +00:00
simonb a85e214bda Make sure that private DMA flags don't overlap with standard DMA flags;
start these at 0x10000 to leave room for an increase in the latter.
2002-03-17 21:45:06 +00:00
martin 94881fb123 Rename ISDN devices, per discussion on tech-kern. The network devices
become ippp (ISDN ppp) and irip (ISDN raw IP). The character device now
are called: /dev/isdn (isdnd <-> kernel communication), /dev/isdnctl (dialing
and other control), /dev/isdntrc* (tracing), /dev/isdnbchan* (raw B channel
access, i.e. for user land PPP) and /dev/isdntel* (telephone devices, i.e.
for answering machines).
2002-03-16 16:55:51 +00:00
simonb 189fba2bc0 Add ecoff_machdep.h for userland usage. 2002-03-13 05:03:18 +00:00
simonb 79192aecc3 Remove bogus file that shouldn't have been added in the first place. 2002-03-13 02:58:52 +00:00
simonb 22db14d9e1 All the mips ports had an identical procfs_machdep.c, so use a common
file under arch/mips/mips.
2002-03-13 02:55:10 +00:00
lukem cd19d52695 * rename MINIROOTSIZE to MEMORY_DISK_SIZE, so that all md(4) options
are now consistently named
* fold opt_mdsize.h into opt_md.h
2002-03-10 19:56:37 +00:00
simonb 31e40c8ce1 A port to the MIPS Malta evaluation board. Currently supports the
MIPS32 4Kc CPU board, with support for the MIPS64 5Kc and the QED RM5261
CPU boards to follow.

The cs4281 audio hasn't been tested, there are some interrupt problems
with onboard the pciide, but all other on-board peripherals work.

The evbmips port will support more MIPS evaluation boards in the future.
2002-03-07 14:43:56 +00:00