jdolecek
7bbf3ad2b9
replace empty ucbsndioctl()/ucbsndmmap() with nullioctl()/nullmmap()
2002-10-10 22:36:09 +00:00
jdolecek
fc6049b9b7
replace the somewhat strange poll routine with standard nopoll() (a.k.a
...
seltrue())
2002-10-10 22:33:15 +00:00
provos
2f7a0aaac8
add SYSTRACE; approved perry.
2002-10-06 02:11:54 +00:00
elric
d19d268a95
assign majors for raw and cooked cgd's.
2002-10-04 18:28: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
c4cbfcf060
Use CFATTACH_DECL().
2002-10-01 02:54:11 +00:00
thorpej
f818766afe
Declare all cfattach structures const.
2002-09-27 20:31:45 +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
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
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