Commit Graph

1136 Commits

Author SHA1 Message Date
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
shin
b46ba8b021 don't include same file twice. 2002-08-20 04:22:03 +00:00
shin
f14283b93c .cvsignore should not be used. 2002-08-14 12:44:33 +00:00
gmcgarry
21c1adacf3 Make file compile:
- garbage collect cpu_sysctl()
- fix pasto
- include uvm/uvm_extern.h
From FUKAUMI Naoki in PR 17850.
2002-08-07 07:21:08 +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
itojun
8e7a88a3ff integer overflow. from silvio@qualys.com 2002-08-06 22:51:45 +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
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
mycroft
79d0ee0424 Remove VNODE_OP_NOINLINE, which is already in TX3912. 2002-07-09 14:54:39 +00:00
abs
eb73becae2 Ensure all INSTALL config files consistantly include PIPE_SOCKETPAIR,
MALLOC_NOINLINE, and VNODE_OP_NOINLINE. The exceptions are when they
include another config files that already defines the options, or if
they are for an embedded board, just define a few extra options, and
do not already define PIPE_SOCKETPAIR.
2002-07-05 13:40:10 +00:00
ross
789df24a75 a "no" token was added recently, so we must now quote any "no" symbols
no => "no"
2002-06-22 00:01:10 +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
yamt
a3da5d94f3 constify. 2002-06-08 16:34:06 +00:00
yamt
560a78f6da constify. 2002-06-08 16:20:24 +00:00
yamt
737ffe3619 make auto const variables static. 2002-06-08 16:03:55 +00:00
yamt
fed3639fa8 make auto const variables static.
(and space->tab)
2002-06-08 16:02:02 +00:00
simonb
6b6e4f4f60 Simplify include files that just include <mips/locore.h>. 2002-06-05 06:18:34 +00:00
drochner
d2b9876081 move initialization of the "struct pglist" returned by uvm_pglistalloc()
from the calling code into uvm_pglistalloc() itself for consistency
and easier error handling
2002-06-02 14:44:35 +00:00
lukem
06de426449 SIMPLEQ rototill:
- implement SIMPLEQ_REMOVE(head, elm, type, field).  whilst it's O(n),
  this mirrors the functionality of SLIST_REMOVE() (the other
  singly-linked list type) and FreeBSD's STAILQ_REMOVE()
- remove the unnecessary elm arg from SIMPLEQ_REMOVE_HEAD().
  this mirrors the functionality of SLIST_REMOVE_HEAD() (the other
  singly-linked list type) and FreeBSD's STAILQ_REMOVE_HEAD()
