Commit Graph

38946 Commits

Author SHA1 Message Date
is 9172c5b451 P5 board clock decoding. 2000-06-19 19:49:51 +00:00
tsubai 1155f3af58 Allow mmap of frame buffer registers. 2000-06-19 19:35:20 +00:00
pooka 7747299e6d Correct situation where vnode was left hanging around when trying to
mount a filesystem with securelevel 2. A second mount-attempt left
everything completely frozen.

Fix by Bill Sommerfeld.
2000-06-19 18:53:55 +00:00
augustss 4f82723a61 Regen. 2000-06-19 14:58:37 +00:00
augustss e38812aaad Add XTNDAccess IrDA. 2000-06-19 14:58:02 +00:00
simonb 8e0ec9a961 s/ouwl/outl/ in macro definition. 2000-06-19 12:19:38 +00:00
augustss 88e928528c Unswap functiona arguments that got swapped during ANSIfication. Now
mixer controls work again.
2000-06-19 11:43:48 +00:00
msaitoh 03cf0ea64a clear ORER, FER and PER bit of the SCSSR reg.
(This bits aren't cleared automatically)
2000-06-19 09:32:00 +00:00
msaitoh 4d2677e3a0 clear the ER bit of the SCSSR2 reg.
(This bit isn't cleared automatically)
2000-06-19 09:30:35 +00:00
matt 1293f1b88b Rename ncr[5380] device to si to more consistent with other ports.
Add VAX660 to cputype.h.  Remove needs-flag from si & asc entries.
2000-06-19 04:22:14 +00:00
itohy 39c5d5c7a4 Store return value to a0 before calling CERROR function if __SVR4_ABI__. 2000-06-19 03:43:12 +00:00
itohy db3aed16df Fix weird macro definitions.
They are internal use only and the typos are no harm, you know. :)
2000-06-19 03:42:31 +00:00
cyber 099ead3895 increase size to allow for dhclient 2000-06-18 23:53:32 +00:00
fvdl 51e81216d1 Rearrange previous slightly to avoid getting values that are too low;
the only goal here is to leave some space for the stack.
2000-06-18 23:03:45 +00:00
scottr fbafc16812 Revert debug-related bogon that snuck in (no change in functionality). 2000-06-18 22:58:45 +00:00
matt 955a631ce4 We use opt_cputype.h now. 2000-06-18 22:47:19 +00:00
pk d982283952 vme4_dmamap_[un]load: ensure enough DVMA space is allocated to cover the
buffer and store that amount in the DMA map to avoid re-computation.
Also add a cache flush as the bus_dmamap_sync() don't do that yet.
2000-06-18 19:30:21 +00:00
pk 5f887c484e The sparc clients of this driver (si & sw) now use bus_space_*(). 2000-06-18 19:22:33 +00:00
pk a29dc4045f Conversion to bus_space*(). 2000-06-18 19:19:53 +00:00
castor 512723f616 Fix integer overflow in calculation of VM_MAX_KERNEL_BUF. 2000-06-18 18:29:04 +00:00
minoura fa85bf07cd Enable INET6. 2000-06-18 10:30:35 +00:00
mrg cafc122317 catch up with fpu changes. 2000-06-18 08:13:45 +00:00
mrg f44ba0a4dc back out part of previous. 2000-06-18 08:13:26 +00:00
mrg fab0adad15 iommu_flush becomes iommu_strbuf_flush cuz that's what it does. 2000-06-18 07:17:40 +00:00
mrg 70a9c29b9b give BSDB_MAP a value. add a shushing cast. 2000-06-18 07:13:41 +00:00
mrg b6026e7c35 kill dead code. 2000-06-18 07:12:39 +00:00
mrg fde87ed5d6 add a (u_long) cast for quietness 2000-06-18 07:10:23 +00:00
mrg 0bd5307bf8 remove an unused variable. 2000-06-18 07:05:09 +00:00
mrg 9105157268 duplicate "file" should only include "compile-with" 2000-06-18 07:03:35 +00:00
mrg 4f9416205c update to reality 2000-06-18 07:02:04 +00:00
mrg e36a32c98f obsolete these; use the merge sparc version. 2000-06-18 06:58:30 +00:00
mrg 41d83cead7 use arch/sparc/fpu 2000-06-18 06:57:15 +00:00
mrg feddb7ad96 merge in ultrasparc changes 2000-06-18 06:54:17 +00:00
simonb 58d0ed9dd2 Set p->p_addr to NULL after it gets freed. 2000-06-18 05:20:27 +00:00
fvdl 8dde6d4336 Account for the stack when computing the base va. This makes the
bootblocks work again on the 4/110.
2000-06-18 02:25:17 +00:00
tsubai ce3ea53415 Remove "options NFS_BOOT_BOOTPARAM" to fit 1.4M floppy.
(still have NFS_BOOT_DHCP)
2000-06-17 21:44:46 +00:00
matt 215470b24c Ansify before committing my next change. 2000-06-17 20:57:20 +00:00
deberg e7009646cf my development machine 2000-06-17 20:57:12 +00:00
scottr cee7249423 Since interrupts are now enabled during ADB autoconfig, it's possible to get
a keyboard event before wskbd is attached. Make sure we've done that before
passing an event to kbd_intr(), which in turn hands off to wskbd_input().
This is another part of the fix for PR 10086.
2000-06-17 18:00:47 +00:00
scottr 6f644439a9 Only the first device that we're sure is a keyboard should be attached
as the wskbd console device.  (Part of the fix for PR 10086.)
2000-06-17 17:46:40 +00:00
shin 0e04419b62 for size reduction.
out:
	SCSIVERBOSE
	QUOTA
	ccd

we support CD-ROM drives, so CD9660 is necessary.
in:
	CD9660
2000-06-17 10:53:05 +00:00
soda d09614e559 reflect reality 2000-06-17 09:18:39 +00:00
soda 5294792417 - vga/pckbc attachment for jazz internal bus of Magnum derived machines
(including Pica, NEC RISCstation/RISCserver).
 - TGA console initialization for NEC RISCstation 2250,
   contributed by Shuichiro URATA <ur@a-r.org>
2000-06-17 07:29:06 +00:00
soda 2c9c6b6b06 vga/pckbc attachment for jazz internal bus of Magnum derived machines
(including Pica, NEC RISCstation/RISCserver).
2000-06-17 07:28:07 +00:00
soda 49e5e09389 TGA console initialization for NEC RISCstation 2250,
contributed by Shuichiro URATA <ur@a-r.org>
2000-06-17 07:25:57 +00:00
soda 5175a6121b vga/pckbc attachment for jazz internal bus of Magnum derived machines
(including Pica, NEC RISCstation/RISCserver).
2000-06-17 07:23:05 +00:00
soda 6f16c304e1 vga/pckbc attachment for Jazz-Internal Bus of Magnum derived machines
(including Pica, NEC RISCstation/RISCserver).
2000-06-17 07:17:36 +00:00
soda 849b74a926 add vga_extended_attach function on arc port, to make mmap() available.
XXX - is it better to remove "#ifdef arc"?
2000-06-17 07:11:50 +00:00
soda 7c109ba712 fix serious inconsistency against -current isa. 2000-06-17 06:58:35 +00:00
soda 0b46102cb6 mention recent (but before _MIPS_PADDR_T_64BIT and MIPS3_TLB_WIRED_UPAGES
changes) instability on PICA and NEC Image RISCstation.
2000-06-17 06:56:20 +00:00
cgd 942546fe30 cod: any of various bottom-dwelling fishes (family Gadidae, the cod
family) that usually occur in cold marine waters and often have barbels
  and three dorsal fins.
code: a set of instructions for a computer.

The latter is more appropriate in the comment corrected here.
2000-06-17 06:38:25 +00:00
matt 2a744b7dce Remove a blank line at the end. 2000-06-17 06:19:03 +00:00
jhawk a639b800ee In db_command(), fix indentation and add a missing db_skip_to_eol() which
previously caused the next command following a ","-style repitition
to not be properly executed.
2000-06-17 05:57:41 +00:00
cgd 79d0534b05 put cache op #defines up at the top of the file, so all cache ops can
use them.  Rename them to match the names in See Mips Run; they're not
as orthogonal as values or'd together might make you think...  Finally,
actually use them for every bloody cache op.
2000-06-17 01:35:28 +00:00
matt 4e6d07206d make printf happy. 2000-06-17 01:05:11 +00:00
matt ff76991706 Add an installboot. 2000-06-17 01:01:06 +00:00
matt 94956e7869 Adjust this a bit so that the primary entry point is 0x200, not 0x0a. 2000-06-17 01:00:17 +00:00
matt 4343326b78 Add an installboot(8) for vax. This is needed so the VAX can do multiboot
CDroms.
2000-06-17 00:59:24 +00:00
cgd eee18e1f6c beat back the undead: __BROKEN_INDIRECT_CONFIG had risen, and was
terrorizing innocent hackers...
2000-06-16 23:41:33 +00:00
matt 6bda02ae4b Fix typo. 2000-06-16 23:33:47 +00:00
matt 8b48fb7c45 This file now lives is sys/dev/dec. 2000-06-16 23:28:52 +00:00
matt 6868f0a894 Use <dev/dec/dec_boot.h> instead of <machine/dec_boot.h> 2000-06-16 23:27:23 +00:00
matt 1976bfc798 Use <dev/dec/dec_boot.h>. Use *le32* to set boot block info. XXX Needs to
use *le32* to read ELF bootstrap file.
2000-06-16 23:24:30 +00:00
matt bd24eacf64 Move dec_boot.h to here from arch/pmax/include and add the VAX boot block
info.  Eventually Alpha boot block information as well.
2000-06-16 23:09:57 +00:00
is 84f54d4e80 Define schedstate_percpu. 2000-06-16 21:36:09 +00:00
matt e21a3d997c Don't copy M_EXT mbufs unless in "dhcp" mode. Do a mtod after the pullup
to make sure the ip pointer is still valid.
2000-06-16 20:21:26 +00:00
matt 485dc14ad7 No real change. Alphabetize the list of directories. 2000-06-16 19:33:50 +00:00
minoura 238f799ff3 Print newline while attach. 2000-06-16 17:15:54 +00:00
mrg 8c758332be in extent_alloc_subregion1(), check for EXTENT_ALIGN() overflow when
doing the boundary-case check.  approved by thorpej.
2000-06-16 16:48:56 +00:00
tsubai 96964a6455 Use ether_crc32_le(). 2000-06-16 14:18:55 +00:00
pk 6e94b922a1 Comply with bus_dma(9) specs. 2000-06-16 11:47:34 +00:00
hubertf 80365fb67d Change comment: APM_POWER_PRINT _does_ print stats on the console. 2000-06-16 10:31:03 +00:00
soren 0011842ea8 Regen. 2000-06-16 08:13:50 +00:00
soren 567c710f2b Add some S3 chips. 2000-06-16 08:13:25 +00:00
matt bd160eabec these are obsolete now that vax uses sysinst. 2000-06-16 06:36:45 +00:00
matt 1e3f670589 This file now lives one level down in common. 2000-06-16 06:35:12 +00:00
matt 2aaf9eb5c7 now lives one level down in boot. 2000-06-16 06:33:22 +00:00
perseant da29133e76 make it compile (fix typo) 2000-06-16 05:45:14 +00:00
soren 05be24734c Correct. 2000-06-16 04:15:39 +00:00
soren 19a36d4e26 Add table of IP number / model name. 2000-06-16 04:06:53 +00:00
thorpej 9424f6fe54 Update with reality. 2000-06-16 03:49:12 +00:00
thorpej ff36cd64b7 Rearrange the npx driver a little to allow for multiple attachments
and add a pnpbios atttachment for it.
2000-06-16 03:47:24 +00:00
matt aef5a7aa9a Allow dynamic twiddling of debug messages.
Fix printf problem when printing debug messages.
fix coff shlib loading.  Add a few sanity checks.
2000-06-16 01:56:36 +00:00
simonb cd36ac22df Add #ifdef checks for SYSVMSG, SYSVSEM and SYSVSHM in more places to catch
when some but not all of the SysV IPC facilities are configured.
Problem noticed by Phil Nelson.
2000-06-16 00:57:04 +00:00
matt 1b5bc7ce61 ignore the softdep flags when mounting and there's no softdep in the kernel. 2000-06-16 00:30:15 +00:00
simonb 00d1b6b147 Add a KERN_MSGBUF sysctl to return the message buffer. 2000-06-16 00:18:09 +00:00
cgd 433fe9077e when printing the cpu_id (because it's unknown or not supported),
print the whole PRID value.  Also, print the PRID value in addition to
the name, when the CPU is known (for data collection purposes).
2000-06-15 23:39:14 +00:00
fvdl 4f11634756 Allow MNT_SOFTDEP to be passed in via the mount(2) system call, do not
require it to be set via tunefs(8). Silently ignore it when doing
an update mount of a writeable filesystem, the FFS/softdep code isn't ready
for this yet.
2000-06-15 22:35:37 +00:00
fvdl 4fbe4a470d Enable passing of the MNT_SOFTDEP flag in the mount system call. 2000-06-15 22:32:44 +00:00
soren 18b4be2a92 Update from Onno:
- Add a tr_reopen() and use that instead of tr_init() for callouts.
- As tr_reinit() and tr_reopen() are used as callouts, protect them at splnet.
2000-06-15 19:55:27 +00:00
ragge 53cc7ebe6b Standalone device driver for DEBNx (ni) ethernet controllers. 2000-06-15 19:53:23 +00:00
ragge 8767feaaff Recognize "ni" as boot device. 2000-06-15 19:49:37 +00:00
tsubai 2931ec17b7 Forgot to commit this. 2000-06-15 19:09:15 +00:00
ragge 8aeaa34651 "files" file for the XMI bus. 2000-06-15 19:01:33 +00:00
tsubai 736d4273e2 Implement multicast address filter. (Stolen from hme.c) 2000-06-15 18:36:52 +00:00
mrg f007a974bb turn off softdep for now; we have enough other things to worry about. 2000-06-15 18:23:52 +00:00
abs 573c583527 If any config file here ever deserved NFS_BOOT_DHCP,NFS_BOOT_BOOTPARAM, it
would probably be DISKLESS. Make It So. Also retire UNDERWORLD as I'm no
longer at Dreamworks with those delightful old ex-NeXTStep P133s.
2000-06-15 18:16:10 +00:00
augustss fca2f40972 Regen. 2000-06-15 17:58:45 +00:00
augustss 032bdde358 Add Compaq's Personal Jukebox (I got one as a birtday present!) 2000-06-15 17:58:14 +00:00
mrg eccc09d9de fix a couple of errors in the previous. from eeh. 2000-06-15 15:51:07 +00:00
oki 37ebc7e168 Fix copyright notice. This file is derived from
compat/ibcs2/ibcs2_exec.c, keep the copyright notice.
2000-06-15 15:37:05 +00:00
pk 297445c2a2 Turn on the hash filter enable bit in the RX configuration register
when loading the multicast hash filter (noted by itojun@iijlab.net).
2000-06-15 15:34:32 +00:00
pk 98726268ee Remove pointless debugging check. 2000-06-15 14:42:32 +00:00
pk cc9163a28a Enable DMA interrupts. 2000-06-15 14:27:07 +00:00
mrg e26f7acd77 my Ultra-1 2000-06-15 13:50:20 +00:00
itojun 43eb8dd0d2 correct compilation without IPSEC_ESP.
From: Matthias Drochner <M.Drochner@fz-juelich.de>
2000-06-15 13:44:22 +00:00
is d139625de5 Fix for two bugs discovered by Gunther Nikl:
- missing printf parameter
- error in DraCo detection
2000-06-15 13:43:35 +00:00
mycroft ba354a1800 Disable pmap_copy() for now. 2000-06-15 13:35:27 +00:00
shin 5ded3d8a81 backout previous change.
cache operation in cpu_fork() is necessary for CPU's which
detect virtual alias by hardware (ex. R4000 with secondary cache).
2000-06-15 13:04:05 +00:00
itojun f982a33213 correct ordering mistake in SADB_DUMP.
correct bug in key length management in SA database.
improbe mbuf printing (for debugging only).
2000-06-15 12:37:07 +00:00
pk 752b4566c4 bus_dmapmap_create: boundary must be 0, not NBPG. 2000-06-15 12:12:05 +00:00
itojun 00dc400bb3 correct port number matching (src/dst mixup). 2000-06-15 05:50:22 +00:00
itojun 90ca25568b remove obsolete sysctl MIB net.inet.ipsec.inbound_call_ike.
(sync with kame)
2000-06-15 05:01:06 +00:00
matt 91e31abb8a Add preliminary ieee1212reg.h (csr architecture which is the base spec for
1394).
2000-06-15 03:43:40 +00:00
soren d157be73ff Update from Onno: add media selection. 2000-06-14 22:54:37 +00:00
soren a9bf75bb59 Use more constants and clean up a bit. 2000-06-14 22:32:20 +00:00
thorpej 839042fb97 Don't have an xi in this machine. 2000-06-14 22:29:03 +00:00
thorpej 01ae72fdf9 Enable uhid. 2000-06-14 22:28:13 +00:00
soren a8b7b64af8 Remove unnecessary HitFlushCache from cpu_fork(). From Toru Nishimura. 2000-06-14 22:17:59 +00:00
veego 223d7455c7 Remove the obsolete config fragments for kernel crypto, because the IPsec
crypto code is now in the kernel source tree.
2000-06-14 22:02:13 +00:00
thorpej eca2a0a5f0 Add IPsec ESP and crypto files. 2000-06-14 19:47:12 +00:00
thorpej 599c8087c7 Import the IPsec crypto code from netbsd-cryptosrc-intl. 2000-06-14 19:45:33 +00:00
thorpej 1b8ede9f7c Import IPsec ESP from netbsd-cryptosrc-intl. 2000-06-14 19:39:42 +00:00
soren 1c539dbc3a Remember T-shirt. 2000-06-14 17:57:59 +00:00
thorpej 17de155949 Make sure we use firmware->host communication channel in cz_intr(), from
Bill Studenmund.
2000-06-14 17:54:33 +00:00
soren f12e2b4dd2 Simple GIO glue. 2000-06-14 16:50:58 +00:00
soren 8da77e0dfb Reenable hard interrupts before processing soft interrupts. 2000-06-14 16:40:58 +00:00
soren 8c4f5e53b2 Include registers. 2000-06-14 16:32:22 +00:00
soren 4a45886c8d A start at O2 support.. 2000-06-14 16:13:53 +00:00
veego 4fc3cd3c3d We don't need my name in this file. 2000-06-14 16:11:24 +00:00
soren 6c3d30d224 Initial commit. 2000-06-14 16:06:57 +00:00
soren 891194e10f Initial commit. Needs work. 2000-06-14 16:02:38 +00:00
soren aa6a4db574 No real need for explicit stride on Mace ISA extension. 2000-06-14 15:56:21 +00:00
soren b6609726af Dummy. 2000-06-14 15:51:28 +00:00
soren 9212bf659c XIO device ids. Nothing here yet. 2000-06-14 15:49:07 +00:00
soren abe9dea12f Initial commit. 2000-06-14 15:39:55 +00:00
soren ab26c447f4 Initial commit. 2000-06-14 15:32:11 +00:00
jhawk e4c99458f4 If comprobe1() fails, print a message. Otherwise one gets the xname
prepended to the next configure device, i.e.

com1lpt0: at pnpbios0 index 18 (PNP0401)
2000-06-14 15:15:43 +00:00
itojun dafb757588 add algorithm name into algorithm table. (commit to crypto-intl will follow) 2000-06-14 11:27:35 +00:00
pk f67e2cd132 Eliminate a race condition reported by mouse on port-sparc. 2000-06-14 08:01:26 +00:00
mycroft fbb147f69b Check the multicast bit in the header mbuf while interrupts are still blocked.
Otherwise we can run off into space if the packet was sent immediately and the
mbuf freed.
Pointed out by Boris Popov (not on our lists).
2000-06-14 05:10:27 +00:00
itojun 186948075c remove too strong assumption on mbuf length.
the previous code choked if large policy entry is injected with "spdadd"
subcommand in setkey(8).
2000-06-14 03:16:23 +00:00
soda c521ba58c1 yet another change for NEC RISCstation 2250 of arc port. 2000-06-14 00:34:33 +00:00
tron 3e3d2d7344 Regen. 2000-06-13 22:44:51 +00:00
tron d643d25eb9 Add CMD PCI0648. 2000-06-13 22:44:19 +00:00
cgd ef767ee388 Replace my personal attribution string ("This product includes software
developed by Christopher G. Demetriou for the NetBSD Project.") with
a generic NetBSD one ("This product includes software developed for the
NetBSD Project.  See http://www.netbsd.org/ for information about NetBSD.")
so that this same set of terms can be used by others if they so desire.
(Eventually i'll be converting more/all of my code.)
2000-06-13 22:36:16 +00:00
soren 0ea5e0720a IBM Tropic Token Ring PCMCIA attachment. XXX Needs work.
Many thanks to Onno van der Linden for his help in getting this working.
2000-06-13 20:03:47 +00:00
soren ca34a6a69a Call frontend enable/disable functions in the ioctl path.
Use _sc prefixes for some softc members.
A few minor cleanups.
2000-06-13 20:00:02 +00:00
itojun af9d516560 signedness issue with char, take 2. confirmed with i386 cc -funsigned-char. 2000-06-13 17:31:37 +00:00
nathanw a5598651e8 Arrange to use the right RAMDAC cookie at console initialization time.
[I thought I committed this months ago....]
2000-06-13 17:21:06 +00:00
thorpej fe8841f18a Some platforms, like the Sable, hook EISA and ISA interrupts
up Very Differently.  Handle this.
2000-06-13 16:40:37 +00:00
itojun c6a8ca266b workaround to suppress warning on char == unsigned char arch. 2000-06-13 16:34:37 +00:00
soren 45bdc51fa2 Regen. 2000-06-13 15:37:29 +00:00
leo 3e4dbe0e25 Throw in a bunch of _C_LABEL macro's. (Hi Klaus ;-) 2000-06-13 14:48:44 +00:00
itojun 0455eac327 do not use cached route if the route becomes !RTF_UP.
make the validation for jumbo payload option more strict.
2000-06-13 14:43:44 +00:00
bouyer 22a10be43e sheduler->scheduler, as pointed out by Klaus Klein 2000-06-13 13:59:15 +00:00
ad 3553879fc2 Use my proper name. 2000-06-13 13:36:42 +00:00
minoura d4d1b4cce4 Argument modreg of fpu_decode_ea() is actually an opecode.
That bug prevented awk(1) to work.
2000-06-13 12:28:13 +00:00
chs b4aac1046f round the sizes of mapped text and data segments to PAGE_SIZE.
fixes PR 10079.
2000-06-13 06:21:51 +00:00
tron 447112b869 Add entry for "bba(4)". 2000-06-13 06:15:51 +00:00
matt 0aa592b979 Add a table of calibrations. The MCR_500 one (640x240) makes the MCR_700A
(800x600) almost unusable.  Now the 700A has it's own.
2000-06-13 05:59:55 +00:00
eeh 3517559eb5 Missing paren. 2000-06-13 05:04:05 +00:00
itojun 36887242d7 add sanity check on in6_ifaddr. 2000-06-13 04:35:29 +00:00
chs ded9898d88 make sure that the size we pass to uvm_map() is a multiple of PAGESIZE.
this should fix PR 10175 and prevent the panic of PR 10079.
2000-06-13 04:25:31 +00:00
chs e72214422a initialize aref.ar_pageoff even if there's no amap. 2000-06-13 04:10:47 +00:00
itojun fa24d1db9b make sure to link new in6_ifaddr to if_addrlist. 2000-06-13 02:54:11 +00:00
soren a6c8d6231e Regen. 2000-06-13 02:18:19 +00:00
soren d15c2a6a04 Include vendor name for IBM products. 2000-06-13 02:18:00 +00:00
simonb e907fee281 In the KERN_GETPROC* handler:
* Handle KERN_PROC_SESSION that has been defined in <sys/sysctl.h> from
  day one.
* Add handlers for KERN_PROC_GID and KERN_PROC_RGID.
* If "op" doesn't valid, return EINVAL.
2000-06-13 01:27:00 +00:00
sommerfeld 9769dedd5b Let this build on LP64 if DEBUG is defined. 2000-06-12 23:45:45 +00:00
castor 751cd4ffb0 Profiling fixes from Ethan Solomita <ethan@geocast.com>.
Merge Kernel MCOUNT and user MCOUNT.

The earlier code which was inserted to call _mcount in profiling
assembler routines is busted badly.  This gets it working with PIC
code and should work with any arbitrary assembler routine.
2000-06-12 23:42:10 +00:00
matt 58ca6aac15 Add netbsd.alpha & netbsd.alpha.gz for installation cds. 2000-06-12 23:38:03 +00:00
sommerfeld 4a9abf779e Fix this so it compiles again with DEBUG 2000-06-12 23:35:11 +00:00
eeh fb0404cc75 Start reorganizing the kernel for MULTIPROCESSOR support. 2000-06-12 23:32:46 +00:00
eeh 65bca8bde2 Fix OF_val2sym and OF_sym2val. 2000-06-12 23:26:38 +00:00
eeh 3dfb9ee7ac More debugging support. 2000-06-12 23:20:54 +00:00
eeh 0146a569d2 Comment describing the IOMMU DVMA address space layout. 2000-06-12 23:19:05 +00:00
gmcgarry 6ab5c3364c - add mmap support
- correct bug which wouldn't free allocated DMA segments
2000-06-12 22:40:20 +00:00
eeh cc29e9b22c ebus_ca needs to specify enough memory to hold an ebus_softc, not a struct device. 2000-06-12 22:36:59 +00:00
nathanw 31c0cc5f46 Regen. 2000-06-12 22:33:41 +00:00
nathanw 72d31d8d37 Add AMD 79c978 PCnet-PCI Home. 2000-06-12 22:33:06 +00:00
bouyer 26bbb4f200 Regen. 2000-06-12 21:25:20 +00:00
bouyer 034590578d Shorter description for the HPT366 2000-06-12 21:25:01 +00:00
bouyer b21bc1b5b6 - add a pciide_irqack() callback, which clears the IDE DMA status bit once
the IRQ has been cleared on the drive.
- use pa->pa_class instead of re-reading PCI_CLASS_REG when possible
- Add support for Highpoint HPT366 and HPT370 (370 untested), based
  on patches from Roger Brooks  <R.S.Brooks@liverpool.ac.uk> posted on
  current-users Mach, 15. Given how Highpoint docs have been wrong for the
  366, the 370 is likely to not work.
  Thanks to Chris Cappuccio <chris@dqc.org> for sending me the Highpoint
  docs, and to Total Archive (http://www.totalarchive.com/) for sending
  me hardware.
2000-06-12 21:20:51 +00:00
bouyer 8642ac97bf Regen. 2000-06-12 21:12:59 +00:00
bouyer 1970e14b93 Add HPT366/370 device ID.
XXX Is 'TRIONES' the rigth vendor name ?
2000-06-12 21:12:30 +00:00
bouyer 12d3bf8c1a Add a callback (*irqack), for controllers that need special action to ack
the interrupt once it has been ack'd on the drive.
2000-06-12 21:10:40 +00:00
bouyer 221a99f782 Handle "scsi bus mode change" interrupts on 895 and higther.
Thanks to Hal Murray for reporting the problem and testing the fix.
2000-06-12 20:13:41 +00:00
soda 564faec22a shut up gcc warning: suggest explicit braces to avoid ambiguous `else'
from Izumi TSUTSUI <tsutsui@netbsd.org> and Shuichiro URATA <ur@a-r.org>.
2000-06-12 17:04:52 +00:00
soda 4412ca8455 <machine/cpuregs.h> was removed on March 30,
from Shuichiro URATA <ur@a-r.org>.
2000-06-12 17:01:05 +00:00
itojun 07098cd363 better conformance to draft-ietf-ipngwg-icmp-name-lookups-05.
the old code was chimera of 03 and 05 draft.

-n by default, since IPv6 reverse lookup takes too much time.
use -H to enable reverse name lookup.
2000-06-12 16:21:02 +00:00
sommerfeld c0011ad705 Fix several problems with lockf/fcntl byte range locks:
- document a data structure invariant in lockf.h
 - add KASSERT() to check the invariant.
 - be more consistent about dequeuing ourselves from the blocked list
after a tsleep().
 - Fix two places where the invariant is violated.
 - correct a few comments here and there
 - If we're still following a lock dependancy chain after maxlockdepth
processes and haven't gotten back to the start, assume that we're in a
cycle anyway and return EDEADLK.

Fix is a superset of an existing fix in FreeBSD, but independantly
derived.

Fixes kern/3860.
2000-06-12 14:33:04 +00:00
veego cb0489b10b Bump to 1.4ZD after IP Filter was updated to 3.4.6. 2000-06-12 13:55:07 +00:00
ragge 2df63a9cc1 Evil bug: sizeof(struct cpu_info) -> sizeof(struct ka820_softc). 2000-06-12 11:26:26 +00:00
ragge 8ea974e809 Put all cputype definitions in one file instead of separate files.
This was becoming unmaintainable.
2000-06-12 11:13:14 +00:00
ad 397fa0e4e2 Fix a couple of pastos. 2000-06-12 11:07:45 +00:00
itojun 8f26bbadf9 sync with latest kame tree (tiny update in IPv4 mapped issue) 2000-06-12 10:47:17 +00:00
veego ecbf42696a Remove a duplicated check for the NetBSD callout (I think it is a mistake
from a previous conflict resolve which doesn't cause harm).
2000-06-12 10:41:36 +00:00
itojun 92e64a4a0d sync with almost-latest KAME IPsec. full changelog would be too big
to mention here.  notable changes are like below.

kernel:
- make PF_KEY kernel interface more robust against broken input stream.
  it includes complete internal structure change in sys/netkey/key.c.
- remove non-RFC compliant change in PF_KEY API, in particular,
  in struct sadb_msg.  we cannot just change these standard structs.
  sadb_x_sa2 is introduced instead.
- remove prototypes for pfkey_xx functions from /usr/include/net/pfkeyv2.h.
  these functions are not supplied in /usr/lib.

setkey(8):
- get/delete does not require "-m mode" (ignored with warning, if you
  specify it)
- spddelete takes direction specification
2000-06-12 10:40:37 +00:00
veego 886013b9e7 Ups, forgot to resolve one place. 2000-06-12 10:29:36 +00:00
veego d6dd29c882 Resolve conflicts. 2000-06-12 10:28:20 +00:00
mrg 69d1f5db9d clean up cruft. 2000-06-12 05:31:30 +00:00
mrg fdfb59b4b9 ih_map & ih_clr are volatile. 2000-06-12 05:29:43 +00:00
mrg 9918c00a61 formatting nit. 2000-06-12 05:27:27 +00:00
mrg b9140fbc0c KNF a line. 2000-06-12 05:25:48 +00:00
mrg 305e44c869 check for when cnopen() will call itself recursively, and panic instead of losing badly. 2000-06-12 05:02:22 +00:00
soren 824923164c Attach to CS4610 with CS4236 codec in, well, CS4236 compatibility mode. 2000-06-12 03:43:54 +00:00
matt e4a7ab9905 Add latent entry for ochi usb devices on NEC MobilePro 800. 2000-06-11 23:34:31 +00:00
matt 7f40194cbc Make spl0 & spllowersoftclock return void. 2000-06-11 23:33:37 +00:00
matt 0dc4d9cf90 export bus.h 2000-06-11 23:32:55 +00:00
matt e910b71c73 Comment out asc0 for vs4000/90. remove slip/ppp. 2000-06-11 23:32:10 +00:00
matt 3dfb96fa8f Add local symlink so that machine & vax refer ../../include instead of the
system ones.
2000-06-11 23:30:35 +00:00
matt 232461e6be Add TLP_MATCH_*. Remove gm*. 2000-06-11 23:29:29 +00:00
matt 1881f3c3d2 Make this compilable on other than pmax. 2000-06-11 23:28:38 +00:00
thorpej 75975dd6c5 G/c some unneeded prototypes (functions don't exist). 2000-06-11 22:47:00 +00:00
thorpej 0531d2ddcb jensenio gets isadma_bounce attribute. 2000-06-11 22:45:44 +00:00
thorpej 91ed0189e8 Add Jensen files glue. 2000-06-11 21:25:23 +00:00
thorpej 99079f93c0 Add init glue for the DEC 2000/300 (Jensen). 2000-06-11 21:19:23 +00:00
fredb 1c3835d907 Enable "rnd" pseudo-device. It's no longer experimental, and works just
fine on mac68k.
2000-06-11 18:09:34 +00:00
scottr 50cde82828 Since interrupts are now enabled during ADB autoconfig, it's possible
to get a mouse event before wsmouse is attached. Make sure we've done
that before passing an event to wsmouse_input().
2000-06-11 17:26:47 +00:00
bouyer 7bb3d03448 Relax condition on 'sn' for atapi probe, it can be different from 0x1 with
some controllers/devices. Fixes a problem reported by Markus Illenseer.
2000-06-11 17:09:34 +00:00
tsubai 1bfa0fc6b6 Add cpu_counter(). 2000-06-11 16:32:42 +00:00
minoura 04dbfaae5b G/C of unused interrupt stubs, and other cleanups. 2000-06-11 14:20:45 +00:00
tsubai 94db0b8a37 Enable DMA transfer on obio IDE. 2000-06-11 10:56:16 +00:00
ragge 11b7c895aa Remove some unneeded code. 2000-06-11 10:40:06 +00:00
ragge fdc27c43a1 Fix booting from BI-based disks. 2000-06-11 10:39:26 +00:00
tsubai abc5d88356 Make this compile again. 2000-06-11 10:02:15 +00:00
veego 92c3e3856b Fix a comment. 2000-06-11 09:21:16 +00:00
veego 589a5222ec Remove the pcvt support. 2000-06-11 09:19:27 +00:00
ragge e7aefcd7ae Allow printf's from slave CPUs by stealing the v_putc function.
Easier than expected because the printout lock is hold in the higher levels.
2000-06-11 07:50:11 +00:00
assar 414facf403 bump version to 1.4ZC (changed vfs_getnewfsid) 2000-06-11 07:40:45 +00:00
assar 600b645470 bump version to 1.4ZC (changed vfs_getnewfsid) 2000-06-11 07:16:20 +00:00
oster 7a0d138818 Nuke a (mostly) now-incorrect comment. 2000-06-11 03:35:38 +00:00
sommerfeld c4ae18d047 Bitbucket MFS I/O after vfs_shutdown has started.. 2000-06-11 03:09:55 +00:00
mycroft 9884ae5ff6 Remove pcvt tentacles. 2000-06-11 02:41:10 +00:00
mycroft 6e7ce465e9 After almost 5 years, it is now time to decommission pcvt. Bon voyage. 2000-06-11 02:34:23 +00:00
sommerfeld ea313649ff defopt MIIVERBOSE 2000-06-11 02:13:34 +00:00
sommerfeld 82b38059d6 Let this build again after the pckbc_cnattach change 2000-06-11 01:59:26 +00:00
augustss ead295db1b Alphabetize. 2000-06-11 00:21:01 +00:00
eeh d26027dd5b Only use 32-bit addresses for all accesses that don't bypass the MMU.
Makes SBus work again.
2000-06-10 20:51:43 +00:00
ragge cc483219bc Must be able to compile without "mtc". 2000-06-10 19:44:55 +00:00
frueauf 3be3d75487 recently findroot() was changed to get no arguments, so remove the
arguments in the findroot() call withing cpu_rootconf().
2000-06-10 19:34:46 +00:00
sommerfeld e964d558a7 Fix assorted bugs around shutdown/reboot/panic time.
- add a new global variable, doing_shutdown, which is nonzero if
vfs_shutdown() or panic() have been called.
- in panic, set RB_NOSYNC if doing_shutdown is already set on entry
so we don't reenter vfs_shutdown if we panic'ed there.
 - in vfs_shutdown, don't use proc0's process for sys_sync unless
curproc is NULL.
 - in lockmgr, attribute successful locks to proc0 if doing_shutdown
&& curproc==NULL, and  panic if we can't get the lock right away; avoids the
spurious lockmgr DIAGNOSTIC panic from the ddb reboot command.
 - in subr_pool, deal with curproc==NULL in the doing_shutdown case.
 - in mfs_strategy, bitbucket writes if doing_shutdown, so we don't
wedge waiting for the mfs process.
 - in ltsleep, treat ((curproc == NULL) && doing_shutdown) like the
panicstr case.

Appears to fix: kern/9239, kern/10187, kern/9367.
May also fix kern/10122.
2000-06-10 18:44:43 +00:00
assar 6c734cd283 make vfs_getnewfsid only take one argument and fetch the name of the
filesystem from the supplied mount argument.  also make makefstype
take a const parameter.  update all the callers.
2000-06-10 18:27:01 +00:00
sommerfeld 8e8ecc1bb5 portability fix: when rotating, don't do shifts >= wordsize. 2000-06-10 17:01:15 +00:00
sommerfeld cb31de55ed In the "reboot" and (badly misnamed) "sync" commands, clear db_recover
before calling cpu_reboot() (which never returns) so we can debug
faults occurring in cpu_reboot().
2000-06-10 16:31:42 +00:00
ragge b826825917 Code to spin up other CPUs on a VAX 8200 system.
Haven't solved the printf() problem yet, though.
2000-06-10 14:59:38 +00:00
soda ef22daefd0 move address to resolve conflict with firmware working memory
of NEC RISCstation 2250, from Shuichiro URATA <ur@a-r.org>.
2000-06-10 12:56:45 +00:00
darrenr bae005d1db add icmpreturndatabytes kernel variable (default 8) which specifies the
number of extra data bytes to return in ICMP error messages.  This is
also available via sysctl as net.icmp.returndatabytes and is limited to
[8,512].
2000-06-10 12:39:19 +00:00
itojun 90fb69b2b2 sync with latest kame document.
- update 6to4 i-d #.
- update descr on source address selection.
2000-06-10 08:21:11 +00:00