Commit Graph

177736 Commits

Author SHA1 Message Date
jmorse
6e5c689d54 Fix uvideo_stream_init uninitialized variable / bad argument, leading to panic when opening video stream. 2009-02-09 23:28:50 +00:00
tron
56c9d6aa78 Add two more entries to the quirk table for hard disks which need the
LBA 48 work around. The first entry will watch the Seagate ST3160815AS
(and similar models), the second one HP's OEM version of the same drive.

This avoids the RAID rebuild problems described in PR kern/40569.
2009-02-09 22:34:23 +00:00
pgoyette
704a9b346c Previous check for ADM1027 caused a kernel panic, since the read routine
can be called _before_ we've identified the chip.  Ensure that sc_chip
is initialized to NULL before chip is identified, and if it is NULL or
ADM1027, use the less-efficient send_byte/receive_byte.

While here, don't attempt to release the i2c bus if we failed to acquire
it.  This would cause a panic on a LOCKDEBUG kernel.

Thanks to Nicholas Joly for pointing out both of these bugs.
2009-02-09 20:27:21 +00:00
joerg
7925dff4ee Add If-Modified-Since support. 2009-02-09 17:06:11 +00:00
apb
903d38994d tzcode2009b and tzdata2009b have been released.
Also fix an error in the "Current Vers" line which I introduced in
revision 1.669.
2009-02-09 16:36:14 +00:00
abs
75362c1562 As all port now build Xvfb, move it into the mi file.
Remove any empty md.* files (but leave ad.*)
2009-02-09 16:28:53 +00:00
skd
8d41ac5617 Back out my previous change. The problem I'm chasgin is with the
initialization of ports in saidx's when IPSEC_NAT_T is defined but the
association connection is not using nat traversal.  Stay tuned.
2009-02-09 15:06:37 +00:00
tnozaki
5f8a9fb1ee fix typo, don't overwrite LC_TIME's t_fmt_ampm by t_fmt. 2009-02-09 14:39:48 +00:00
jdc
145a912cc9 Fix bug where a single ESC was not recognised when in keypad() mode.
Noticed by abs@.
2009-02-09 12:45:59 +00:00
plunky
aead030e15 if HCI commands fail (CommandComplete status != 0) then indicate
ENODEV "Operation Not Supported by Device" rather than random errno.
2009-02-09 12:44:32 +00:00
nonaka
9d853f68dd fix comment. 2009-02-09 12:11:16 +00:00
rmind
db4ca04011 dosetrlimit: remove the checks which are no longer needed since rlim_t
is unsigned again.  Hi <christos>!
2009-02-09 11:13:20 +00:00
uwe
c795b4c2a9 G/c duplicate definition of WSCONS_EVENT_ASCII. 2009-02-08 22:58:56 +00:00
christos
fdbe1ef595 Revert change that made rlim_t signed again. It will expose bugs, and we'll
fix them, as opposed to hide them and violate the standards.
 - Approved by core.
2009-02-08 22:11:27 +00:00
wiz
5452aa5f5c Bump date for previous. New sentence, new line. 2009-02-08 21:56:57 +00:00
jym
bfa01fef11 Document jym-xensuspend branch. 2009-02-08 21:46:04 +00:00
bouyer
65fae56208 Apply patch proposed on port-amd64/port-i386, allowing to use a 64bit
bus_addr_t on i386PAE kernels:
change bus_addr_t to be a paddr_t (so its size follows paddr_t depending
   on options PAE)
remplace bus_addr_t with vaddr_t where the value is used as a virtual address.

Difference with the proposed patch: cast to uintmax_t and use %jx in
printf() as suggested by Joerg.
2009-02-08 20:59:19 +00:00
reinoud
2e80d918be Add :
udf, mount_udf(8): add support for session opening/closing on
	sequential media. Media can be closed on request on unmount by
	passing the '-c' flag as mount option. [reinoud 20090208]
2009-02-08 19:56:10 +00:00
reinoud
9a5eca17f4 Add mount_udf(8) option '-c' requesting session closure on unmount and
document it in the manpage.
2009-02-08 19:28:49 +00:00
reinoud
9609b0ed76 Implement session closure on sequential media when requested on mount. It will
allow CD-ROM/DVD-ROM/DB-ROM drives to read the media while still allowing them
to be appended later. It can also be seen as a way to make mountable
snapshots.
2009-02-08 19:14:52 +00:00
jym
5d7efd3c35 - add comments
- wrap long lines for easier reading
- make some debug messages a bit more relevant
2009-02-08 19:05:50 +00:00
reinoud
2ac9ba8c48 If mounting for read-write dont allow a session number to be specified since
its currently still misbehaving. If supported later, it would allow one or a
series of sessions on a sequential recordable media to be ignored as if they
never were created.

