Commit Graph

212525 Commits

Author SHA1 Message Date
christos
d9ddb5220c - fix typo in comment
- Don't call abort1 with NULL ld, after panic(9).
2012-08-04 12:38:20 +00:00
pgoyette
3943dd5652 Add distrib entries for new uatp module.
Hello, riastradh!
2012-08-04 12:33:23 +00:00
christos
0c222dcdd0 Don't increment the mount reference count here. Otherwise we are left with
refcount of one when we unmount, and vfs_destroy does not... Who is expected
to decrement this anyway?!?!
2012-08-04 12:31:57 +00:00
christos
cd27e50e59 add #include <machine/asm.h>, use PIC_PLT() 2012-08-04 11:03:34 +00:00
skrll
b98543086d define<tab> consistency 2012-08-04 09:24:19 +00:00
riastradh
0942a70b8b Add uatp(4) to i386 ALL kernel configuration. 2012-08-04 04:39:40 +00:00
riastradh
8c75453876 Add a module for uatp(4). 2012-08-04 04:37:25 +00:00
riastradh
de76916995 Add uatp(4), a driver for USB Apple trackpads.
This is a work-in-progress driver for USB trackpads found in Apple
laptops since 2005, theoretically covering more models than pbms(4)
and supporting more features.  However, the motion smoothing and
acceleration formulae are still pretty sketchy, and I have tested
this only on one model of MacBook from 2006.  Feedback welcome.

Should the smooting, acceleration, tapping, &c., be done in userland?
Probably, but we don't have the necessary interface for that to work
well yet -- wsmouse isn't enough as is.
2012-08-04 04:34:54 +00:00
kiyohara
c3316e27d7 Print 'Standard Function Interface Code" in sdmmc_print(), if not SD_IO_SFIC_NO_STANDARD. 2012-08-04 04:06:00 +00:00
riastradh
244b24a294 Fix error branches in ath pci attachment.
Should fix double pci_intr_disestablish if ath_attach fails.

(Still not sure why ath_attach sometimes fails here.)
2012-08-04 04:05:36 +00:00
riastradh
16b71d29d9 Implement link(2) in rumphijack. Add a couple trivial test cases. 2012-08-04 03:56:47 +00:00
riastradh
934b1cc688 Fix error branches and config pending races in firewire init.
This way, if anything fails, it just fails; you don't panic.  This can
happen if suspending and resuming of firewire is broken (e.g., as I
encountered in PR kern/44581).
2012-08-04 03:55:43 +00:00
riastradh
3a4a1ac26a Mask off the result of feenableexcept and fedisableexcept on x86.
These shouldn't return bits outside FE_ALL_EXCEPT.
2012-08-04 03:53:55 +00:00
riastradh
efcf62f2ac Fix error branch in wpi(4) firmware loading.
Fixes panic if firmware is not available.
2012-08-04 03:52:46 +00:00
riastradh
5e2dd63a88 Fix i386 `boot' command to try the usual set of kernel names.
Without this, the `boot' command will try only `netbsd', not
`netbsd.gz', `netbsd.old', &c.

Patch from PR port-i386/44562.
2012-08-04 03:51:27 +00:00
riastradh
b17e540cb9 Fix null pointer dereference in msk_rxeof.
This triggers when processing an RX interrupt that was queued while
stopping the interface, which caused my machine to panic last night.
In this case, just drop the packet.

From OpenBSD's if_msk.c rev. 1.71.
2012-08-04 03:46:30 +00:00
wiz
3d27071c94 New sentence, new line. Add missing verb. 2012-08-03 21:51:11 +00:00
rkujawa
c4a9ef4dc0 Update tdvfb(4) man page to match recent update of this driver code. 2012-08-03 21:40:34 +00:00
rkujawa
920a653678 X-Surf attachment changes 2012-08-03 21:25:46 +00:00
matt
09c4ddf597 If any argument of a syscall is a pointer, set SYCALL_ARG_PTR as a flag. 2012-08-03 18:08:01 +00:00
matt
b226e13dca include <arm/arm32/machdep.h> 2012-08-03 15:59:04 +00:00
matt
8983b69e7f Remove uneeded declarations. 2012-08-03 15:56:06 +00:00
pooka
932ef25ea7 force-terminate commname 2012-08-03 14:52:31 +00:00
pooka
ff9b6e73ac no need to include code which is already provided by the faction base 2012-08-03 14:27:02 +00:00
rkujawa
a06ac903b3 Declare physmem extern. It is actually initialized in amiga_init.c
(using RELOC). Discussed with martin@ and is@. Probably similar fix should
be applied to other m68k ports, but amiga is the only m68k machine I have.
2012-08-03 13:14:20 +00:00
pooka
04c76d7616 reregen 2012-08-03 12:42:10 +00:00
pooka
3c09f0a002 Forgot this one from previous commit. It too is needed for syscallargs.h
on rumpclient on !NetBSD.
2012-08-03 12:41:13 +00:00
pooka
0dbefb0fc2 regen 2012-08-03 11:32:55 +00:00
pooka
fa3922be63 Make librumpclient compile and work on Linux. This is accomplished by:
1) avoid "NetBSD'isms" in the rumpclient sources
2) do not require the knowledge of unnecessary weird_t's in syscallargs.h
   for rumpclient
