Commit Graph

96558 Commits

Author SHA1 Message Date
tron
2b3ca19215 Add support for Intel MatrixRAID to ataraid(4). It is currently limited
to one volume.

The driver was provided by Juan RP in PR kern/39511.
2008-09-11 11:08:50 +00:00
hannken
31cd18f961 fss_copy_on_write(): return error if reading the snapshotted device failed.
fss_read_cluster():  use nestiobuf for reading.
fss_bs_thread():     dont read the snapshotted device if a request is
                     completely covered by backing store.
2008-09-11 09:37:53 +00:00
hannken
3034f37f42 nestiobuf_setup(): Initialize b_dev from master buffer. 2008-09-11 09:14:46 +00:00
jmcneill
9397047d32 QuickCam Messenger: Set UQ_BAD_ADC quirk so uaudio will attach. The device
reports bcdADC == 0x200, but the microphone otherwise works fine.
2008-09-10 20:34:40 +00:00
jmcneill
f196dae5e9 regen 2008-09-10 20:07:46 +00:00
jmcneill
0470da95e3 Logitech QuickCam Messenger 2008-09-10 20:04:56 +00:00
christos
9380d4efdb replace 0xa0 with space from Andy Shevchenko 2008-09-10 19:25:33 +00:00
christos
9d61fcf10f replace \xa0 with space from Andy Shevchenko 2008-09-10 19:20:06 +00:00
tron
79a4d38697 Don't attach RAID volumes with incomplete config blocks which would lead
to panic later. Patch provided by Juan PR in private e-mail.
2008-09-10 16:59:32 +00:00
blymn
6a3775d153 * Fix from Elad to correct a couple of places where functions exited
without releasing locks.
* Corrected a panic caused by veriexec_file_verify() not setting the
  returned struct veriexec_file_entry **vfep in all cases.

Thanks to Stathis Kamperis for finding the issues and testing the fixes.
2008-09-10 16:36:54 +00:00
cegger
41812eebff update TODO list: we have isoc support 2008-09-10 06:08:27 +00:00
jmcneill
b1cb1c6dcb PR# 38683 - T61 cannot suspend with recent kernels
Don't restore spl until after AcpiLeaveSleepState.
2008-09-10 03:56:12 +00:00
macallan
cc43cb490b get rid if some mistyped magic number, spotted by Marco Trillo
While there map only the space we actually need.
Needs to be tested on actual hardware.
2008-09-10 00:33:12 +00:00
hubertf
07d9131246 Sign over copyright of Jeremy Morse's code to TNF, OK'd by Jeremy Morse
(still mention Jeremy as contributor)
2008-09-09 21:51:32 +00:00
mhitch
70a12d51ab Add support for SerDes controllers; from the OpenBSD driver. Tested on a
Dell Blade server by me, and an HP Blade server by Havard.
2008-09-09 20:12:18 +00:00
tron
b8771f491d Fix build problem with puffs enabled caused by the fix for PR kern/39493.
Problem noted by Thomas Klausner, patch provided by Juan RP.
2008-09-09 19:22:00 +00:00
jmcneill
426e852b45 register with pmf 2008-09-09 17:40:40 +00:00
mhitch
2478b16894 In bnx_release_resources(), don't de-reference a NULL pointer if the
rx_mbuf_map has not been allocated yet.  From Havard Eidnes.
2008-09-09 17:34:10 +00:00
tron
362b2f2b14 Complete device_t/softc split for the ld(4) attachments. This should
prevent crashes while attaching a drive.

