thorpej
1132348b98
Use aprint_normal() for cfprint routines.
2003-01-01 01:24:19 +00:00
thorpej
0ad39e91ea
Fix sysmon entry.
2002-12-31 22:43:38 +00:00
simonb
6a5e492b57
Remove the explicit `makeoptions MACHINE_ARCH="mipse{b,l}"' for kernel
...
builds and use the endianness of the toolchain being used to determine
the endianness of the kernel.
2002-12-09 22:54:09 +00:00
simonb
719522fdf3
Add "sqphy" for the PHYs on the PB1500.
...
Add a note that this kernel is for the PB1000 and PB1500 boards.
2002-12-09 06:54:25 +00:00
simonb
ae1eaadf08
Fix a typo in the PCI map array (no functionality changes in practice).
2002-12-06 05:46:47 +00:00
lukem
0635de35a3
Remove KDIR=, since SYS_INCLUDE=symlinks and KDIR are not supported any more.
2002-11-26 23:30:07 +00:00
scw
61724834f9
Fix a typo to make this compile with MEMSIZE is defined.
2002-11-25 11:26:22 +00:00
simonb
8ae9336efc
Keep the knowledge of the H/W interrupt 5 event counter local to
...
interrupt.c. This change also unmasked the fact that the Alchemy
boards did not initialise this counter.
2002-11-10 15:21:51 +00:00
jdolecek
5ab7d519a3
now that mem_no is emitted by config(8), there is no reason to keep
...
copy of more or less identical iskmemdev() for every arch; move the function
to spec_vnop.c, and g/c machine-dependant copies
2002-10-28 13:33:07 +00:00
elric
d19d268a95
assign majors for raw and cooked cgd's.
2002-10-04 18:28:24 +00:00
thorpej
0c1efadb23
Include <sys/param.h> so that we get the defn of NULL.
2002-10-03 01:57:24 +00:00
thorpej
bd5bb4652b
Add trailing ; to CFATTACH_DECL
2002-10-02 15:45:10 +00:00
thorpej
c5e91d447d
Use CFATTACH_DECL().
2002-10-02 04:55:47 +00:00
thorpej
f59e5352f2
Use CFATTACH_DECL().
2002-10-01 04:21:32 +00:00
thorpej
c4cbfcf060
Use CFATTACH_DECL().
2002-10-01 02:54:11 +00:00
thorpej
9a711d6985
Declare all cfattach structures const.
2002-09-27 20:29:02 +00:00
provos
0f09ed48a5
remove trailing \n in panic(). approved perry.
2002-09-27 15:35:29 +00:00
thorpej
6c88de3b53
Introduce a new routine, config_match(), which invokes the
...
cfattach->ca_match function in behalf of the caller. Use it
rather than invoking cfattach->ca_match directly.
2002-09-27 03:17:40 +00:00
thorpej
d1ad2ac4f2
Rather than referencing the cfdriver directly in the cfdata entries,
...
instead use a string naming the driver. The cfdriver is then looked
up in a list which is built at run-time.
2002-09-27 02:24:06 +00:00
thorpej
3280b330bb
Get the pointer to the driver name early, rather than constantly
...
deferencing the cfdriver pointer.
2002-09-26 20:18:24 +00:00
simonb
63096043b3
Use "#define\t" instead of "#define ".
2002-09-22 08:30:56 +00:00
lukem
3ea2e21f82
enable USERCONF by default; it's small and extremely useful to have available.
2002-09-18 02:43:53 +00:00
simonb
6ebf56cc52
Use AU1500_MAC0_BASE as well as a test for setting the MAC addresses
...
of the on-chip interfaces.
2002-09-11 08:30:48 +00:00
simonb
e2125ae174
Share disksubr.c across all evbmips "ports" (it was identical).
2002-09-09 06:40:40 +00:00
simonb
221f834ea3
Remove some unused code.
2002-09-09 06:36:39 +00:00
simonb
0f1300fa95
Remove commented-out NFS_BOOT_RWSIZE option.
2002-09-09 02:36:11 +00:00
gehenna
77a6b82b27
Merge the gehenna-devsw branch into the trunk.
...
This merge changes the device switch tables from static array to
dynamically generated by config(8).
- All device switches is defined as a constant structure in device drivers.
- The new grammer ``device-major'' is introduced to ``files''.
device-major <prefix> char <num> [block <num>] [<rules>]
- All device major numbers must be listed up in port dependent majors.<arch>
by using this grammer.
- Added the new naming convention.
The name of the device switch must be <prefix>_[bc]devsw for auto-generation
of device switch tables.
- The backward compatibility of loading block/character device
switch by LKM framework is broken. This is necessary to convert
from block/character device major to device name in runtime and vice versa.
- The restriction to assign device major by LKM is completely removed.
We don't need to reserve LKM entries for dynamic loading of device switch.
- In compile time, device major numbers list is packed into the kernel and
the LKM framework will refer it to assign device major number dynamically.
2002-09-06 13:18:43 +00:00
simonb
284c3f4875
It's the gt64120, not the gt62140.
2002-08-29 08:02:35 +00:00
simonb
b888bfcc0e
Remove some commented-out include files.
2002-08-28 02:27:11 +00:00
thorpej
139cdc3125
Make nbuf, nswbuf, and bufpages unsigned. Make all operations on these
...
variables unsigned, and update places where their values are printed.
2002-08-25 20:21:33 +00:00
briggs
0b956d0b8b
Implement pmc(9) -- An interface to hardware performance monitoring
...
counters. These counters do not exist on all CPUs, but where they
do exist, can be used for counting events such as dcache misses that
would otherwise be difficult or impossible to instrument by code
inspection or hardware simulation.
pmc(9) is meant to be a general interface. Initially, the Intel XScale
counters are the only ones supported.
2002-08-07 05:14:47 +00:00
simonb
bf71dff7b9
Convert to use merged mips cpu_sysctl().
2002-08-05 01:33:36 +00:00
simonb
d67404d97e
Fix tyop.
2002-08-05 01:15:22 +00:00
simonb
6fbeccd902
Make this compile for the non-sbmips case.
2002-08-04 14:42:56 +00:00
gmcgarry
3647e0d293
Merge cpu_sysctl() for all mips ports, based on powerpc and m68k precedent.
...
For now, only pmax implements CPU_BOOTED_KERNEL. Need to revisit.
2002-08-04 01:41:23 +00:00
simonb
34b375c0dd
Add kttcp, sysmon and broadcom/sibyte devices.
2002-07-31 03:42:54 +00:00
simonb
10a72d78d1
Add support for the Alchemy Semiconductor Pb1000 evaluation board for
...
their Au1000 CPU. Should also work with little or no tweaking for the
Pb1500 board for the Au1500 CPU as well.
2002-07-29 16:22:55 +00:00
simonb
3f8c0bc7c5
Move the soft interrupts IPL masks from port-specific code to
...
board-specific code.
Change a u_long to a uint32_t in the timer calibration routines.
2002-07-29 16:21:03 +00:00
simonb
c61cf25192
Remove prototype for non-existant softintr_dispatch().
...
Add/modify a few comments.
2002-07-29 16:14:05 +00:00
simonb
99eb5608ad
Don't install intr.h isa_machdep.h pci_machdep.h rnd.h for userland.
2002-07-29 15:52:46 +00:00
simonb
13c96f8103
Split out the {b,c}dev to a separate file, which many devices declared
...
conditionally so that other eval boards (say without PCI support) can
share the basic "conf.c".
2002-07-26 03:23:04 +00:00
thorpej
3912e469dd
Rename cdev_systrace_init() to cdev_clonemisc_init(), so it can
...
be properly used by any misc. cloning device. While here, correct
a comment to indicate that "open" is the only entry point and that
everything else is handled with fileops.
2002-07-19 16:38:14 +00:00
simonb
0e084cea1c
Add a comment; fix white-space niggle.
2002-07-12 00:40:00 +00:00
simonb
bb0c5d7d98
Don't need to include <sys/malloc.h>, <machine/locore.h> or
...
<uvm/uvm_extern.h> here.
2002-07-12 00:27:18 +00:00
simonb
85c8470e73
Fix a typo in a comment.
2002-07-12 00:23:04 +00:00
simonb
00f3022be0
Remove unused MCLOFSET define.
2002-07-11 13:36:45 +00:00
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