minoura
b34682dcab
Typo.
1999-03-16 17:04:35 +00:00
drochner
937ba3a513
add prototype WSDISPLAY_DEFAULTSCREENS option, improve wscons related
...
comments
1999-03-16 16:31:54 +00:00
minoura
ba80d2c6d7
Merged minoura_x68k_bus_h branch.
1999-03-16 16:30:16 +00:00
mycroft
84f100d175
Audio1 does not support 16-bit DMA. Eliminate some code that tried to handle
...
that case.
1999-03-16 14:17:00 +00:00
simonb
16cc2ad23b
Uncomment ioasic_subr.c.
1999-03-16 14:07:22 +00:00
simonb
79f173e5f3
Add NetBSD RCS id on first line.
1999-03-16 13:53:39 +00:00
mycroft
13d43eb62b
Fix old typo.
1999-03-16 13:37:23 +00:00
mycroft
e085a0c921
A little more cleanup.
1999-03-16 13:32:25 +00:00
mycroft
28e080a143
Minor fix to some debugging output.
1999-03-16 13:24:27 +00:00
mycroft
9e041fd850
Adjustments for structure name changes.
1999-03-16 13:07:45 +00:00
mycroft
3e404912dc
Clean up the previous:
...
* Separate the interrupt handlers based on which channel (audio1/audio2)
rather than which direction (input/output). Only register the handler for
audio1 on the 1788.
* Since the input sides are actually the same, GC the duplicated code.
* Re-KNF in a bunch of places.
* Make this work again on the 1887 in the Shark.
1999-03-16 13:06:35 +00:00
mark
2ae8daf4dc
Junk a load of register keywords.
...
Add missing type in a declaration of iobase.
1999-03-16 10:55:42 +00:00
mark
1b8eea513f
_intrnames is only used in irq_release() if IRQ_STATS is defined so add an
...
appropriate guard.
1999-03-16 10:53:50 +00:00
nisimura
ed09809062
- Final cut of TC decoulping.
1999-03-16 05:59:01 +00:00
chs
8e61ed9705
in pmap_bootstrap4_4c(), remove any bogus mappings the PROM
...
left around in the mmu.
1999-03-16 03:45:36 +00:00
thorpej
8712c97205
Don't do pathname translation for file creation. The real intent here is
...
just for lookups of existing files. From Matthew Green <mrg@netbsd.org>.
1999-03-15 23:50:07 +00:00
thomas
3387d026d6
Include machine/bswap.h, needed on big endian machines.
1999-03-15 20:19:57 +00:00
is
beac0bf201
/dev/log ==> /var/run/syslog.socket
...
This way, /dev can be made read-only on diskless clients (/dev/log was the
last item created dynamically; /dev/printer moved to /var/run/printer long
ago).
1999-03-15 16:46:13 +00:00
leo
b9cb0eefd0
First step to a framework that can be used to initialize vga-cards on the
...
pci-bus. The code is called early in the bootphase and tries to initialize
a known type of card into a 'standard' text mode. Wscons should be able
to handle these cards afterwards.
1999-03-15 15:47:11 +00:00
minoura
9729dbb6ad
Pullin m68k/ieee.h.
1999-03-15 12:42:51 +00:00
nisimura
bfdc9ed402
- Remove a verbose local variable.
1999-03-15 12:03:50 +00:00
minoura
e518820ca8
Pullin m68k/ieee.h.
1999-03-15 11:55:53 +00:00
nisimura
eed42e945e
- 'DECstation 5100' -> 'DECsysytem 5100'.
1999-03-15 11:45:16 +00:00
nisimura
5871c2b95d
- Fix config option name for 3MAX+.
1999-03-15 11:41:25 +00:00
jonathan
c72be5c489
Eliminate a divide by 40 from the microtime() path on 50Mhz decstatinos
...
by approximation using 41/2048. Gains one bit in NTP precision.
1999-03-15 09:47:36 +00:00
jonathan
5965639381
Do lk201 non-keyclick setup even when LK_KEY_CLICK not configured.
1999-03-15 09:40:56 +00:00
chs
e2d0bfbb09
remove a debugging printf.
1999-03-15 07:55:19 +00:00
nisimura
6335e6c176
- Rearrangement for TC decoupling with some typo fixes.
1999-03-15 07:52:05 +00:00
leo
24ae5a32cf
We need more 'stand' functions (From Julian Coleman).
1999-03-15 07:46:11 +00:00
nisimura
210ea7eabe
- Decouple "ibus" from TURBOchannel.
...
- Nuke mainbus_softc definition (it's empty).
1999-03-15 07:43:05 +00:00
christos
16f90e3d2a
Enable EXEC_ELF32... It only adds 4K to the kernel, and makes an ELF
...
install floppy to work (from Andrew Gillham)
1999-03-15 07:22:18 +00:00
jonathan
4c6134d7c8
Use merged memcpy()/memset() based on old bcopy rather than C-coded memmove.
...
TODO: change register usage so memcpy()/memmove() is default, put test
for back-copy before memcpy() and back-copy loop after memcpy().
1999-03-15 07:04:04 +00:00
jonathan
e22fd3b59d
Fix bug in construction of word-length version of 'c'.
...
Preserve input string and return it as per userlevel spec.
1999-03-15 06:34:10 +00:00
nisimura
1990f5b094
- Make compilable with 32bit long integer system.
1999-03-15 05:28:07 +00:00
nisimura
cfbd3e5737
- Adjust function declarations.
1999-03-15 03:25:33 +00:00
tsubai
79c71e0bae
Check the accessibility before reading from configuration space.
1999-03-15 03:03:10 +00:00
nisimura
3ac70670ef
- Eliminate 'conf.h' from MIPS common code.
1999-03-15 02:47:10 +00:00
nisimura
17e168c9b3
- Nuke old leftover; round four. This file has little usefuls, and
...
target MIPS ports are expected to have 'machine/conf.h' if necessary.
1999-03-15 02:43:48 +00:00
tsubai
07e094073c
Remove bogus comment.
1999-03-15 02:26:10 +00:00
tsubai
da1be4ffd8
Fix mkdep ``cc: No input files'' error when SFILES is empty.
1999-03-15 01:55:32 +00:00
nisimura
10b5625b87
- Nuke old leftover; round three. Remove never-used functions.
...
XXX Needs to eliminate TURBOchannel exposure here.
1999-03-15 01:54:56 +00:00
tsubai
b4374e3ce0
Implement badaddr() and trap machine-check in badaddr.
1999-03-15 01:29:07 +00:00
jonathan
ef79649fc1
MI ioasic softc and child-device structs, gc duplicate struct definitions.
...
Add MI ioasic functions, but dont enable on alpha until tested.
1999-03-15 01:25:26 +00:00
mrg
b0eb09de11
remove lderr in "make clean"
1999-03-15 01:15:06 +00:00
mrg
c1122adb50
delete netbsd.aout and netbsd.ecoff in "make clean"
1999-03-15 01:12:00 +00:00
perseant
e1c9a578a8
New CHANGES files that describes briefly all nontrivial changes made to
...
the LFS since the 4.4lite2 code was merged into NetBSD.
TODO updated to remove everything marked DONE in 4.4, and add in a list
of more current things to do.
Get rid of comments about the cleaner syscall code and missing fragment
support from README.
1999-03-15 00:46:47 +00:00
chs
462ac41141
if an mfs i/o is successful, set b_resid to 0.
...
this allows the vnd driver to work on mfs files.
1999-03-15 00:18:24 +00:00
jonathan
78bc84c223
Clean up initializers for pmax ioasic children. Use same struct as alpha.
1999-03-14 23:59:53 +00:00
jonathan
e662ad5ecc
Clean up names for SCC interrupt bits.
1999-03-14 23:59:03 +00:00
is
ba07737bc0
Use the 1/256s-resolution when reading the DraCo battery backed clock
1999-03-14 22:42:12 +00:00
jonathan
69d2d27c1b
Use bus_space tags and handles, embedded in MD hooks AM7930_{READ_WRITE}_REG
...
to handle MD delay and bus padding. Tested on sparc2 by David Brownlee.
Should use regmaps, but that breaks sparc pDMA assembly code.
1999-03-14 22:29:00 +00:00
oster
2ec2c2045f
Cleanup rf_RewriteParity() and rf_VerifyParity(). Nuke unused stuff,
...
and make more readable.
1999-03-14 22:10:46 +00:00
oster
414b788837
Disallow interrupting parity re-writes or copybacks by removing PCATCH
...
from the tsleep()'s (they probably shouldn't have been there in the
first place!). Making parity re-writing and copybacks interruptable
will require re-designing how a few things are done (e.g. how memory
is freed for structures shipped off to routines that run asynchronously
relative to the calling routine). Fix a few other tsleep's while we're at it.
1999-03-14 21:53:31 +00:00
minoura
1ff51fea1a
Some x68k conditionals (I don't know why these are needed...).
1999-03-14 16:14:54 +00:00
mycroft
deab09f540
Only need one of vga_isa and vga_pci.
1999-03-14 10:34:18 +00:00
mycroft
cac14a50bc
Update to -current, switch to wscons.
1999-03-14 10:31:43 +00:00
dbj
00c8d4dd90
changed dma start alignment from 4 to 16 so that the cache flush
...
functions always have cache line aligned segments.
continued experimentation with scsi driver.
1999-03-14 10:31:05 +00:00
veego
58d4f7ae24
Add support for future PicassoIV's which use an autoconfig space of 64MB.
...
The framebuffer base address is then at a different offset.
The patch is from Klaus Burkert.
1999-03-14 09:17:19 +00:00
sommerfe
82f8a7dee9
Turn off biosboot_ser until makefile issues get worked out..
1999-03-14 05:50:38 +00:00
jonb
6d636069d6
Allow "make depend" to work again. (It currently freaks out since the
...
SFILES variable is empty...)
1999-03-14 05:03:35 +00:00
kleink
4f3756d205
Define id_t, an integral type wide enough to hold a value of type gid_t, pid_t
...
or uid_t (SVID/XSH5).
XXX Unlike the System V definitions and pid_t, [gu]id_t are unsigned here.
1999-03-14 01:24:18 +00:00
simonb
e4dd1abb05
Merge contents of filesystem.c into conf.c, and remove declaration of
...
errno from conf.c and put it in boot.c.
1999-03-14 00:57:06 +00:00
fvdl
35d517b9f1
Hack to make biosboot_ser work.
...
XXX The makefile structure in src/sys/arch/i386/stand is very bad.
1999-03-14 00:04:06 +00:00
is
bed6716015
Identify the chip type when attaching.
1999-03-13 22:43:30 +00:00
thorpej
195403fe38
malloc the arg temporary buffer, rather than declaring it as an automatic
...
array of ARG_MAX size. ARG_MAX is currently 256k, which causes a rather
serious stack overflow (kernel stacks are not very large, usually 8k).
Fixes memory corruption problems observed after accessig /proc/1/cmdline
during tests. Problem in my case manifested itself as massive lossage
in ffs_sync(), resulting in a crash, and sometimes, pooched file systems.
XXX This could, and probably should, be rewritten to use a much smaller
temporary buffer, and a loop around uiomove().
1999-03-13 22:26:48 +00:00
is
a02a989bcf
The 53c720 and up are really different. For example, the method to determine,
...
when disconnecting etc., how much data were transferred, has changed.
Symptom: SIOP invalid instructions when doing data transfers to disks that
disconnect.
XXX The bits etc. need to be defined correctly in the siopreg.h file, and
symbolic values used.
1999-03-13 21:30:55 +00:00
tron
32e0182e15
$(OBJS) -> ${OBJS}
1999-03-13 20:58:25 +00:00
ragge
4d77aa3c15
Avoid warning if !QBA.
1999-03-13 20:26:50 +00:00
drochner
c0433847af
make complaints about missing platform support match reality
1999-03-13 19:46:58 +00:00
is
48c33b2e56
Adjust to match the assembled code
1999-03-13 19:42:52 +00:00
ragge
0c86849162
Oops, forgot this file.
1999-03-13 15:44:01 +00:00
ragge
f9b0eec83a
Change vsbus to take a locator for all devices.
...
Figure out interrupt vector/mask on vsbus by forcing all devices to
generate interrupts in the match routine, like on unibus.
1999-03-13 15:16:47 +00:00
ragge
9f6b94f820
Outdated files.
1999-03-13 15:14:29 +00:00
drochner
7cfac216d7
Don't initialize any virtual screens (except the system console) at
...
autoconfiguration time; this can be done better from rc.local.
(For INSTALL kernels, WSDISPLAY_DEFAULTSCREENS can be defined which
sets up that many screens with default parameters.)
1999-03-13 14:46:20 +00:00
drochner
b2cc9c9bc2
pull in missing miscfs/procfs/procfs_cmdline.c
1999-03-13 14:29:27 +00:00
drochner
98294086d9
make this compile again
1999-03-13 14:09:46 +00:00
drochner
71f26e545a
pull in a part of [nisimura-pmax-wscons] rev 1.5.4.3: remove unneeded
...
kdbpeek() prototype
1999-03-13 13:16:29 +00:00
drochner
6bcfb2cd72
g/c regdef.h
1999-03-13 13:07:43 +00:00
drochner
93d26ccd4b
g/c regdef.h (went into asm.h)
1999-03-13 13:05:49 +00:00
drochner
7482575685
regdef.h is gone
1999-03-13 11:24:59 +00:00
drochner
0265284ce4
This file is unneeded since <mips/regdef.h> went into <mips/asm.h>.
1999-03-13 11:24:11 +00:00
drochner
2b8eb20358
Remove unneeded <mips/regdef.h>. Its contents went into asm.h while ago.
1999-03-13 11:20:55 +00:00
thorpej
4865d6ff88
Some changes to `cmdline' to make it work properly:
...
- Don't error out on P_SYSTEM or SZOMB processes; instead, do what ps(1)
would do, i.e. the p_comm in parenthesis.
- Use uvm_io() (or procfs_rwmem() if !UVM) to read the target process's
psstrings and argument vector. Using copyin() is problematic, because
it operates on the current processes! That is, the old code would
always get the `cmdline' of the process reading the file, not that of
the target process.
1999-03-13 01:01:30 +00:00
thorpej
5e7b128211
Expose procfs_rwmem(). (This function will go away entirely when we
...
delete Mach VM.)
1999-03-13 00:57:13 +00:00
jonathan
9797e6cf17
Pad out mips1 inter-tick delay loop with two nops, to match
...
gcc-2.7.2.2+myc1 calibration.
XXX rewrite in assembler to remove compiler dependency.
1999-03-13 00:05:39 +00:00
perry
21ce7a4f23
nuke ovbcopy reference
1999-03-12 23:08:11 +00:00
perry
2bbefd75ec
remove ovbcopy reference
1999-03-12 23:05:42 +00:00
perry
240d1ad927
remove ovbcopy references
1999-03-12 23:03:31 +00:00
perry
5b25cace4c
ovbcopy -> memmove
1999-03-12 22:59:23 +00:00
perry
02a2323b29
ovbcopy->memmove
1999-03-12 22:56:21 +00:00
perry
a92175a153
nuke ovbcopy
1999-03-12 22:54:58 +00:00
perry
d446fb449c
exterminate ovbcopy. patches provided by Erik Bertelsen, pr-7145
1999-03-12 22:42:30 +00:00
is
d662e94812
fix some typos introduced when integrating the driver
1999-03-12 20:17:47 +00:00
christos
902b3b95dc
PR/7143: Jaromir Docelek: add procfs_cmdline...
1999-03-12 18:47:35 +00:00
christos
8aa2fc5ab8
PR/7143: Jaromir Docelek: Add procfs/cmdline from Linux emulation
1999-03-12 18:45:40 +00:00
bouyer
0a2d2af9e0
Restrict umap mounts to root. Letting any user use this has security
...
implications.
1999-03-12 18:16:44 +00:00
sommerfe
fc47c0c742
Also build serial bootblocks by default, installing into
...
/usr/mdec/biosboot_ser.sym
Change Makefile.booters to not assume `version' file is in source directory.
1999-03-12 16:07:57 +00:00
nisimura
e846ee9b9b
- Nuke old leftover; round two. XXX Still there 3MAX's IOASIC disguise.
...
Rework will be done in conf/files.pmax, anyway.
1999-03-12 08:15:27 +00:00
nisimura
57edf91cbc
- Nuke old leftover bogocities, round one; externs for non-existent
...
functions, less-intuitive #define's in inappropriate header files.
1999-03-12 07:13:14 +00:00
nisimura
f875c6618a
- Exclude 'tc_machdep.h' from installed in /usr/include/machine/ directory.
1999-03-12 07:03:21 +00:00
tsubai
f7c4c841ed
Don't remove .mdebug section.
1999-03-12 06:42:48 +00:00
sommerfe
df8e0043e3
Fix compile warning in getcomaddr()
1999-03-12 04:14:37 +00:00
fvdl
8371eb7a88
Clean up the BIOS disk matching code a bit (better naming, one structure
...
and sysctl to export to userland). Also, only use total number of sectors
given in the extended parameters if the physical chs geometry is
marked invalid. Hopefully fixes a problem where BIOSs would not correctly
fill in this field.
1999-03-12 01:01:41 +00:00
fvdl
bc38bb1052
Declare nhd to be unsigned char, as we're only copying one byte to it.
...
From Matthias Drochner.
1999-03-11 12:34:36 +00:00
fair
02b2bb48b7
Apply patch from PR#6443 to set LED properly when BLINK option is
...
not set.
1999-03-11 06:44:40 +00:00
sakamoto
23903bfc0e
Regen.
1999-03-11 05:17:54 +00:00
sakamoto
272f5b609d
Add several VIA Technologies chipsets.
1999-03-11 05:17:24 +00:00
thorpej
5fa25527ac
Const poison ether_ifattach().
1999-03-10 21:05:08 +00:00
mark
303ca6c449
Make pmap_extract() understand L2 large page PTEs. Normally small page
...
PTEs are used but during bootstrap the kernel may be mapped with large page
PTE to save TLB entries.
1999-03-10 20:54:17 +00:00
drochner
b241f995f0
don't erase the characters moved over on a <TAB>, a real VT100 doesn't
...
do this - thanks Bill Sommerfeld (PR kern/7124)
1999-03-10 19:54:52 +00:00
sommerfe
2ec4ac3d65
Increase default MSGBUFSIZE due to more and chattier drivers in -current
1999-03-10 18:02:22 +00:00
jonb
fae90a3604
Move DEFAULT to GENERIC so make snapshot works. Comment out makeoptions
...
line in INSTALL so it will config.
1999-03-10 13:35:33 +00:00
bouyer
a6365676fa
Add a new disk flag: DRIVE_OLD for pre-ATA disks. probe routine will now set
...
DRIVE_OLD, DRIVE_ATA or DRIVE_ATAPI based on register signatures.
The attach routine will issue a IDENTIFY command for ATA/ATAPI disk,
to detect flase matches by the probe routine.
probe/attach should now be fully compliant with ata-4/ata-5. As a side
effect, ATAPI drives which improperly use ATA register signatures should now
be attached as ATAPI.
1999-03-10 13:11:43 +00:00
kleink
a6d726254d
Un-nest __P().
1999-03-10 12:58:00 +00:00
drochner
b477d700f2
add support for 3c905b TX
1999-03-10 10:37:38 +00:00
tls
c08205bd4a
fix typo
1999-03-10 08:56:16 +00:00
mycroft
5ec1e5beab
Add an ieee.h.
1999-03-10 08:13:01 +00:00
ross
5837fe443f
Enable alpha.
1999-03-10 06:47:57 +00:00
ross
0325be06dd
New file, included if present for ${MACHINE_ARCH} by bsd.kmod.mk.
1999-03-10 06:41:48 +00:00
thorpej
f48012dee8
Const poison ether_sprintf().
1999-03-10 03:28:50 +00:00
mrg
1cfd38fb3e
oops, fix previous.
1999-03-10 02:19:04 +00:00
eeh
6158292dbb
PMAP_PGARG doesn't do the right thing for us.
1999-03-10 01:54:16 +00:00
fvdl
bdb770bc34
Create a list of native disks too, and make it retrievable. It contains
...
all matching BIOS disks per entry, so that we have complete match info.
Enable the matching code.
1999-03-10 01:28:24 +00:00
perseant
1b8f5ea3c3
New sources should leave the LFS in a more-or-less working state. Changes
...
include:
- DIROP segregation is enabled, and greater care is taken
to make sure that a checkpoint completes. Fsck is not
needed to remount the filesystem.
- Several checks to make sure that the LFS subsystem does not
overuse various resources (memory, in particular).
- The cleaner routines, lfs_markv in particular, are completely
rewritten. A buffer overflow is removed. Greater care is taken
to ensure that inodes come from where lfs_cleanerd say they come
from (so we know nothing has changed since lfs_bmapv was called).
- Fragment allocation is fixed, so that writes beyond end-of-file
do the right thing.
1999-03-10 00:20:00 +00:00
perseant
414152aa79
Added flags to lfs_check call
1999-03-10 00:00:32 +00:00
perseant
9dceca5347
Add IN_CLEANING flag for LFS
1999-03-09 23:57:14 +00:00
kleink
51be278873
Defopt COMPAT_M68K4K.
1999-03-09 21:02:38 +00:00
is
5cbe57d881
Missing part of CS Mk. III changes
1999-03-09 20:31:34 +00:00
is
0fed7b2d06
The SCSI clock is 50 MHz for this board.
1999-03-09 20:25:46 +00:00
fvdl
06d4fb4d0d
While at it, add K6-III recognition too.
1999-03-09 16:05:34 +00:00
fvdl
70a96d92da
Recognize Pentium III
1999-03-09 15:48:15 +00:00
is
d88de4e70d
Don't predefine anything
1999-03-09 15:14:32 +00:00
is
dab82f6dd3
Regenerate.
1999-03-09 15:09:00 +00:00
ragge
fb6b53bfe4
Basic KA48 (VAXstation 4000 VLC) support.
...
From Michael Kukat <michael@camaronet.de>
1999-03-09 12:57:57 +00:00
is
58a9c554c6
Regenerated.
1999-03-09 12:22:13 +00:00
is
75774fd854
Fix language.
1999-03-09 12:20:41 +00:00
kleink
b0fe22c29d
Have unimplemented/unsupported system calls (madvise(), mincore(), sbrk(),
...
sstk()) fail with ENOSYS.
1999-03-09 12:18:22 +00:00
is
aed99bc63d
Pacify CPP.
1999-03-09 12:15:30 +00:00
is
22e4689589
Add an entry for the Cyberstorm Mk. III / CyberstormPPC SCSI driver by
...
Michael Hitch.
1999-03-09 11:58:56 +00:00
drochner
5704ad4969
regen
1999-03-09 11:48:59 +00:00
drochner
2987883f07
add 2 ISDN cards, from Martin Husemann per PR kern/7110
1999-03-09 11:48:03 +00:00
ragge
98e97e2329
unsigned int -> int.
1999-03-09 11:43:13 +00:00
oster
cd0a696176
Cleanup raidattach: move rf_boot's functionality to raidattach, and
...
nuke rf_boot(). Cleanup raidopen().
1999-03-09 03:53:18 +00:00
oster
e39fe5e2fe
Cleanup unused cruft.
1999-03-09 03:52:41 +00:00
oster
29daf0c77d
rf_update_component_labels() now lives here. Re-work clean-bit
...
support a little: clean-bits now also get frobbed on partition
opening/closing, rather than just at device configuration and device
unconfiguration. Schedule shutdownhooks() stuff for nukage at a later
date, since it isn't really necessary any more.
1999-03-09 02:59:25 +00:00
oster
585c77594e
Move rf_update_component_labels() from here to rf_netbsdkintf.c.
1999-03-09 02:57:29 +00:00
mrg
ab80268653
no need to use __P inside __P.
1999-03-09 00:42:41 +00:00
mrg
fbda6bed6d
make this compile on SUN4U. XXX icky, reader beware.
1999-03-09 00:42:20 +00:00
mrg
3ca216fd8a
fix NRND usage
1999-03-09 00:37:01 +00:00
drochner
743494ae88
add a function to pass the "memory map" ie the outcome of INT15/0xe820,
...
to the kernel
1999-03-08 21:44:48 +00:00
drochner
6fb323453d
add a definition to pass the "memory map", ie the outcome of INT15/0xe820,
...
to the kernel
1999-03-08 21:42:48 +00:00
drochner
0cb921e61e
change the interface for getmementry() to hold the iterator in an
...
argument and to return success or error explicitely.
Now we can "error" and "end of list" cleanly; this should fix the
problem where the last list element was ignored.
1999-03-08 21:38:28 +00:00
tsubai
6662cda7a2
Use mips/ecoff_machdep.h.
1999-03-08 06:38:06 +00:00
tsubai
8b3054fb87
Add big-endian definitions.
1999-03-08 06:36:59 +00:00
tsubai
8b5452906b
Use objcopy to convert ELF kernel to ECOFF.
1999-03-08 06:33:26 +00:00
fvdl
1cd0b43e81
bios disk matching needs more work for a few cases. Disable until
...
I have time to look at it further.
1999-03-08 01:26:00 +00:00
fvdl
eed16d934a
Match BIOS <-> NetBSD devices after autoconf. Match by a checksum
...
and a partition table compare. Define a sysctl to get the info
out.
1999-03-08 00:12:28 +00:00
fvdl
5db52a7a6b
Add some fields to the already defined, but unused, bootinfo structure
...
for BIOS geometry. Define CPU_BIOS_GEOM sysctl value in cpu.h.
1999-03-08 00:10:42 +00:00
fvdl
f8e221511b
* query BIOS geometry information, possibly using the int 13 extensions.
...
* pass them on to the kernel
* print a message if the 2nd stage bootloader returns (i.e. fails)
instead of just hanging.
1999-03-08 00:09:24 +00:00
pk
e951781842
_C_LABEL() is not implied by _ENTRY().
1999-03-07 22:36:04 +00:00
is
6505010dab
Added very preliminary version of Symbios 53c7[27]0c driver and Cyberstorm
...
Mk. III SCSI backend, by Michael Hitch.
XXX No wide transfers supported at the moment.
1999-03-07 22:16:19 +00:00
he
e9f9c1625e
Add handling of OMAGIC files, where exec header isn't part of the
...
text segment. Needed for woring installboot, since biosboot.sym is OMAGIC.
1999-03-07 20:03:44 +00:00
bouyer
ba74f49e60
Keep track of CRC errors in Ultra-DMA mode. If we noticed a CRC error and we
...
need to downgrade, downgrade to PIO, as it has been shown if we got CRC errors
in Ultra-DMA mode, we will have silent data corruption in multiword DMA mode
(isn't IDE wonderfull ? :).
Set timeout to 1s for "normal" ata I/O, to minimise the effects of missed
interrupts.
1999-03-07 14:02:53 +00:00
tron
c8126918cb
Fix too tight check for maximum supported partition size. Now partitions
...
upto 128GB (instead of 4GB) are allowed.
1999-03-07 13:57:20 +00:00
ragge
e1305e82d9
New boot program for vax. Appearance similar to the i386 boot blocks.
1999-03-06 16:36:04 +00:00
ragge
816acbe3ac
pmap_physseg must be visible.
1999-03-06 11:11:11 +00:00
mycroft
e7f1ddf4a1
Update for psm -> pms conversion.
1999-03-06 06:12:49 +00:00
fair
d143754986
Snatch a patch from OpenBSD to fix PRs 6529 and 7074.
...
Adjust fxdr_hyper() and txdr_hyper() macros.
1999-03-06 05:34:40 +00:00
jonathan
0086af45ef
DDB command `mach kvotop' to map kernel-virtual addreses to physical addresses.
1999-03-06 02:45:54 +00:00
mycroft
8a90f14119
Brace ourselves for egcs...
1999-03-06 01:29:53 +00:00
mhitch
263d2c47a5
Read-only unnmanaged pages on MIPS3 need the RO attribute bit, otherwise the
...
tlbmod exception panics. This appears to have been incorrect even in the pica
pmap.c, which I pulled in for the pmax. Fixes Xcfbpmax crashes on R40x0
systems with sfb framebuffer.
Fix resident_count tracking so it doesn't go negative. UVM will change a
page mapping without removing the original mapping. That was causing a
problem early on when getting UVM working on the mips, and the explicit
pmap_remove() done by pmap_enter() was decrementing the resident_count.
Do the pmap_remove() first, then check if the current mapping is not valid
and increment the resident_count.
1999-03-05 22:25:07 +00:00
mhitch
12ec406bcf
Remove a couple of 'XXX MIPS3?' comments in the tlbmod exeception handling -
...
I now know what it's doing, and it is correct for MIPS3.
1999-03-05 22:18:07 +00:00
mycroft
b174019ccc
Pass null pointers to VOP_UPDATE rather than having all the callers fetch the
...
current time themselves.
1999-03-05 21:09:48 +00:00
mycroft
86ed73efb4
Permit the access and modify time pointers passed to VOP_UPDATE to be null,
...
meaning the current time.
1999-03-05 20:47:06 +00:00
fvdl
5a32d4bb8b
Make bootblocks really work this time. From Christos.
1999-03-05 20:33:08 +00:00
bouyer
00d7241e81
Don't check fs_bsize before the superblock has been swapped if needed.
...
Check value of sbsize before allocating memory with this value.
1999-03-05 12:02:18 +00:00
pk
3846cac1e1
Use `-Ttext' switch & collect ld options in LINKFLAGS.
1999-03-05 11:13:39 +00:00
pk
da1407c412
Use <machine/asm.h> to construct C identifiers.
1999-03-05 11:12:16 +00:00
pk
994c338f0a
Apply C_LABEL() to `esym' too.
1999-03-05 11:07:03 +00:00
pk
ebd1f5abc9
Have pseudo function return a value.
1999-03-05 10:55:55 +00:00
pk
29db4ce692
Use macros from <machine/asm.h> to construct C labels.
1999-03-05 10:45:25 +00:00
drochner
1b9cb332aa
Don't try to selftest the keyboard port. PC keyboard controllers have
...
shown up which break in 3 different ways, so the test is becoming
pointless.
1999-03-05 10:40:54 +00:00
pk
df7a15e33c
* sparc => __sparc__
...
* wrap Sun disklabel code in `#if __sparc__ || __sun3__' for now.
1999-03-05 10:38:16 +00:00
pk
fabda9a224
Sync with libc
1999-03-05 09:18:32 +00:00
pk
a1aa41e201
consinit: cover all cases.
1999-03-05 08:30:33 +00:00
tsubai
61fbe51007
First-cut of profiling support.
...
XXX userland only, for now.
1999-03-05 07:59:13 +00:00
mycroft
69d7e3bcdc
Nuke wdc at isapnp.
1999-03-05 07:33:42 +00:00
mycroft
0d847118f6
XXX Disable PnP until pcic_isapnp works on this port.
1999-03-05 07:33:19 +00:00
mycroft
4de576b025
Clean up some sign extension bogosity in statfs, so negative numbers are
...
actually negative on a LP64 client.
1999-03-05 07:27:58 +00:00
mycroft
c6d172438d
Minor cleanup to use LONG_SUM() and CALC_SUMD() more.
1999-03-05 07:27:09 +00:00
mycroft
f3df26f6f3
This is sort of gratuitous, but...
...
Strip the leading path off of init's argv[0].
1999-03-05 07:26:21 +00:00
scottr
2ea6ea5db5
Add the PowerBook 170 to what appears to be the correct
...
class of systems, based on the Apple dev notes for this system.
1999-03-05 06:45:41 +00:00
scottr
44a3f70740
Remove ADB_DEBUG; it's not fatal, but it adds a bunch of code that's
...
disabled by default.
1999-03-05 06:33:18 +00:00
tsubai
5023765f61
Adapt Open Firmware 3.x. 1.x and 3.x are not bug-compatible...
1999-03-05 06:21:17 +00:00
tsubai
4bdf0d9244
Modify parseargs() so that device names can contain '-'.
1999-03-05 06:18:38 +00:00
tsubai
c6a8ff5d24
RSS accounting.
1999-03-05 06:11:18 +00:00
tsubai
96f0fb14a1
Add RSS accounting.
1999-03-05 06:10:48 +00:00
lukem
6bf077c969
support BUFCACHE (a la the work i did for the i386, etc)
...
XXX: this worked a while ago when i last tested, but i haven't
compiled it recently. the code looks sane, however
1999-03-05 03:26:36 +00:00
kleink
9fe70fa4aa
Need to include DDB headers only if DDB is defined.
1999-03-04 23:18:28 +00:00
christos
4b494ca224
Fix the symbol reading problem...
1999-03-04 20:46:23 +00:00
is
946db35c9b
Modifications to aucc.c for more input formats and 14bit stereo output.
...
By Bernardo Innocenti, submitted as PR 6787.
Some KNF-ifying done by myself, so you might want to blame me instead
if the original patch worked for you.
-is
1999-03-04 20:45:01 +00:00
dante
199f99d192
fix second level interrupt handler to allow 64 bits pointers
1999-03-04 20:15:53 +00:00
drochner
66f3455141
make the mipse[lb]->mips translation really work
...
(the S/// doesn't work as I'm now telling the 3rd time),
put the translation onto a separate line to make it more understandable
1999-03-04 19:46:09 +00:00
dbj
bb8f1300ce
moved declaration of nextdma_intr into correct header file.
1999-03-04 14:18:25 +00:00
gwr
3828f3a600
Add idprom.c and libsa files that are now separate
...
(sprintf.c subr_prf.c ...)
1999-03-04 08:19:38 +00:00
gwr
8cf14656b3
On Sun3X machines, use the PROM sif_macaddr function,
...
but only on PROM 3.0 or later. With older PROMs, ask
the idprom module to find it (just like on the Sun3).
1999-03-04 08:13:42 +00:00
gwr
631e2be71e
Separate checksum function from the fetch/copy functions.
...
Compute the checksum on only IDPROM_CKSUM_SIZE bytes.
1999-03-04 08:06:59 +00:00
gwr
78eab1b1b9
Replace sun3_etheraddr with sun3_getidprom (used by idprom.c)
1999-03-04 07:56:41 +00:00
chs
0c38ab98fa
fix printf arg types.
1999-03-04 06:48:54 +00:00
chs
381e042ff6
fix printf format types.
1999-03-04 06:48:15 +00:00
chs
ae4890afdf
fix printf format types and other stale DEBUG code.
1999-03-04 06:47:21 +00:00
chs
6b8f2e95a4
fix printf format types.
1999-03-04 06:46:23 +00:00
gwr
69dc3a4695
Add IDPROM_CKSUM_SIZE
1999-03-04 05:57:18 +00:00
mjacob
d7e48cb804
adjust format args for compiler changes
1999-03-04 02:38:31 +00:00
mjacob
fefcc128bf
a kindler gentler fix
1999-03-04 02:38:19 +00:00
mjacob
7790083b17
adjust format args for compiler changes
1999-03-04 02:20:13 +00:00
mjacob
7c785b8a35
Well, sizeof needs to be printed with a %lu- I guess not many people build
...
debug kernels!
1999-03-04 02:16:56 +00:00
nisimura
7c40ddedec
- Nuke old leftover. This has no useful information and not used by any
...
other files.
1999-03-04 01:48:09 +00:00
nisimura
439c3fc0cb
- Nuke "PMAD-BA " match string because it is an internal name of IOASIC
...
assisted LANCE circuit found only in IOASIC DECstations. This file is
for 3MAX builtin and PMAD-AA TURBOchannel option card.
1999-03-04 01:39:04 +00:00
tron
6b8842ab8e
Include "bsd.prog.mk" earlier so that "CFLAGS" doesn't get clobbered.
1999-03-03 20:32:58 +00:00
tron
d897bddc77
Fix creation of keymap files.
1999-03-03 19:54:05 +00:00
leo
206c18b1cb
Dump max. datasize (MAXDSIZ) to 64MB and decouple the maximum stack size
...
(MAXSSIZ) from the MAXDSIZ.
1999-03-03 16:25:01 +00:00
dbj
1f4e96b222
continued experimentation trying to understand why we drop
...
scsi write completion interrupts (the dma appears to complete ok)
Now copy read tail buffer after we bus_dma_sync it and not before.
1999-03-03 16:02:23 +00:00
pk
80b321b11a
sparc => __sparc__
1999-03-03 12:58:14 +00:00
jonathan
3eeb52dee0
Makefile ${MACHINE_ARCH} changes for mips{eb,el}, as suggested by
...
Izumi Tsutsui <tsutsui@ceres.dti.ne.jp>
1999-03-03 12:00:18 +00:00
simonb
5129c4fcd5
Fix spel in comment.
1999-03-03 06:46:02 +00:00
nathanw
bd7b26e37d
Add ISA attachment for ess chips.
1999-03-02 20:42:10 +00:00
nathanw
64fffdfef9
Add support for the 1788 AudioDrive chip.
...
Some minor cleanup; refer to more registers by macros rather
than raw hex constants.
1999-03-02 20:36:50 +00:00
itohy
cfcb284c09
cachectl -> cachectl1
1999-03-02 18:22:29 +00:00
itohy
a2bbc02716
Fix parameter type mismatch.
1999-03-02 18:18:38 +00:00
pk
cf93b65b10
Print version prettier.
1999-03-02 13:41:03 +00:00
pk
e2909faa19
Sanatize consinit() a bit.
1999-03-02 13:40:05 +00:00
jonathan
74c847de33
Fix up eliding nested interrupts.
1999-03-02 12:23:58 +00:00
dbj
e7058e7205
turn on diagnostic check in dma for controller bits at shutdown.
...
adjusted esp overrun to avoid diagnostic check triggering.
1999-03-02 12:11:24 +00:00
jonathan
19ad1c6c19
Re-enable 3MIN clock intrs after servicing. Prepare to do same for ttys.
1999-03-02 09:37:35 +00:00
jonathan
004971519d
Do callouts for IOCTL asic lance interrupts before SCSI callouts.
1999-03-02 09:24:17 +00:00
sommerfe
4e5d074ea4
Welcome to 1.3K (due to the lock.h change)
1999-03-02 08:04:06 +00:00
fvdl
31289a4af8
Fill in vnodecovered in the mount structure before calling VFS_MOUNT anyway,
...
some things (e.g. unionfs) may depend on it. It's currently ok
for vnodecovered to be set already; it's not for v_mountedhere in
the vnode, though.
From John Darrow.
XXX should probably just extend VFS_MOUNT to take the vnode pointer as
an argument.
1999-03-02 07:47:49 +00:00
oster
98d8c12355
Update for recent changes including component label support, clean
...
bits, rebuilding components in-place, adding hot spares, shutdownhooks, etc.
1999-03-02 03:18:48 +00:00
nisimura
370ab4d04e
- Make compilable with DECstation. Looks running well on MI SCSI enabled
...
kernel. Will be relocated to sys/dev/tc/ soon.
1999-03-02 01:44:30 +00:00
nisimura
e19cedee17
- Make sfb_emulops standard feature of sfb wscons. Scrolling is now
...
acceptable. Still lacks of horizontal copy and glyph rendering with
SFB ASIC assistance. TGA could be benefitted in the similiar way.
1999-03-02 00:22:42 +00:00
thorpej
673ddc8f39
Style nits in last.
1999-03-01 22:24:53 +00:00
scottr
624b6ac9a6
Implement the BUFCACHE kernel config option.
1999-03-01 21:32:24 +00:00
matthias
470ebb82a6
Define PMAP_NEED_PROCWR and make pmap_procwr flush the icache.
...
Thank's to Ignatios Souvatzis noticing this.
1999-03-01 14:27:59 +00:00
simonb
1397fd691b
fix spel.
1999-03-01 12:46:16 +00:00
simonb
d9c1c30e0e
If we get an error (file or bootblocks too big), unlink xxboot and
...
bootxx and exit(1) so a make will fail. Especially in the too big
case, we don't want a make to work!
1999-03-01 11:52:34 +00:00
mark
98c62c02c3
Since all the calls to the postmortem debug code have been removed by
...
various folks, the actual code can be removed as well.
1999-03-01 10:01:52 +00:00
jonathan
0d4c6bb54a
Recalibrate MIPS3 delay constants.
...
XXX mips4, faster clocks than 100MHz?
1999-03-01 08:37:05 +00:00
mark
d4a3aa46b4
Add support for tracing other processes with trace /t.
1999-03-01 05:48:31 +00:00
simonb
19893da01b
Add a callback to the PROM routine clear_cache. Not needed now, but
...
used in two-stage bootblocks.
1999-03-01 04:05:18 +00:00