Commit Graph

173637 Commits

Author SHA1 Message Date
jmcneill
b11aea36cc Add support for video mode selection, and protect isoc xfer shutdown
with splusb
2008-09-18 23:20:52 +00:00
jmcneill
0820cb0eaa kmod support for uvideo(4) 2008-09-18 21:53:32 +00:00
jmcneill
ee916aba93 Fix kmod support. 2008-09-18 21:52:41 +00:00
dsl
9e996b5529 Annotate some of the assembler.
Remove 2 redundant register-register moves.
2008-09-18 21:35:17 +00:00
dsl
467e49cfc1 Clear all the correct flags when calling a signal handler. 2008-09-18 21:28:45 +00:00
dsl
d1779123ae Remove PSL_MBO (the bits that Must Be One) from PSL_USER - which are the
bits that the 'user' can change.
Who knows what the effect of a user signal handler (which I think might have
access to the bits) changing these bits might be!
2008-09-18 21:09:18 +00:00
jmcneill
f93a860daa Properly calculate nframes for isoc xfers, and skip uvc payloads with
a length of 0, from Matthias Drochner.
2008-09-18 17:47:09 +00:00
jmcneill
7174577ba3 defflag UVIDEO_DEBUG 2008-09-18 16:40:37 +00:00
christos
95ffbb8bc9 Define a PSL_CLEARSIG macro for the psl flags to be cleared on signal delivery
and use it everywhere.
2008-09-18 15:57:04 +00:00
cube
96cb838ebe Note that shared libraries for libXprintUtil and libXprintAppUtil are now
installed.
2008-09-18 15:29:15 +00:00
cube
383a19484e Build and install shared libraries for libXprint{App,}Util. 2008-09-18 15:25:01 +00:00
jmcneill
f1fc481694 For now, select default format in uvideo_open. Makes ekiga happy. 2008-09-18 13:34:56 +00:00
jmcneill
99a4cc3893 Note that bulk endpoints are not supported. Reword last paragraph. 2008-09-18 13:09:20 +00:00
skrll
085bc41d78 Centralise arch/${MACHINE_ARCH}.mk inclusion.
Thanks to Tyler (rtr).
2008-09-18 12:20:19 +00:00
cegger
b32980d604 regen. 2008-09-18 12:04:25 +00:00
cegger
036fca3320 correct C51 host bridge numbers. Spotted by njoly@ 2008-09-18 12:03:45 +00:00
rtr
d3ae139a17 switch back to using USE_I386_IOPL for amd64 since it gets us x86_64_iopl
if __x86_64__ is defined. this should fix libxorgos.a build on amd64.

USE_AMD64_IOPL is for openbsd if the configure.ac is to be believed.

XXX we may also want to enable PCCONS_SUPPORT and HAS_APERTURE_DRV for
    amd64 as well?
2008-09-18 10:57:03 +00:00
hannken
2b3efeeac5 Persistent snapshots do not need to allocate the variable softc elements. 2008-09-18 10:52:14 +00:00
cegger
7a5a7454d4 regen. 2008-09-18 09:49:29 +00:00
cegger
47fc4656dc add NVIDIA C51 products 2008-09-18 09:48:24 +00:00
dholland
baa6f0b95b Check ferror(stdout) and exit(1) if there's been a problem.
Fixes PR bin/39574 from Ed Ravin, but with a simpler patch.
2008-09-18 05:42:08 +00:00
dogcow
2a77a1f02a add missing enum; fixes compile of video.c. 2008-09-18 05:35:05 +00:00
jmcneill
bd78ec5c6b * Use determined default format based on descriptors rather than relying on
GET_DEF, as this is probably not what is wanted.
* Don't select an alternate interface with max packet size > 1024
2008-09-18 04:37:06 +00:00
jmcneill
f2b05f5e15 Uncomment code accidentally commented out in the last commit. 2008-09-18 02:57:07 +00:00
jmcneill
88913084de Allow for multiple simultaneous isoc xfers to be in progress at a time,
to reduce the chance of data loss.
2008-09-18 02:49:00 +00:00
jmcneill
b04b4cc4f6 Use get_format instead of set_format in videoopen 2008-09-18 02:47:57 +00:00
christos
6f1e299202 From Ilya Dogolazky: Fix return value doc. 2008-09-17 22:08:52 +00:00
scw
5a856ae120 In linux32_shmat() don't try to copyout a 64-bit pointer where userspace
is expecting a 32-bit result.

