Commit Graph

1041 Commits

Author SHA1 Message Date
thorpej 71404bb533 Don't include <sys/map.h>. 2002-09-25 22:21:01 +00:00
shin 74f9891db4 'options USERCONF' is already in TX3912. 2002-09-24 11:16:37 +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
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
takemura e00064b3e0 Fixed again. Rev 1.7 was incomplete and this device did't work for long time. 2002-09-01 10:45:38 +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
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