2012-08-03 11:31:33 +00:00
christos
3351729a81 only announce fetching vulnerabilities file if we do. 2012-08-03 10:52:46 +00:00
kiyohara
ba9c08beed Add ub to KERNEL_SUFFIXES. 2012-08-03 09:11:31 +00:00
matt
8639f283be Adjust ALIGNBYTES32 depending on __ARM_EABI__ 2012-08-03 08:11:40 +00:00
matt
4d4aee085b Initial MKCOMPAT support for ARM EABI. (doesn't quite work right) 2012-08-03 08:02:47 +00:00
matt
f8fa482c66 Emit a note for EABI programs. 2012-08-03 08:01:42 +00:00
kiyohara
3c453cf6bc Remove unnecessary property 'xore-irq-begin'. 2012-08-03 08:01:35 +00:00
matt
d6c05ec64c Each ARM port needs a copy of this. 2012-08-03 08:00:17 +00:00
matt
9fae3660d0 COMPAT_NETBSD32 support for ARM. Which is strange since ARM is already
32-bits.  But the newer ARM ABI AAPCS changes the alignment of 64-bit
fields so structures need to copied in and out to deal with the alignment
change.  This is a kludge but makes debugging of AAPCS support much easier.
2012-08-03 07:59:22 +00:00
kiyohara
576b2b8edd Fix to assert. We call to strncpy(), if r3 of args is valid from u-boot. 2012-08-03 07:56:37 +00:00
matt
2051fb7586 Add a elf note to describe the ARM ABI in use. If encounters on arm,
set EXEC_ARM_AAPCS bit in exec_package's ep_flags.
XXX kind of gross but it there's isn't a MD hook for notes so ...
2012-08-03 07:54:14 +00:00
matt
0745a95c9d Only do COMPAT_NETBSD32 stuff if _LP64 2012-08-03 07:51:21 +00:00
matt
7a84f3ad29 Only set EXEC_32 if on LP64 platform. 2012-08-03 07:49:18 +00:00
matt
13efa83b82 compat_mod is also needed by compat_netbsd32 2012-08-03 07:41:47 +00:00
matt
e8a22c6586 Add a missing .set noreorder 2012-08-03 06:06:44 +00:00
macallan
f3a407118e machfb's memsize is in MB, glyphcache_init expects bytes. doh. 2012-08-03 01:23:32 +00:00
rmind
c6beecf3ad bpf_filter: remove unnecessary memset(), add a comment. 2012-08-02 20:13:24 +00:00
christos
020a6ad2d4 - move debugging functions to vcoda so modules with -DDEBUG link
- fix writing to coda files. this is probably not the right way to do
  this, but it satisfies the locking protocol:
	1. Sometimes coda_open() is called with an unlocked vnode which
	   does not satisfy the locking protocol. Lock it for now. We
	   need to find out why this happens
	2. VFS_VGET sometimes returns the container vnode unlocked. What
	   is the locking protocol for VFS_VGET? We also lock it here.
2012-08-02 16:06:58 +00:00
skrll
1c15ddd361 Remove irqframe and replace with identical trapframe. 2012-08-02 15:56:06 +00:00
matt
834f7f1974 Also supprese printing fatal traps if the process is being debugged. 2012-08-02 14:07:47 +00:00
matt
5565c9eb97 Also supprese printing fatal traps is the process is being debugged. 2012-08-02 14:06:34 +00:00
matt
333fcdec75 Supress print fatal traps if the process is being debugged of it the signal
will be caught by a signal handler.
2012-08-02 14:03:22 +00:00