Patch supplied by Juan RP in PR kern/39468.
2008-09-09 12:45:39 +00:00
tron
5f566e7cf3 Remove duplicate definition of "bootinfo" structure.
Patch provided by Juan RP in PR kern/39495.
2008-09-09 12:09:31 +00:00
cegger
127df52413 make an i386/ALL kernel build 2008-09-09 05:54:23 +00:00
cegger
9153a46c8f make this build w/o UVIDEO_DEBUG 2008-09-09 05:44:08 +00:00
jmcneill
7360cd3bde VIDIOC_QUERYCAP: device_xname on device_t, not softc 2008-09-09 04:28:54 +00:00
jmcneill
f97cf58f74 More pixelformat mapping typo fixes 2008-09-09 04:23:53 +00:00
jmcneill
1bb2686bdf Map VIDEO_FORMAT_MJPEG to V4L2_PIX_FMT_MJPEG, not V4L2_PIX_FMT_JPEG 2008-09-09 04:23:02 +00:00
cube
65ce35522e Redde Caesari quae sunt Caesaris. Or rather, in this particular case,
those that are Lennart's.

Eventually there should only be one set of HID drivers.
2008-09-09 03:54:56 +00:00
ober
ed773dc9c5 Adding iwn(4) to GENERIC 2008-09-09 03:26:42 +00:00
jmcneill
ff15aabd32 Fix "select timeout" and low framerate issues with mplayer, from drochner@ 2008-09-09 01:36:48 +00:00
jmcneill
4b0864422d Add uvideo(4) 2008-09-09 01:18:45 +00:00
jmcneill
c08044b7db USB Video Class capture device driver, part of Patrick Mahoney's Google
Summer of Code 2008 project.
2008-09-09 01:13:42 +00:00
jmcneill
78974094d6 Clarify the message printed by the kernel when a low or full speed
device with isochronous endpoints is attached to a hi-speed hub. Also
silence a printf in ehci_device_isoc_close
2008-09-09 00:46:45 +00:00
jmcneill
51d385aeea No need for videoio.h in hw driver 2008-09-09 00:19:10 +00:00
gmcgarry
0de5da9678 Replace most gcc-specific __attribute__ uses with BSD-style sys/cdef.h
preprocessor macros.
2008-09-08 23:36:53 +00:00
pgoyette
ca20a59d5d Fix typo - no functional changes.
OK macallan@
2008-09-08 23:07:51 +00:00
jmcneill
6ea027b866 Run pseye_transfer_thread at a higher priority to ensure that we don't
receive partial frames in our bulk xfer.
2008-09-08 22:28:53 +00:00
jmcneill
dd848685c1 Implement try_format 2008-09-08 22:13:26 +00:00
christos
f119abb6e1 more device_private, pointed by cube. 2008-09-08 21:54:10 +00:00
christos
a1d4f75c7d avoid using casts by referencing the proper struct members. 2008-09-08 21:44:22 +00:00
joerg
08c7b8a922 Make the amount of backing memory a macro to simplify changing it. 2008-09-08 21:32:50 +00:00
christos
f64bb5868f cf_attach_decl_new 2008-09-08 21:20:03 +00:00
njoly
dcebe2386c Add missing newline in debug message. 2008-09-08 20:49:41 +00:00
njoly
5e265d5272 Improve message for SMI interrupts. 2008-09-08 20:47:09 +00:00
njoly
fa492bbaa9 Fix compilation with ICHIIC_DEBUG. 2008-09-08 20:37:38 +00:00
jmcneill
248dfd8c53 Add V4L2_PIX_FMT_SN9C10X 2008-09-08 18:40:08 +00:00
pgoyette
63a1d80294 Provide correct URL for current data sheet. This device is now owned
by ON Semi.
2008-09-08 16:05:44 +00:00
christos
96bd7a0192 make this compile again. 2008-09-08 15:31:19 +00:00
hannken
72538db7ba Adjust some WAPBL transactions:
- Put transaction inside cgaccount() to simplify caller.
- No vget() / vrele() inside a transaction.
2008-09-08 14:22:31 +00:00
christos
ae6357afe4 fix broken linux32_sys_times, copied from linux_sys_times. 2008-09-08 11:29:42 +00:00
cegger
80399094f9 regen. 2008-09-08 08:03:44 +00:00
cegger
68afbb4114 Serverworks: correct product id for LPC, add XIOAPIC and Watchdog Timer 2008-09-08 08:02:48 +00:00
cegger
77a6ab9aa7 regen. 2008-09-08 07:07:53 +00:00
cegger
4decb0fd6d correct product id for serverworks usb controllers 2008-09-08 07:06:48 +00:00
joerg
fe12f360b8 Move successful removal of unreferenced inodes under WAPBL_DEBUG to not
spam the console.

