sekiya
fdf5374e91
Remove unused variables.
2003-11-11 06:42:15 +00:00
sekiya
f87a5a5324
Add getopt.c
2003-11-11 06:28:15 +00:00
sekiya
0a6f939a3d
Avoid namespace collision when sgivol is compiled as a native application.
2003-11-08 04:59:00 +00:00
sekiya
4f800421dd
Use be*toh() and htobe*() to permit use in cross-build environments. Add -h flag to override default volume header size.
2003-11-01 06:30:44 +00:00
matt
22b4a90181
Fix another lasttx uninitialized variable
2003-10-30 23:05:56 +00:00
matt
88810a30df
Fix uninitialized variable warning.
2003-10-30 23:05:07 +00:00
lukem
f85d2d1c14
Use ${HOST_SH} instead of `sh'.
...
If necessary, pull in <bsd.sys.mk> to get the definition of HOST_SH;
Makefiles that pull in one of (most of) <bsd.*.mk> will get this anyway.
2003-10-26 07:25:33 +00:00
sekiya
6daa011b5a
NULL -> 0
2003-10-26 03:30:26 +00:00
chs
0e9360f160
NULL -> 0
2003-10-25 16:15:07 +00:00
simonb
916e13afc6
Add COMPAT_16 where missing.
...
Remove the unused COMPAT_15.
Comment out/remove COMPAT_* from INSTALL kernels.
2003-10-25 13:21:13 +00:00
jdolecek
694c204404
add major for 'ses' for archs which have the other scsi devices
2003-10-24 08:09:53 +00:00
tsutsui
3a646e9b6c
Add some delay before calling comcnattach() to wait
...
previous console output to complete.
2003-10-17 18:15:52 +00:00
tsutsui
19e183345a
Add vr at pci and dmphy at mii. Tested on my O2.
2003-10-17 17:18:16 +00:00
sekiya
a747a8f16d
Mouse port offset was incorrect.
2003-10-17 12:43:08 +00:00
sekiya
af12cdb68a
Compile dsclock_hpc.c only if dsclock is present in config file.
2003-10-17 06:49:34 +00:00
jdolecek
ef5bb330f5
reassing majors for crypto and pf to use the newly defined MI major
...
range
2003-10-10 22:42:39 +00:00
jdolecek
4e915c9ccd
update the comment - the space for machine-dependant majors
...
is reduced to 0-143
follows discussion on tech-kern
2003-10-10 21:21:25 +00:00
simonb
970b12080e
Define LIB{CRT0,C,CRTBEGIN,CRTEND} as nothing, we don't need to link
...
against them.
2003-10-08 01:40:22 +00:00
tsutsui
608b19ae28
Use proper mips_dcache_{wb,inv,wbinv}_range() ops in dmamap sync function
...
if possible. Tested on my O2 (with r5ksc patch).
XXX should we apply similar changes to mips/bus_dma.c and use it?
2003-10-07 16:03:09 +00:00
tsutsui
fd316d7ac1
Use proper macros.
2003-10-07 14:37:06 +00:00
tsutsui
086016d756
Add pcn at pci, tl at pci and tlphy, which I've confirmed working on O2.
2003-10-05 15:44:36 +00:00
tsutsui
b0cd3c8093
Apply a bunch of patches written by Christopher SEKIYA
...
(with several cosmetic changes by me) which fixes O2 (IP32) support.
Now my R5000 O2 works fine in multiuser with on-board AIC7880 SCSIs
and several PCI network cards (but only on serial console yet).
L2 cache on R5000/Rm5200 is still disabled for now, but it will be
fixed later, hopefully.
See recent discussion on port-sgimips for details.
2003-10-05 15:38:08 +00:00
jdolecek
e6286b949a
Add some framework for MI assignment of device majors - add sys/dev/majors
...
which is automatically included during kernel config, and add comments
to individual machine-dependant majors.* files to assign new MI majors
in MI file.
Range 0-191 is reserved for machine-specific assignments, range
192+ are MI assignments.
Follows recent discussion on tech-kern@
2003-10-05 08:04:24 +00:00
tsutsui
d788e7c9ec
- some KNF
...
- hz -> Hz in printf
2003-10-04 09:41:27 +00:00
tsutsui
d330e7b609
TAB/space cleanup.
2003-10-04 09:19:23 +00:00
tsutsui
1d11374304
Cast through (void *) to appease gcc3.
2003-09-28 13:02:18 +00:00
tsutsui
7f019aacfd
- Remove (commented out) options COMPAT_ULTRIX, which is not usable on mipseb.
...
- Fix (commented out) obsolete options MINIROOTSIZE.
- space/TAB cosmetics
2003-09-28 12:56:09 +00:00
tsutsui
026b6946bd
Fix typo. From Christopher SEKIYA.
2003-09-28 08:21:08 +00:00
tsutsui
992acd3aab
Add options COMPAT_16.
2003-09-28 07:39:48 +00:00
he
772b1d9073
Allow kernels without the haltwo driver configured to build, i.e.
...
make the driver optional by adding the haltwo attribute.
2003-09-27 21:11:21 +00:00
lonewolf
c8d69e8d1c
Attach haltwo on Indigo2 machines also, it reportedly works on them.
2003-09-26 16:58:06 +00:00
lonewolf
3111a2e6ea
Support for HAL2 audio controller attached to the HPC ASIC, found on SGI Indy.
...
The driver is not too heavily tested and only supports audio playback and
master volume setting currently.
2003-09-25 16:35:50 +00:00
lonewolf
b06ea56eff
Fix mistake in previous.
2003-09-18 15:01:33 +00:00
lonewolf
ae33e68d84
Correct offsets for HPC_PBUS_CHx_{BP,DP} and add HPC_PBUS_DMACTL_* definitions.
2003-09-18 15:00:26 +00:00
simonb
9d585c89bb
Use common mips generic software interrupt routines.
...
Changes from Izumi Tsutsui, tested by Havard Eidnes.
2003-09-15 06:39:20 +00:00
chs
c023b4180f
add "makeoptions MACHINE_ARCH=..." in std.* for mips ports
...
where it is constant (to ease cross-building).
2003-08-30 22:44:38 +00:00
itojun
4440262659
create /dev/crypto
2003-08-22 05:06:22 +00:00
agc
aad01611e7
Move UCB-licensed code from 4-clause to 3-clause licence.
...
Patches provided by Joel Baker in PR 22364, verified by myself.
2003-08-07 16:26:28 +00:00
itojun
3f14c71f75
reserve cdev major # for PF. ok'ed by technical-exec
2003-07-27 14:17:57 +00:00
thorpej
063033a023
Since everyone uses clock_subr.c (or should, if they don't currently),
...
list it in conf/files instead of in every port's files.*.
2003-07-27 01:17:37 +00:00
lukem
ed51729135
__KERNEL_RCSID()
2003-07-15 02:54:31 +00:00
fvdl
d5aece61d6
Back out the lwp/ktrace changes. They contained a lot of colateral damage,
...
and need to be examined and discussed more.
2003-06-29 22:28:00 +00:00
darrenr
960df3c8d1
Pass lwp pointers throughtout the kernel, as required, so that the lwpid can
...
be inserted into ktrace records. The general change has been to replace
"struct proc *" with "struct lwp *" in various function prototypes, pass
the lwp through and use l_proc to get the process pointer when needed.
Bump the kernel rev up to 1.6V
2003-06-28 14:20:43 +00:00
drochner
1a03e79900
don't #include <sys/dkstat.h> where it is (appearently) unused
2003-06-18 08:58:34 +00:00
fvdl
7dd7f8baa2
Handle 64bit DMA addresses on PCI for platforms that can (currently only
...
enabled on amd64). Add a dmat64 field to various PCI attach structures,
and pass it down where needed. Implement a simple new function called
pci_dma64_available(pa) to test if 64bit DMA addresses may be used.
This returns 1 iff _PCI_HAVE_DMA64 is defined in <machine/pci_machdep.h>,
and there is more than 4G of memory.
2003-06-15 23:08:53 +00:00
thorpej
0eff671820
Also pass a type argument to comcnattach() and com_kgdb_attach().
...
comspeed() (and thus cominit()) may need this information.
2003-06-14 17:01:06 +00:00
thorpej
e43fecb228
Change bounds_check_with_label() to take a pointer to the disk structure,
...
rather than the label itself. This paves the way for some future changes.
2003-05-10 23:12:28 +00:00
gmcgarry
1cdac66ee5
Add commented-out wsfont (same as wsdisplay). Addresses PR#18388.
2003-05-04 01:36:53 +00:00
wiz
1ffa7b76c4
DMA, not dma nor Dma.
2003-05-03 18:10:37 +00:00
dsl
d91455ce26
Change return type of readdisklabel() to const char *
...
I hope I've found all the correct places!
2003-05-02 08:45:10 +00:00