Also fix a small comment: its not the direct but the bootstrap disc strategy
that we close down.
2009-02-08 19:04:41 +00:00
pgoyette
66a822fbe7 The ADM1027 chip doesn't support i2c read_byte protocol, so in this
case we use send_byte followed by receive_byte.
2009-02-08 17:48:02 +00:00
pooka
8e52b87ec3 Don't try to fd_putfile() descriptors we didn't manage to fd_getfile().
Fixes local DoS panic described in kern/40570.
2009-02-08 16:38:12 +00:00
pooka
020ab015cd Add rumpnet_local to the setlists (at least most of the variants ;). 2009-02-08 16:30:48 +00:00
pooka
3f8c1c0f17 Add a PF_LOCAL rump kernel component. 2009-02-08 16:28:35 +00:00
pooka
38b67104c9 catchup 2009-02-08 16:18:09 +00:00
pgoyette
d94df08c58 Use pre-scripted i2c protocols rather than re-inventing our own. No
functional change intended.

While here, change some indentation to use tabs vs spaces.
2009-02-08 14:34:40 +00:00
jdc
940659ed15 Cosmetic clean up:
options<space><tab>
2009-02-08 13:05:50 +00:00
skrll
d5aae1338a s/posix_fadvise/__posix_fadvise50/ in last. 2009-02-08 11:58:25 +00:00
tsutsui
7ff508decb Fix a wrong indent in the previous. 2009-02-08 10:02:45 +00:00
pgoyette
c8996319e0 Avoid asking the controller to transfer zero bytes of data, since we have
no clue if this works or not.  This prevents the i2c quick_{read,write}
protocols from working, but the only place those protocols are used is in
the code that enumerates the i2c bus and that just doesn't make sense for
ki2c anyway.

While here, make sure that i2c send_{byte,word} operations will work even
if the caller provides the cmd (ie, register to modify) and the data in
separate args.  This is the normal calling sequence for iic_exec() routines
and will enable dbcool (4) driver to update device registers.

OK'd macallan@
2009-02-08 01:13:39 +00:00
abs
e468650cc4 Enable Xvfb build on vax and x68k to match every other port. 2009-02-08 00:50:07 +00:00
oster
2240ff3c50 Nuke #define MAXNSTRIPES which is no longer useful. 2009-02-07 20:41:30 +00:00
oster
ce32c4d01e Be consistent with wd.c and don't complain loudly if the underlying
device doesn't support flushing the cache.  Fixes an issue (reported
privately) where ST39120A drives are not capable of flushing the
cache, and RAIDFrame was incessantly complaining.
2009-02-07 20:36:49 +00:00
pooka
4c7be59b17 If fdvp is tvp, do nothing. Prevents local DoS panic described in
PR kern/38219... maybe.  This is hastily concocted fix for 5.0 and
I'm not sure if it has side-effects.
2009-02-07 19:42:57 +00:00
uebayasi
cede8f9855 Let 'gpt add' suggest a collect device name so that opendisk(3) called by
dkctl(8) succeeds.
2009-02-07 18:12:22 +00:00
uebayasi
0edd7181ba Make manual and usage consistent. No functional changes. 2009-02-07 17:21:44 +00:00
uebayasi
b9691b268f - Display cache, strategy, and list of wedges if no command is specified in
the command line.
- Sort list of wedges.

Posted on tech-userlevel a while ago, no objections then.
2009-02-07 17:13:32 +00:00
tsutsui
6a632bad63 Put misc notable changes pulled up to netbsd-5 after the branch date. 2009-02-07 16:43:45 +00:00
wiz
0247406d6a Bump date for previous. New sentence, new line. 2009-02-07 15:32:11 +00:00
skrll
8bfb786048 posix_fadvise needs help again. 2009-02-07 13:44:48 +00:00
mrg
9bd6af36c2 move COMPAT_50 into MONOLITHIC, as pointed out by enami@. 2009-02-07 09:58:10 +00:00
lukem
53e9163a95 sign-compare fix 2009-02-07 07:25:22 +00:00
agc
00be53a929 Remove argument names from function prototypes in header files. 2009-02-07 07:00:01 +00:00
agc
fd38df44a9 Be a bit more consistent with the naming scheme (and a bit less verbose). 2009-02-07 05:57:39 +00:00
agc
47eb47e6b3 The catch-all header file also includes version.h now, in case we want
to display the version number of the openpgpsdk library.
2009-02-07 05:37:57 +00:00
agc
6aef23c4e0 Re-order header file inclusion order to be alphabetic.
Print out the version number of the openpgpsdk library when showing the
version string.

Parse the existing ~/.gnupg/gpg.conf to get the default user id, if any.

Use the actual size of the arrays in snprintf(), rather than a size which
may or may not be accurate.

Get rid of an unused 8K array on the stack - it's not needed.
2009-02-07 05:36:51 +00:00
agc
02ebfd8cdc Minor cosmetic change - no functional difference. 2009-02-07 05:32:27 +00:00
agc
852e7a06c8 Be a bit less rigid when re-allocating memory - don't just keep doubling
the size we've allocated; instead, if the current size is more than 8 MiB,
then add 1 MiB on; current behaviour remains unchanged for re-allocations
less than 8 MiB.
2009-02-07 05:31:28 +00:00