OK simon@
2008-09-08 03:16:43 +00:00
pgoyette
15c5293824 Separate checking of sensor value vs threshold/limit value into two
routines, so we can distinguish between an over-limit vs under-limit
condition.  Set sensor state appropriately based on which threshold
is exceeded.

To do: come up with a means of detecting non-existent fans vs broken
fans.  Currently, both report a valid value of "0 RPM" at least on
some platforms.

OK garbled@
Tested by simonb@
2008-09-08 03:05:38 +00:00
jmcneill
6779aaaeb8 Limit VIDEO_MAX_BUFS to 32 instead of 255 2008-09-08 00:39:27 +00:00
cube
1e807cbeed Remove what seems to be a debug printf committed by accident. 2008-09-07 22:36:36 +00:00
pooka
e63b31a974 Give lwp0 an fd table and cwd. Allows easier direct use of rump. 2008-09-07 20:17:03 +00:00
jmcneill
ba13cfccc0 Missing aprint newline in video_attach 2008-09-07 20:05:13 +00:00
pooka
429abb75bf regen: return -1 for error 2008-09-07 19:28:29 +00:00
pooka
23bef54996 For rumpsyscalls, properly return -1 in case of error. 2008-09-07 19:27:58 +00:00
pgoyette
9b30bc57d1 Note that previous URL for ADT7463 datasheet is no longer operative, and
provide link to an earlier, but still active, revision.
2008-09-07 19:07:21 +00:00
jmcneill
f3728d27ce Actually, EINVAL is correct for an unimplemented ioctl. ENOTTY is only
needed for the VIDIOC_*_FMT ioctls.
2008-09-07 19:06:14 +00:00
jmcneill
d490ea275a Return ENOTTY instead of EINVAL if a driver doesn't implement one of the
set, try, get, or enum format ioctls.
2008-09-07 17:13:21 +00:00
jmcneill
94e5d88f48 Implement enum_format callback. 2008-09-07 17:12:21 +00:00
jmcneill
131ddde617 Even though V4L2_CID_HCENTER and V4L2_CID_VCENTER are deprecated, many
applications still want them to exist.
2008-09-07 16:13:05 +00:00
tron
7c4ff5fbb4 Remove duplicate definition of "smbfs_node_pool".
Fix based on a patch provided by Juan RP in PR kern/39494.
2008-09-07 13:13:04 +00:00
tron
b7cced0000 Remove duplicate definition of "specfs_lock".
Patch provided by Juan RP in PR kern/39493.
2008-09-07 13:09:36 +00:00
pgoyette
494623b269 Only report new sensor state values if the new value is valid for the
particular event being monitored.  This avoids duplicate reporting for
sensors that monitor both a normal/critical state and value-within-limits
state as reported by Simon Burge on current-users.

While we're here, clean-up some stair-stepping if's.