- remove notes about SIMPLEQ not supporting arbitrary element removal
- use SIMPLEQ_FOREACH() instead of home-grown for loops
- use SIMPLEQ_EMPTY() appropriately
- use SIMPLEQ_*() instead of accessing sqh_first,sqh_last,sqe_next directly
- reorder manual page; be consistent about how the types are listed
- other minor cleanups
2002-06-01 23:50:52 +00:00
greg
5004b7788d Initial addition of TrackPoint support on the IBM WorkPad z50's DSIU port. 2002-05-30 01:44:59 +00:00
wiz
79deb5d12d Comment out token after #endif. 2002-05-16 19:40:53 +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
thorpej
dada8613e1 Let machine-dependent code specify how to enumerate the bus.
Currently, everyone uses pci_enumerate_bus_generic().
2002-05-15 19:23:51 +00:00
uch
ba21cf86c0 obsolete intrcnt[]. 2002-05-15 15:19:54 +00:00
takemura
9373835df6 BUGFIX: SigmarionII can't resume.
Added config_hook_call_reverse() to call the hardpower hook of CMU
(Vr clock mask unit) before the hardpower hook of MQ200 video controller.
2002-05-12 07:41:22 +00:00
takemura
0428a3de8e Just deleted junk lines. 2002-05-11 14:23:51 +00:00
takemura
108ae8567c BUGFIX: Xhpc dumps core on SigmarionII.
Attached MQ200 video controller at PCI bus.
2002-05-11 14:10:04 +00:00
takemura
fda2f03cb3 Enabeled OHCI USB controller on MobilePro 800. 2002-05-11 08:56:39 +00:00
takemura
8178b68188 Added ukphy to use USB ethernet adopters. 2002-05-06 13:42:29 +00:00
takemura
7cd3e3bad5 Fixed line order. It was strange. 2002-05-04 09:37:24 +00:00
takemura
519f3fbad5 Fixed PC Card slot support. 2002-05-04 08:12:18 +00:00
takemura
a9e34d1ccf Added lib/libsa/files.c to avoid link error. 2002-05-04 07:40:59 +00:00
takemura
28389b6cb5 Fixed debug messages. 2002-05-04 05:13:28 +00:00
takemura
0d9fe6e48c Enabled USB support for MC-R700. 2002-05-03 11:45:04 +00:00
takemura
9582b7c775 Enable USB support for MC-R700. 2002-05-03 11:37:48 +00:00
takemura
f8cb4c37a0 Fixed debug print. 2002-05-03 07:31:23 +00:00
shin
37b76b7ea4 (forgot to commit this file...)
* make kloader optional.
* default value of kernel path is KLOADER_KERNEL_PATH.
* options KLOADER_KERNEL_PATH can override kernel path.
* when bootstr is passed (RB_STRING), use it as kernel path.
2002-04-27 23:24:55 +00:00
shin
0201440bd2 * make kloader optional.
* default value of kernel path is KLOADER_KERNEL_PATH.
* options KLOADER_KERNEL_PATH can override kernel path.
* when bootstr is passed (RB_STRING), use it as kernel path.
2002-04-27 12:36:47 +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
augustss
7f7ab48604 Rename the audio "bus" attribute audiobus to avoid confusion with audio
device.
2002-04-22 09:41:19 +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
takemura
e63e3c0ed4 Added bus probing to avoid bus error. 2002-04-14 07:59:56 +00:00
takemura
c9cb463127 Print bad address in interrupt handler. 2002-04-14 07:34:20 +00:00
takemura
ab452aef6c Fixed 8bpp problem of mq200. 2002-04-14 06:07:40 +00:00
takemura
090be59325 Fixed dev/hpc/hpcfb.c to set RI_BSWAP flag in 8bpp for rasops8.c
and backout changes 'fix LCD byte-order setting':
        arch/hpcsh/dev/hd64461/hd64461video.c   Rev. 1.7 to 1.8
        arch/hpcmips/dev/plumvideo.c            Rev. 1.23 to 1.24
        arch/hpcmips/tx/tx3912video.c           Rev. 1.24 to 1.25