Fixes nspluginwrapper on amd64.
2008-09-17 20:11:51 +00:00
mhitch
57fb748258 Use le16toh() instead of le32toh() on a 16 bit value. Fixes display of
inbound frame size on sparc64.
2008-09-17 16:03:28 +00:00
christos
7a75c9a543 PR/39233: Taylor R Campbeel: OpenSSH fails to initialize tun(4) tunnels
correctly.
2008-09-17 15:45:50 +00:00
pgoyette
ab6abfafd3 Add verification of proper chip before blindly matching for consistency
with other drivers (notably adt7463).

NOTE: The verify routine in _both_ drivers might better be placed in-line
in the _match() routine.  But these drivers will soon be superseded by the
dbcool driver any way.

OK gmcgarry@
2008-09-17 15:39:05 +00:00
hannken
8de1a273e1 Replace the fss unmount hook with a vfs_hook.
fssvar.h:       struct device * -> device_t.
fss.c:          establish unmount hook on first attach, remove on last detach.
vfs_syscalls.c: remove the call of fss_umount_hook().
vfs_trans.c:    destroy cow handlers on unmount as fstrans_unmount() will be
                called before vfs_hooks.
2008-09-17 14:49:25 +00:00
pooka
66523e99f5 remove M_PIPE (hi rmind!) 2008-09-17 14:00:41 +00:00
cegger
8ca0c5aa89 Add amdtemp(4) to Xen Dom0 kernels. 2008-09-17 12:39:50 +00:00
vanhu
b383a5b3e4 Fixed port match in purge_ipsec_spi() when NAT-T enabled and trying to purge non NAT-T SAs 2008-09-17 12:39:07 +00:00
pgoyette
1898311641 Note that the raw SPD data is available via sysctl (in the hw tree). This
allows people to retrieve the data and feed it to decode-dimms (from the
lmsensor people) to do a full decode.
2008-09-17 12:37:41 +00:00
christos
e361ed1721 Include PSL_D in the flags to be able to be set by the user. Since setmcontext
is used to restore context from a signal handler, this will allow restoring
PSL_D to what it was before the user code entered the signal handler allowing
programs to work.
2008-09-17 12:28:52 +00:00
jmcneill
548abe3d13 Note where the magic register information came from in this driver. No
functional change.
2008-09-17 03:57:19 +00:00
cube
9271e18863 Install our own xorgsite.def, with the necessary defines so that all
imake-check tests in pkgsrc succeed.
2008-09-17 03:56:06 +00:00
cube
3b36715656 Handle site.def properly. bsd.files.mk is not as helpful as one would like
it to be.
2008-09-17 02:50:06 +00:00
jmcneill
f1873b19e3 Mention RND_TYPE_RNG type for rnd_attach_source 2008-09-16 23:29:49 +00:00
martin
6b8ff81d70 Remove hardcoded vendor/product ID based lookup for HX type chips and
decide based on the device descriptor instead. Simplifies things a
lot and fixes PR 39457.
2008-09-16 20:00:17 +00:00
bouyer
6004aef42d Implement the arch-dependent p2m frame lists list. This adds support for
'xm dump-core' for NetBSD domUs.
From Jean-Yves Migeon (jean-yves dot migeon at espci dot fr)
2008-09-16 19:55:31 +00:00
bouyer
dca35a7e77 Fix typos and pasto, from Jean-Yves Migeon (jean-yves dot migeon at espci
dot fr). Luckily this pasto is fatal only in case of a 64bit domU on a
32bit dom0, which we don't support yet as dom0.
2008-09-16 19:53:05 +00:00
pgoyette
5874ba97c9 One more cut&pasto.
There really oughtta be a way to automate this stuff!
2008-09-16 17:52:53 +00:00
pgoyette
03a3099266 Fix cut&pasto in previous 2008-09-16 17:34:53 +00:00
pgoyette
8146645e68 Add cnmagic.* aliases 2008-09-16 17:18:01 +00:00
pgoyette
833dabdc95 Add MLINKS for all the routines that cnmagic.9 documents. Without this,
"apropos magic" indicates that cn_trap(9) and friends have man pages, but
"man cn_trap" thinks otherwise.
2008-09-16 16:40:23 +00:00
perry
5a047c798a Add a -r flag that is an alias for -E, for compatibility with gnu sed. 2008-09-16 13:32:04 +00:00
lukem
d451eab1e2 Enhance -C to support an optional @host ('-C user[@host]'):
checks whether user as connecting from host would be granted
access by ftpusers(5).

Support IPv6 in the host directive of ftpusers(5).
(May resolve PR 26555)

Both features from Rudolf Cejka <cejkar@fit.vutbr.cz>
(FreeBSD's tnftpd port maintainer).
2008-09-16 12:30:38 +00:00