OK garbled@
2008-09-07 12:13:00 +00:00
tron
b2672204e3 Remove references to non-existant kernel option NO_TSC_TIME.
This fixes PR port-i386/39460 by Juan RP.
2008-09-07 12:01:25 +00:00
rmind
b37999b4b5 Add few KASSERTs. 2008-09-06 23:08:54 +00:00
rmind
7e456140b3 Replace malloc with kmem. 2008-09-06 23:05:52 +00:00
rmind
591b1d0390 Regen. 2008-09-06 22:44:42 +00:00
rmind
05fb3eb929 PR/39119: Jan Thorsson: Support for VIA CX700M2 IDE controller. 2008-09-06 22:42:59 +00:00
rmind
73aa8e682d PR/38012: David Dudley: Support for B&B Electronics MIPort serial cards. 2008-09-06 22:36:40 +00:00
rmind
a393e9c9d7 PR/39442: Jeff Thieleke: Support for ATI SB700/SB800 controllers. 2008-09-06 22:18:56 +00:00
rmind
16dee06ce9 Regen. 2008-09-06 22:08:38 +00:00
rmind
3d4ea98e16 PR/38382: Jean-Yves Moulin: Support for Sierra Wireless Aircard 850. 2008-09-06 22:07:11 +00:00
rmind
913f159e82 Regen. 2008-09-06 21:53:32 +00:00
rmind
aa93fc3fa8 PR/37948: Yojiro UO: Support for Sony GPS GPS-CS1 devices. Check the support
of UR_BBB_GET_MAX_LUN, and disable the logic, if needed.
2008-09-06 21:49:00 +00:00
rmind
3f36b1dd77 PR/38202: Jeff McMahill: Support for Sealevel SeaPORT+4 USB to Serial adaptor. 2008-09-06 21:42:05 +00:00
rmind
0474b30708 PR/39303: Izaac: Support for Novatel Wireless Ovation U727. 2008-09-06 21:38:44 +00:00
rmind
5c8acba58c PR/39147: Jasper Wallace: Support Metageek Wispy 2.4x as ugen device. 2008-09-06 21:34:49 +00:00
rmind
a4a0c53b57 Unbreak build when VIDEO_DEBUG is not defined. 2008-09-06 21:21:49 +00:00
jmcneill
ab5af76226 Enable video(4) and pseye(4) 2008-09-06 20:08:01 +00:00
jmcneill
6902ca74cd Add driver for the Sony PLAYSTATION(R) Eye USB webcam. 2008-09-06 19:37:21 +00:00
jmcneill
e1f7e773d4 Add video(4) 2008-09-06 19:18:16 +00:00
jmcneill
7ef4cebba1 Install sys/videoio.h 2008-09-06 19:01:20 +00:00
jmcneill
8e6b89263a Add MI video4linux2 layer, part of Patrick Mahoney's Google Summer
of Code 2008 project.
2008-09-06 19:00:54 +00:00
skrll
28945b3253 Add a comment and whitespace. 2008-09-06 09:45:57 +00:00
gmcgarry
9e7d08495f Backout unintended change. 2008-09-06 03:00:32 +00:00
gmcgarry
0bc141f2e2 Use One exit point to avoid unreachable code. 2008-09-06 02:52:39 +00:00
gmcgarry
629a542107 Remove unreachable code introduced by rev 1.224. Fixes PR#38973. 2008-09-05 22:25:39 +00:00
gmcgarry
c8ddbd2d15 Rearrange code in the sysmon queue execution thread to simplify locking logic.
Removes unreachable code warning.
2008-09-05 22:06:52 +00:00
gmcgarry
2b28c4e886 Rearrange sysmonread_power() to have a single exit point, which simplifies
the locking and fixes -Wunreachable-code warning.
2008-09-05 21:58:32 +00:00
cegger
42a8ac956a regen. 2008-09-05 15:45:28 +00:00
cegger
bc6971e1ae Add some ServerWorks products 2008-09-05 15:44:29 +00:00
skrll
81817d63bf PR/39324 kernel diagnostic assertion "l->l_stat != LSZOMB" failed.
Ignore procs with zero or all LSZOMB LWPs. Get a non-LSZOMB LWP to perform
operations against as part of the deal.

procfs really needs to be updated to support multi-threading fully.
Hi Antti!
2008-09-05 14:01:11 +00:00
seanb
f36e2df47a Wrong route being consulted in one place
in ip_forward() after change to rtcache_*().
Restore previous behaviour.
2008-09-05 13:39:12 +00:00
tron
0f256b9d59 Compile NetBSD/amd64 kernels with "-Wextra". Patches contributed by
Juan RP in PR port-amd64/39266.
2008-09-05 13:37:24 +00:00
skrll
006aadc921 ANSIfy 2008-09-05 13:21:12 +00:00