2002-04-13 09:29:53 +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
shin
dee24b4393 renumber IT310 staff. 2002-04-09 13:20:30 +00:00
shin
c368b8692b add Fujitsu INTERTOP CX310 support. 2002-04-07 04:34:33 +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
shin
ae418cfcb0 enable NFSSERVER. 2002-03-26 05:26:37 +00:00
shin
a257a8dad5 if root device is md, change KLOADER_KERNEL_PATH to "/mnt/netbsd". 2002-03-25 13:47:26 +00:00
shin
142e7ef1a1 vrpiu needs wsmouse. 2002-03-25 13:24:18 +00:00
shin
a1f41292a6 reduce GP size. 2002-03-25 10:02:50 +00:00
shin
b7ac9aaff3 TX3922 is supported by GENERIC. 2002-03-25 09:42:30 +00:00
shin
a49599223d this document is obsoleted. 2002-03-25 09:40:58 +00:00
shin
d2df7381ed enable kloader. 2002-03-25 08:42:35 +00:00
hamajima
fddeb95f9f add VR4121 Audio Interface Unit 2002-03-23 09:02:01 +00:00
shin
3389664fee add MIPS3_NO_PV_UNCACHED. 2002-03-23 05:16:33 +00:00
shin
b7cd4d56ee add LKM. 2002-03-23 03:17:57 +00:00
shin
f8fe1d3f46 change MAXPARTITIONS to 16. 2002-03-23 03:14:54 +00:00
takemura
db078facf1 Added Vrc4172 USB OHCI for Pencentra 130. 2002-03-22 09:18:07 +00:00
atatat
31144d9976 Convert ioctl code to use EPASSTHROUGH instead of -1 or ENOTTY for
indicating an unhandled "command".  ERESTART is -1, which can lead to
confusion.  ERESTART has been moved to -3 and EPASSTHROUGH has been
placed at -4.  No ioctl code should now return -1 anywhere.  The
ioctl() system call is now properly restartable.
2002-03-17 19:40:26 +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
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
takemura
41e10f2ddf Attached vrpiu at vrc4173bcu. 2002-03-10 10:13:31 +00:00
takemura
794600ce92 Attached vrkiu at vrc4173bcu. 2002-03-10 07:24:52 +00:00
uch
a752b69bfa make this compile with DIAGNOSTIC 2002-03-06 15:02:04 +00:00
uch
f35aa9c904 don't attach bivideo. 2002-03-06 15:01:05 +00:00
uch
3d0f70f7fc remove ite8181video's bivideo dependency. 2002-03-06 15:00:04 +00:00
simonb
8b5599e7ce Remove HPCMIPS_FLUSHCACHE_XXX debug code. 2002-03-05 16:16:45 +00:00
simonb
0d0a449d80 mips/mips/fp.S is in mips/conf/files.mips now. 2002-03-05 16:16:03 +00:00
simonb
9a942a34e0 Don't use local extern declarations for the mountroot variable or
declare local prototypes for nfs_mountroot() or md_root_setconf().
2002-03-04 02:25:21 +00:00
simonb
64c7743a05 Don't "extern int cold;" - this is in <sys/kernel.h>. 2002-03-04 02:19:07 +00:00
uch
f21c737967 Catch up with the latest vrip changes. 2002-02-28 18:26:05 +00:00
simonb
d9ab16ba2f Purge CLSIZE, CLSIZELOG2 and MCLOFSET.
Be consistant in the way that MSIZE, MCLSHIFT, MCLBYTES and NMBCLUSTERS
  are defined.
