Commit Graph

32613 Commits

Author SHA1 Message Date
joda
d9c500abb3 (cardbus_attach_card): don't mask everything *but* the latency timer 1999-10-27 14:01:04 +00:00
augustss
8ecf3c7c3e Add support for ES1371. From OpenBSD and Ezra Story <ezy@panix.com>. 1999-10-27 13:20:34 +00:00
augustss
91cbb40ee5 Add AC97 mixer/codec support. From OpenBSD and FreeBSD. 1999-10-27 13:18:02 +00:00
jdolecek
37c00e7548 minor cleanup of previous - avoid goto and code duplication 1999-10-27 13:17:46 +00:00
darrenr
d2c8da2c36 patch from Greg A. Woods to fix panic problems with code that attempts to
recover from failures to accept a socket successfully.  Problem suggested
by this:
> It would appear (from two "panic: closef: count < 0" failures in less
> than 12 hours) that Darren's fix to accept(2) for lost file descriptors
> isn't quite correct.  His fix inserts a call to closef() to handle one
> of several possible error conditions.  However everywhere else in the
> socket code in the same file where falloc() cleanup is necessary the
> function used is ffree().
1999-10-27 11:54:56 +00:00
simonb
87082426d7 Use the new ELF macros and structures from <sys/exec_elf.h> and not the
old ones from <mips/elf.h>.

XXX: If there's no MIPS API issues, {pmax,pica,newsmips,hpcmips,mips}/elf.h
can be thrown away...
1999-10-27 11:54:53 +00:00
nisimura
f476de66fe Use an MI routine in ioasic_subr.c. 1999-10-27 10:16:00 +00:00
haya
91b09f5b16 Change cardbus API. The first argument of cardbus_mapreg_map() is
changed to struct cardbus_softc * from cardbus_devfunc_t.  The old
function is renamed to Cardbus_mapreg_map().
1999-10-27 10:04:41 +00:00
haya
7b66141eed Use opt_cardbus.h for cardbus.c and opt_cardslot.h for cardslot.c.
Remove unnecessary include from cardbus.c.
1999-10-27 09:29:18 +00:00
simonb
8994bd9b3f Add a few comments from <mips/elf.h>. 1999-10-27 09:21:35 +00:00
nisimura
5cf97491d8 Add a temporary kludge to recognize PMAGD (HX+) as 'sfb' hoping 8bpp
configration of it is compatible enough with PMAGB-BA.
1999-10-27 04:32:35 +00:00
simonb
fb8de5803e Use ELFCLASS32 instead of ELFCLASS. 1999-10-27 03:28:54 +00:00
takemura
00d7e6697e Fix symbol names, Elf_e_indet and Elf_e_siz because sys/exec_elf.h was changed. 1999-10-27 02:22:21 +00:00
haya
0263d8db3d Do not stop no matter when pci_mapreg_map fails to map bridge socket
registers.  When it fails, reset Socket Base Address register and map
registers using rbus.
1999-10-27 00:48:36 +00:00
wrstuden
2f8d442b6a Up the size of the ifa_flags and ifa_refcnt from shorts to ints. Now will
deal correctly with more than 32767 routes out an interface.

Should close PR 7148 regarding problems when ifs_refcnt overflows.

Bump kernel version from 1.4L to 1.4M.
1999-10-26 22:32:44 +00:00
mjacob
fb6f289535 nuke a debug printout I thought was already gone 1999-10-26 22:23:20 +00:00
kleink
910cf4bd15 Add ELF64 versions of st_info manipulation macros I missed in previous. 1999-10-26 19:10:26 +00:00
drochner
29dd0803eb allow to wildcard the serial channel 1999-10-26 18:20:44 +00:00
drochner
0247fe44f6 regen 1999-10-26 12:35:14 +00:00
drochner
7254017312 remove duplicate entry 1999-10-26 12:34:41 +00:00
drochner
9eed0f5d8a change PMAF-F to PMAF-FA for consistency, add some more stuff 1999-10-26 12:23:13 +00:00
nisimura
95c618a810 - Fix bogus cursor drawn by sfb_cursor(). From eye-opening input from R.C.
Dowdeswell.
- Remove write memory barriers in sfb_copyrows() as dst. is always distant
  enough from src. for copying rows.
