Commit Graph

96544 Commits

Author SHA1 Message Date
tron
75ba997609 Only report volume names if they are non empty.
Patch provided by Juan RP in PR kern/39514.
2008-09-15 11:53:52 +00:00
tron
25f901a460 Add support for status reports via bio(4) to ataraid(4).
The code was contributed by Juan RP in PR kern/39514.
2008-09-15 11:44:50 +00:00
rmind
38d7b7ba2e Replace intptr_t in few places to uintptr_t. 2008-09-15 10:43:29 +00:00
tsutsui
e534d5e65b Enable more PCI devices. 2008-09-15 04:42:58 +00:00
tsutsui
837dff7f8c Enable options TMPFS. 2008-09-15 04:08:55 +00:00
jakllsch
1630e9c193 A few cleanups for siisata(4)
No functional changes intended (except maybe un-reseting the chip a bit later
in attach).

 - pass fewer arguments to local functions where arguments can be derived from
   an existing argument
 - some coding style fixes
 - more abstraction for PRB activation and deactivation
 - bus_dma(9) properification in error cases
 - undefine SIISATA_DEBUG, and cleanup variables used only for DEBUG_PRINT()s
2008-09-14 21:53:49 +00:00
mhitch
f60765db47 Use the physical address from the bus_dmamap_load() map, not the one from
the bus_dmamem_alloc().  Fixes iop(4) on alpha, and possibly sparc64 as
described in the thread
http://mail-index.netbsd.org/port-sparc64/2008/06/04/msg000413.html.
2008-09-14 18:12:16 +00:00
hannken
fce2c1d412 Create fss(4) devices on first open and destroy on last close of an
unconfigured device.  That removes the compile-time constant number
of useable devices.
While here, add disk_busy()/disk_unbusy() instrumentation.

Reviewed by: Quentin Garnier <cube@netbsd.org>
2008-09-14 16:10:19 +00:00
jmcneill
ef1dc4a8df Add VIDEO_FORMAT_YUV420 support 2008-09-14 16:03:27 +00:00
tsutsui
9636fc5edc Remove ancient workaround hacks for gcc 2.7.2. 2008-09-14 15:03:17 +00:00
jmcneill
e3661f12b1 Allow VIDIOC_ENUM_FORMAT to return more than one result. 2008-09-14 14:31:33 +00:00
hannken
d5a365311b Remove FSS_STATISTICS. It was never documented and has no real value.
While here, modify fss_error() to no longer use variable arguments.

No functional changes.
2008-09-14 10:12:14 +00:00
freza
f4fa233a79 * iwn_rx_intr(): free rbuf is available if 'nb_free_entries > 0'.
This used to have '>=' resulting in kernel crash accessing NULL
    rbuf under non-trivial Rx load.
2008-09-14 10:09:39 +00:00
jmcneill
e1dadf87f1 Revert previous double-free hack, needs revisiting. 2008-09-14 03:33:44 +00:00
jmcneill
73f0afe78c Add RGB24 2008-09-14 00:26:35 +00:00
jmcneill
5f7d249f98 Add RGB24 support, and prevent a double-free on videoclose 2008-09-13 23:50:54 +00:00
mjf
0074b883b4 Fix pseye_start_transfer() to return the return value of kthread_create()
instead of always returning 0.
2008-09-13 18:51:10 +00:00
tsutsui
e928195279 - use memmove(9) for possible overlapped screen copies, per PR port-arc/36703
- replace bcopy(9) with memcpy(9) where no overlap
- fix a typo in comment
Tested by using sysinst with pccons(4) on gxemul.
2008-09-13 17:13:57 +00:00
tsutsui
abe73f3a6c Fix more botches on device_t/softc split,
which didn't cause errors on compile.
Tested on gxemul.
2008-09-13 16:15:38 +00:00
tsutsui
b93d54e06c Make this compile (restore some lines removed in rev 1.53). 2008-09-13 16:08:02 +00:00
tsutsui
7b16185486 Fix botches on device_t/softc split. 2008-09-13 16:02:17 +00:00
tsutsui
bba8dbb065 Put a missing newline. 2008-09-13 15:58:01 +00:00
njoly
555283069e Regen for Nvidia GeForce 6150 devices addition. 2008-09-13 15:40:51 +00:00
njoly
ae35124d9b Add Nvidia GeForce 6150 devices. 2008-09-13 15:39:01 +00:00
tsutsui
28c30d59ac - enable dhclient(8) in RAMDISK kernel
- bump mdroot size
2008-09-13 07:36:30 +00:00
skrll
0a3b051fc6 Fix (U)LLONG_(MAX|MIN) defines.
From Jonathan Kollasch. Thanks.
2008-09-13 07:33:26 +00:00
skrll
1a95ecfedf Swap max/min in comments to match symbols. 2008-09-13 07:30:59 +00:00
skrll
632763e1fc Multiple inclusion protection. 2008-09-13 07:30:22 +00:00
christos
0ff103ebea - remove dup code
- make sure that sigput always initializes ksi
- initialize si_code with SI_NOINFO instead of lying (SI_USER)
- if a process is being ktraced, make siginfo available
- always pass the available siginfo to ktrace, even if it has SI_NOINFO
2008-09-12 21:33:39 +00:00
christos
9fd9aaab22 PR/39525: Joachim Schueth, Frederik Sausmikat:
cgd inadvertently encrypts blkno eight times to generate IV
2008-09-12 16:51:55 +00:00
christos
66f8c2438f PR/39525: Joachim Schueth, Frederik Sausmikat:
cgd inadvertently encrypts blkno eight times to generate IV
Add "encblkno1" IV type to encrypt only once, rename old "encblkno" to
"encblkno8" for clarity, and make "encblkno" an alias for "encblkno8"
for backward compatibility.
2008-09-12 16:51:54 +00:00
hannken
dee5129905 - Replace simple_lock/ltsleep/wakeup with mutex/cv.
- Replace malloc/free with kmem_alloc/kmem_free.
- Use bdev_ioctl() instead of bdevsw_lookup()/(*d_ioctl)().
- Be more fair to readers by cleaning the cache one slot at a time.
2008-09-12 10:56:14 +00:00
pgoyette
08e5be9d34 Include new I2C_SCAN option in ALL. 2008-09-11 20:50:04 +00:00
pgoyette
6d5a4d28bb Provide an option I2C_SCAN to enable sanning i2c bus for responses. This
is disabled by default, preserving current behavior.

OK garbled@
2008-09-11 20:48:50 +00:00
joerg
cba79e0ec4 Add support for source address hashhing in ALTQs WFQ. This allows to
easily distribute bandwidth for huge number of clients for incoming
traffic.
2008-09-11 17:58:59 +00:00
pooka
e90eb67076 * fsync after !B_ASYNC write
* replace some b_flags magic with BUF_ISREAD/WRITE()
2008-09-11 13:42:35 +00:00
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