Remove old VM constants from cesfic port.
Bump MSIZE to 256 on mipsco (the only one that wasn't already 256).
2002-02-26 15:13:19 +00:00
takemura
6df64c4e5e Make it compilable even if PCI wasn't configured. 2002-02-24 09:16:07 +00:00
enami
60dccae121 Add RCS Id. 2002-02-21 08:23:31 +00:00
uch
a3757d3ba3 fix LCD byte-order setting. 2002-02-19 14:21:47 +00:00
shin
febef53a9c run cached and move fast.
before	5 seconds
	after	sub second
2002-02-16 05:26:02 +00:00
uch
c0a13ed2e4 add LCD debug routines. 2002-02-13 16:25:32 +00:00
shin
3b759dd825 initialize stack pointer. 2002-02-13 12:02:49 +00:00
uch
06d80c8f0f change kernel start address 0x80030000 to 0x80001000 2002-02-11 19:10:29 +00:00
uch
3cde195353 add reset method. 2002-02-11 17:13:28 +00:00
takemura
47c249a13d Added Vr4122 and Vr4131 support to GENERIC configuration. 2002-02-11 11:44:36 +00:00
takemura
38e509404e Added vr4122ip. 2002-02-11 09:21:46 +00:00
takemura
c9d2bee505 Removed vr4102ip_probe to reduce kernel size. 2002-02-11 08:15:41 +00:00
takemura
9f66659cfb Added vr4102ip. 2002-02-11 07:55:49 +00:00
takemura
9396668add Tweaked register access without register offset macro. 2002-02-11 04:56:27 +00:00
takemura
3ef102554d Fixed dma register sizes. 2002-02-11 04:35:54 +00:00
takemura
9f2314954a Added DMA Address unit and DMA Control unit. (not tested) 2002-02-11 04:33:22 +00:00
wiz
3cc2ef9997 Update description for icsphy. 2002-02-10 17:36:52 +00:00
takemura
836a4742ac Fixed locater id -> platform. 2002-02-10 15:17:24 +00:00
takemura
3b60ef2391 Fixed locater id -> platform. 2002-02-10 15:17:20 +00:00
sato
88b86c9804 fix ONLY_4122_4131 2002-02-10 15:09:32 +00:00
takemura
b38c963272 Made vr.c compilable without SINGLE_VRIP_BASE macro. 2002-02-10 14:38:57 +00:00
sato
24db74be12 fix miss changing. 2002-02-10 14:36:52 +00:00
takemura
90888496a2 Made rtc.c compilable without SINGLE_VRIP_BASE macro. 2002-02-10 14:15:32 +00:00
takemura
d5cf5c95e8 Made vrgiu.c combilable without SINGLE_VRIP_BASE macro. 2002-02-10 13:47:06 +00:00
takemura
85e0e861bf Added base address table to compile without SINGLE_VRIP_BASE macro. 2002-02-10 13:23:55 +00:00
sato
fad7e32235 add vr4181 giu unit register definitions. 2002-02-09 18:08:44 +00:00
sato
86f2021f79 access GIUIOSEL_REG and GIUINTEN_REG
only if these registers are not GIU_NO_REG_W.
2002-02-09 15:00:40 +00:00
sato
a96c83ebbb change NO_REG_W to ICU_NO_REG_W. 2002-02-09 14:54:05 +00:00
sato
f13492fb26 RTC_NO_REG_W unsigned 2002-02-09 14:47:57 +00:00
takemura
6929f9f471 Removed __vrcmu_supply() and __vrgiu_out(), which are need to enable serial
port before auto configuration.

Boot loaders (pbsdboot and hpcboot) are responsible to enable the port because
the kernel can't enable serial port for console any more.
2002-02-02 10:50:08 +00:00
uch
6edf1a4018 bootinfo.h, config_hook.h, platid.h are moved to hpc/include 2002-02-01 18:16:03 +00:00
tv
805ab35e68 Make it possible for uudecode to be a host tool. 2002-01-31 19:15:23 +00:00
uch
9455834f75 update MINYEAR 2002-01-31 17:57:43 +00:00
uch
ace35e63ce clean up header file. 2002-01-31 17:56:33 +00:00
uch
280ef43573 remove unneeded code and data. 2002-01-31 16:27:35 +00:00
uch
ff91f975fc if RB_HALT is setted, don't load kernel. 2002-01-31 16:25:54 +00:00
uch
340c3f66fe call intr_init() after mips_vector_init(). intr_init use CPUISMIPS3 macro. 2002-01-31 05:11:16 +00:00
uch
6f463cfc19 remove obsolete file 2002-01-29 19:04:59 +00:00
uch
7d17099353 clean up debug print and configuration. 2002-01-29 18:53:01 +00:00
uch
f39553cc10 hpcmips support of kloader. 2002-01-29 18:47:25 +00:00
uch
1523771250 simpify. 2002-01-29 18:38:32 +00:00
uch
0cc2d5d9dd make this compile without DIAGNOSTIC. 2002-01-28 05:40:58 +00:00
uch
1391d49aaa decrease sbss,sdata section size. 2002-01-28 05:40:30 +00:00
takemura
a0584b29ab Added vripif. 2002-01-27 14:18:11 +00:00
jdolecek
6d265bd894 add options PIPE_SOCKETPAIR to individual kernel configs
the option is commented out on everything but kernels I was able
to recognize as INSTALL-like or ones for small memory machines
2002-01-27 13:23:08 +00:00
takemura
7f66bbfe65 Don't call tx39power_suspend_cpu unless the CPU is TX. 2002-01-27 11:11:11 +00:00
takemura
e8088a8f99 Straightened vripvar.h 2002-01-26 10:50:43 +00:00
takemura
672880d927 Adjusted GP size. 2002-01-26 10:24:58 +00:00
shin
073b07d45d bugfix: OHCI is bus 0, device 12 or 19, function 2 (not 0). 2002-01-20 03:34:27 +00:00
oster
39b858e3bf Add new RF_* options for RAIDframe bits that are no longer built by default.
While we're here, enable RAIDframe (and RAID_AUTOCONFIG) by default for
architectures that I'm comfortable can deal with it being on by default.

Also: bump the number of 'raid' devices from 4 to 8, since 4 seems to
be insufficient in practise.
2002-01-19 18:45:06 +00:00
shin
b886a869ed add support for LASER5 L-Router. 2002-01-18 13:51:01 +00:00
takemura
27d818bfdb Fixed vrpciu with config_hook PCI interrupt handling. 2002-01-13 14:18:31 +00:00
manu
af62e00622 Added clockctl 2002-01-12 13:11:08 +00:00
takemura
8f5ef79d0f Added _hpcmips_bd_mem_alloc_range, which was written by Katsuomi Hamajima. 2002-01-06 12:39:55 +00:00
takemura
b62dd2ee45 Set interrupt mask on Vrc4173 ICU. 2002-01-06 07:01:20 +00:00
takemura
d0d31a9efc DoCoMo SigmationII support (Experimental)
You must turn on HPCMIPS_L1CACHE_DISABLE option.
2002-01-05 06:45:31 +00:00
takemura
a42a77efaf If two or more vrisab matches platform id, attach most specific one. 2002-01-05 05:09:15 +00:00
uch
cead686281 fix memory size calcuration bug. 2002-01-05 04:47:30 +00:00
takemura
92f7bd9399 Deleted verbose error message in probe routine to probe silently. 2002-01-05 00:40:38 +00:00
takemura
01b846e28e Renamed sg2com -> com_hpcio. Now it seems to be working on SigmarionII. 2002-01-04 14:11:50 +00:00
shin
a3df8955eb remove redundant option 2002-01-03 11:28:12 +00:00
shin
2eb7728600 ignore romboot and romboot.bin 2002-01-03 11:27:48 +00:00
shin
d270437597 change max kernel size from 3MB to 6MB. 2002-01-03 11:23:29 +00:00
shin
238556cca6 fix typo. 2002-01-03 11:22:17 +00:00
uch
91fd1d80b7 VR41XX/TX3922 common kernel. 2002-01-02 13:13:18 +00:00
uch
58e763000e fix typo in comment. 2002-01-02 13:11:02 +00:00
uch
78e38d9e62 fix bootstrap stack violation. 2002-01-02 13:08:35 +00:00
uch
f96ef6a094 fix memory probe sequence.
fix bootstrap stack violation. (code are moved to machdep.c)
2002-01-02 13:08:05 +00:00
takemura
bd59ae1f5c BUGFIX: sg2com isn't attached as a console device if it is a console. 2002-01-02 10:09:35 +00:00
takemura
936fd137e6 BUGFIX: It allocated only 44 bytes for hpcapm while the device needed
764 bytes.

it was really terrible.
2001-12-30 12:57:41 +00:00
takemura
4ff1a4256d Commented out the line which install interrupt handler because sg2com
interrupt port is unknown and it doesn't work at all.
2001-12-29 09:26:23 +00:00
takemura
37728140db Added debugging output indicating details of interrupt register setting. 2001-12-29 05:15:32 +00:00
takemura
dce583bd28 Added sg2com(SigmarionII sertial). 2001-12-29 04:27:33 +00:00
augustss
b53ea42bf0 Update for new uhidev device attachment. 2001-12-28 17:37:01 +00:00
martin
b506d6e135 Add PPPoE to all generic kernels that should be able to use it.
XXX TODO: do this for INSTALL kernels too, add sysinst support and make the
XXX needed binaries available on the ramdisk root fs.
2001-12-28 12:21:52 +00:00
shin
3e560d975e make YBASE and EPOCHYEAR tunable. 2001-12-24 01:22:50 +00:00
shin
f22f06769c fix debug printf() format string. 2001-12-24 01:21:27 +00:00
takemura
2134fdcf5e Added SigmarionII serial port support.
(console onlty, interrupt is not supported)
2001-12-23 13:32:33 +00:00
shin
bd62d7da4a decend into romboot. 2001-12-23 13:28:23 +00:00
shin
896f0cde82 simple boot loader for ROM
supported platform: LASER5 L-Router(L-Board)
2001-12-23 13:27:56 +00:00
takemura
3c28255e30 BUGFIX: it gets bus error on Vr4122 and Vr4131 attempting to access
pull-up/pull-down registers if you turn on verbose output.
And moved softc structure definition from vrgiuvar.h to vrgiu.c, which was
needless in other parts of kernel.
2001-12-16 09:58:34 +00:00
soren
875bff0962 To make dev/pcmcia work on platforms with 64-bit bus_addr_t and
32-bit bus_size_t (sparc), change the pcmcia_mem_map(9) offsetp
argument to bus_size_t as it is used as a bus_space offset.
2001-12-15 13:23:20 +00:00
gmcgarry
bdd225baa1 Add a blurb to the top of all GENERIC files. This serves three purposes:
- to clarify some terminology
- to clarify the intention of the GENERIC file
- to cross-reference some useful man pages
2001-12-14 05:34:45 +00:00
shin
13c66a24fe compilation fix. 2001-12-11 05:43:11 +00:00
uch
bd9aab9cb5 make this compile again. 2001-12-02 10:37:53 +00:00
lukem
ecb81c3f6d - convert usage of "defopt" to "defflag" where the relevant option does
not support a value (e.g., it's to be used as "options FOO" instead of
  "options FOO=xxx"). options that take a value were converted to
  defparam recently.
- minor whitespace & formatting cleanups
2001-11-28 10:21:10 +00:00
uch
0dff65d9f9 add missing simple_lock_init. 2001-11-23 16:21:31 +00:00
atatat
2bf2c362fb The bridge(4) pseudo-device no longer requires the port to
__HAVE_GENERIC_SOFT_INTERRUPTS, so add it back to all GENERIC configs.
2001-11-23 05:00:22 +00:00
takemura
5815e5f567 Fixed bus stuff to compile vrpciu.c (VR4131 CPU). 2001-11-22 14:22:30 +00:00
uch
df2b478d48 increase the value of maxusers to 16. 2001-11-21 11:28:09 +00:00
lukem
0fa231134c - replace "defopt" with "defparam" for options which must take a value,
as config(8) will warn for value-less defparam options
- minor whitespace/formatting cleanup
- consolidate opt_tcp_recvspace.h and opt_tcp_sendspace.h into opt_tcp_space.h
2001-11-20 14:34:18 +00:00
lukem
03aef4723c cleanup:
options SPACE TAB
	makeoptions TAB
	psuedo-device TAB
	remove trailing whitespace
	replace multiple spaces -> tabs
	options "FOO" -> options FOO
	options "FOO=bar" -> options FOO=bar
	options "FOO=\"bar\"" -> options FOO="\"bar\""
2001-11-20 12:56:17 +00:00
takemura
1d1d5c87af Rewrite bus stuff with method table in the bus tags. 2001-11-18 08:19:39 +00:00
thorpej
af66038f73 Merge the thorpej-mips-cache branch onto the trunk. This is an
overhaul of how caches are handled for NetBSD's MIPS ports.
2001-11-14 18:15:10 +00:00
augustss
c5477b70aa The wsmux pseudo device does not need a count anymore. 2001-11-13 17:54:46 +00:00
shin
82c810212c make this compile without DDB. 2001-11-10 06:56:35 +00:00
sato
c702430929 MCR-300/310/320/330/for Docomo have same PWCTL_LCDLIGHT, PWCTL_LCD port. 2001-11-10 04:53:47 +00:00
enami
5bd379b1b2 Fix size of iospace; it's not 2 but 4, since two 16bit wide registers at
offset 0 and 2.
2001-10-26 04:22:25 +00:00
shin
2239512d8c make this compile with -DDEBUG_FIND_PCIC. 2001-10-24 04:09:23 +00:00
thorpej
90a2bc2cf7 For MIPS kernel Makefiles, don't set ENDIAN in std.${MACHINE}. Instead,
explicitly set MACHINE_ARCH to the appropriate thing.  Makefile.mips will
then set all of the internal variables it needs to accordingly.
2001-10-23 20:40:00 +00:00
takemura
addd2cfb92 Remove junk line, which I inserted in last commit. 2001-10-22 13:44:05 +00:00
takemura
b9f6f9619d - Added auto detection for BCU device no.
- Added clock mask unit register definition.
 - Reset child devices and set clock mask.
2001-10-21 09:38:10 +00:00
sato
e848d501fd swap value of VR4181_SIU_ADDR and VR4181_SIU1_ADDR.
fix typo.
2001-09-30 11:33:00 +00:00
sato
b9049cf914 add VR4181, VR4131 support. 2001-09-30 11:24:07 +00:00
chs
984d30ac45 don't depend on other headers to include sys/proc.h for us. 2001-09-28 12:36:48 +00:00
sato
181ca7dcd0 add VR4181 clock control. 2001-09-28 10:25:15 +00:00
sato
91e1127840 VRGROUP_4122 -> VRGROUP_4122_4131 2001-09-28 10:18:33 +00:00
sato
9a679b0eb1 - add VR4181 ICU register map.
- add VR4181 intr levels.
- add VR4131 ICU register map.
- add VR4131 intr levels.
XXX: not yet tested these platform.
2001-09-27 13:59:37 +00:00
shin
541214b72d clock_machdep.h was removed. 2001-09-27 01:08:22 +00:00
takemura
ca59965026 Renamed platid_search() to platid_search_data() and added new platid_search().
Platid_name() was re-implemented using platid_search().
2001-09-24 14:29:30 +00:00
takemura
ce2f39b63a Hacking code piece, dumping PCI configration register. 2001-09-24 10:42:02 +00:00
uch
6c1c0aff9c improve interrupt response. 2001-09-23 14:32:52 +00:00
uch
13a0719090 make this compile again. 2001-09-19 14:51:13 +00:00
uch
5c4a9c8761 remove dev/dec/clockvar.h from hpcmips source tree. 2001-09-18 17:37:26 +00:00
uch
87a75cec20 clean up "mainbus" related code. 2001-09-17 17:03:44 +00:00
uch
6a9bbffc4d rearrange struct platform@sysconf.h suitable for hpcmips.
overhaul hpcmips/hpcmips/. no actual changes.
2001-09-16 15:45:42 +00:00
uch
961880b501 ANSIfy, KNF. 2001-09-16 05:32:18 +00:00
uch
80d8d09cd7 switch from splvec to ipl_sr_bits. 2001-09-15 19:51:38 +00:00
uch
ba1ef3e899 ANSIfy. 2001-09-15 15:04:45 +00:00
uch
c04a1143f0 remove unneeded #include 2001-09-15 14:08:15 +00:00
uch
58f851eeb5 ANSIfy, KNF, change my copyright. 2001-09-15 12:47:04 +00:00
uch
7148cab49a ANSIfy, KNF. 2001-09-15 11:13:20 +00:00
chris
0e7661f023 Update pmap_update to now take the updated pmap as an argument.
This will allow improvements to the pmaps so that they can more easily defer expensive operations, eg tlb/cache flush, til the last possible moment.

Currently this is a no-op on most platforms, so they should see no difference.

Reviewed by Jason.
2001-09-10 21:19:08 +00:00
sato
9545f31823 initial support of vr4131 bcu. 2001-09-07 16:06:03 +00:00