1999-10-26 10:57:04 +00:00
itojun
90fe937b44 disable ipflow (IPv4 fast fowarding) when IPsec is configured into the kernel. 1999-10-26 09:53:17 +00:00
cgd
c9c2181ed9 provide an __ELF__ version of _C_FUNC and _C_LABEL, convert the assembly
#defines in asm.h to use them, and convert code which needs to use C labels
to use _C_LABEL as well.  (I can't see any reason why the label vs. function
differentiation shouldn't be GC'd; i only added uses of _C_LABEL.)  This
should help if this port is converted to use ELF, and was checked by
compiling all kernels in arm32/conf (with some driver removals and some
MI header fixups re: common blocks) with an arm-linux ELF toolchain.
1999-10-26 06:53:41 +00:00
thorpej
909f85b9dd Add register prefixes. 1999-10-26 01:49:38 +00:00
itohy
cef3e31058 Fix the problem that single-step tracing of a trap instruction
drops the system into kernel debugger.
1999-10-26 00:20:34 +00:00
thorpej
3b435a7396 Add register prefixes. 1999-10-25 23:48:07 +00:00
wrstuden
092a6ee985 Since we don't put layered device nodes in the spechash hash chains,
initialize vp->v_hashchain to NULL.
1999-10-25 23:34:31 +00:00
jdolecek
5ab36cc0e0 ntfs_lookup(): use cnp->cn_proc as the third parameter to VN_LOCK(), so that
the code will DTRT on FreeBSD
1999-10-25 21:18:37 +00:00
jdolecek
9134b1791c partly backup previous: don't use LK_RETRY when calling ntfs_vgetex() 1999-10-25 21:17:21 +00:00
drochner
353a512c22 create "machine" symlink 1999-10-25 20:27:48 +00:00
drochner
b4fc704a74 avoid cast 1999-10-25 19:39:54 +00:00
drochner
87568e8d82 defopt the XNS protocol (options NS), clean up the use of related
option headers / defines
1999-10-25 19:18:10 +00:00
jdolecek
2e860c12d3 pass the lock flags in the NetBSD version of VN_LOCK(), VGET(),
VOP__UNLOCK() macros, g/c VOP__LOCK()
add some comments
use LK_RETRY flag as appropriate
g/c the FreeBSD vnode_pager_uncache() staff, as was done in FreeBSD tree a while
	ago (actually, when they merged the first round of NetBSD patches)
use VN_LOCK() & VOP__UNLOCK() consistently throughout the code instead
	of vn_lock() and VOP_UNLOCK()
minor whitespace changes
1999-10-25 19:08:26 +00:00
drochner
7a63478423 make the code which decodes the MAKEBOOTDEV()-style boot device
(as passed by the pre-1.3 bootloader) optional
1999-10-25 17:26:05 +00:00
drochner
0bd36d187b EXEC_ELF32 is already defined in std.i386 1999-10-25 17:13:45 +00:00
itojun
44a06d35fa use "options \t" instead of "options\t\t" to avoid change in column
when you comment an option out.
1999-10-25 16:47:03 +00:00
drochner
4cc6f12c09 Don't let loadfile_machdep.h make it to /usr/include - the i386
stand Makefiles already set up the compile environment so that
machine/loadfile_machdep.h can be found.
1999-10-25 15:12:16 +00:00
leo
c9a3053200 correct second argument of bus_space_unmap(). 1999-10-25 14:52:55 +00:00
drochner
e5f51da9de -mask interrupts w/o a handler
-update PIC _after_ the interrupt handler is linked into the chain
This fixes problems with dynamically installed interrupt handlers:
Interrupts were enabled before the handler was installed under some
circumstances (esp. on faster machines), leading to endless interrupt
handling.
1999-10-25 14:49:41 +00:00
kleink
c1e3cb4761 Wrap an otherwise unused variable inside #ifdef DIAGNOSTIC; from Ben Mesander
in PR port-mac68k/8513.
1999-10-25 14:31:50 +00:00
bouyer
0021900156 Add a missing '\n' in the cmd0640 attach printfs. 1999-10-25 14:13:12 +00:00
kleink
60043fb47b Install an <elf.h> symlink pointing to <sys/exec_elf.h>. 1999-10-25 14:11:36 +00:00
kleink
522cbf0248 Update to match new SVR4-style definition names in <sys/exec_elf.h>. 1999-10-25 13:55:06 +00:00
kleink
ce00cce069 As discussed with Christos, rename the definitions in this file to match those
found in various SVR4 ABIs.
1999-10-25 13:47:10 +00:00
augustss
1eb80cc225 Make the SPLUSBCHECK diagnostic test silent durning cold boot. 1999-10-25 10:51:46 +00:00
augustss
0ce4b38e23 Add some code for recording, still untested. 1999-10-25 10:16:49 +00:00
simonb
249879ba34 Begone with some garish Mach_StructureNames.
Add a comment about the bootblock structure.
1999-10-25 02:29:45 +00:00
simonb
690672a81d Don't let loadfile_machdep.h make it to /usr/include - the pmax
stand Makefiles already set up the compile environment so that
machine/loadfile_machdep.h can be found.

XXX: Not done for i386, mmeye or sparc - I can't test these at the
     moment.  It should be as simple as making a machine symlink
     pointing to .<some number of ../'s>./include in the objdir...
1999-10-25 00:17:27 +00:00
ad
ae033a895f Add missing entry in chrtoblktbl[]. 1999-10-24 23:57:23 +00:00