Commit Graph

194014 Commits

Author SHA1 Message Date
manu 2ff0ea03a7 - Correctly handle rename whith overwritten destination
- Keep track of file name to avoid lookups when we can. This makes sure we
  do not have two cookies for the same inode, a situation that cause wreak
  havoc when we come to remove or rename a node.
- Do not use PUFFS_FLAG_BUILDPATH at all, since we now track file names
- In open, queue requests after checking for access, as there is no merit
  to queue a will-be-denied request while we can deny it immediatly
- request reclaim of removed nodes at inactive stage
2010-10-03 05:46:47 +00:00
macallan 7ad510fcea cleanup debug code 2010-10-02 23:54:03 +00:00
macallan 7540c6ba94 fix a typo 2010-10-02 23:50:04 +00:00
jym 68b449c6fe dump is not used here. 2010-10-02 22:54:47 +00:00
jym dd3b3bd623 Update the comment for PG_PS when used with PAE. 2010-10-02 22:53:49 +00:00
jym 7779c59157 Bump date. 2010-10-02 22:51:49 +00:00
jym 83d7286ddf Update agp(4) to reflect the agp_allocate modification. 2010-10-02 22:49:06 +00:00
jym c833615d4e Revert christos@ fix for the i386 paddr_t change and agp_allocate.
Make 'physical' element of the struct agp_allocate an uint32_t. This
is similar to what other kernels do (at least Solaris and Linux).

This patch should make xserver work again within an i386 userland in a
64 bits paddr_t world.

Thanks to Iain Hibbert for reporting the break, and providing initial hints.

See http://mail-index.netbsd.org/current-users/2010/09/27/msg014418.html
2010-10-02 21:52:14 +00:00
bad 6b557ece78 Defopt the rest of the Ipfilter options and tunables.
Per discussion with darrenr@ a year ago.
2010-10-02 20:07:39 +00:00
wiz 2724492d78 Print version string to stdout instead of stderr;
it is user-requested and not an error.
2010-10-02 19:31:14 +00:00
gsutre 92e792e4a4 Drop _HID requirement for attachment under acpi(4). From now on,
drivers attaching to the acpinodebus interface should not assume
that the passed acpi_devnode has a valid _HID.

ok jruoho@
2010-10-02 18:06:47 +00:00
tron ae557324e5 Restore binary compatibility with applications which use putenv(3)
on constant strings (e.g. postdrop(1)):
- Don't write to the environment string passed to putenv(3).
- Don't overwrite the value of an existing environment string
  unless the memory was actually allocated by setenv(3).
2010-10-02 16:56:03 +00:00
tron c4f7aae542 Use setenv(3) instead of putenv(3) because the later doesn't accept
string constants anymore.
2010-10-02 12:22:20 +00:00
tron c71ba331c0 Don't free memory that was succesfully passed to putenv(3) which takes
ownership of the memory.
2010-10-02 10:55:36 +00:00
tron c3bcf19cf7 Make sure that all extra elements of the environment vector are set
to NULL. This stop su(1) from crashing.
2010-10-02 10:51:07 +00:00
tron 12c10b36d2 Remember that we didn't malloc() memory for an environment variable
if it has been set via putenv(3).
2010-10-02 10:05:55 +00:00
gson 98bb28c039 putenv() no longer accepts a const string 2010-10-02 09:24:16 +00:00
wiz 07973faac9 New sentence, new line; sort SEE ALSO; use more markup. 2010-10-02 09:18:57 +00:00
gson 5e313b3092 putenv() no longer accepts a const string 2010-10-02 08:26:09 +00:00
kiyohara 734cfccdb7 Support Marvell Sheevaplug and some Marvell SoC NAS box. 2010-10-02 06:32:37 +00:00
kiyohara f634b377ec Add g760a man page. 2010-10-02 06:26:28 +00:00
kiyohara 11bdb89c6d Add g760a fan speed controller driver. 2010-10-02 06:22:00 +00:00
kiyohara 12f099863c Add support Marvell Sheevaplug.
Add some NAS on Marvell SoC.
2010-10-02 06:15:52 +00:00
kiyohara 7ed1ebb1b1 Add g760a.
Cleanup Marvell SC/SoC peripheral drivers.
2010-10-02 06:09:45 +00:00
kiyohara bdef090b06 Add G760a fan speed controller driver. 2010-10-02 06:07:37 +00:00
kiyohara f876f061d1 Support Kirkwood's GbE. 2010-10-02 05:57:42 +00:00
kiyohara d7b57ebb2b Add Marvell EHCI Controller wrapper.
However, because this driver has some problems now, it will not work the
way things are going.
2010-10-02 05:53:37 +00:00
kiyohara 4f2a5779d9 Add support Marvell Sheeva Core and SoC. (Orion/Kirkwood)
Discovery Innovation not yet.
2010-10-02 05:37:58 +00:00
macallan 17887680e3 clarify how backlight control ioctl()s are supposed to work
TODO: adapt r128fb and radeonfb
2010-10-02 00:52:02 +00:00
christos e5041587f1 regen 2010-10-01 21:08:27 +00:00
wiz 732dd678dd Fix a typo, remove trailing whitespace. 2010-10-01 20:57:50 +00:00
christos 2917d71243 from Anon Ymous:
Clear the any endpoint stall in the interrupt handler.  All other
drivers do this and I am pretty sure we need to as well, though I have
yet to see a stall in the handler.
2010-10-01 20:56:50 +00:00
christos 0a99a7950b From Anon Ymous:
Add support for the Zoom 3095 USB Fax Modem.  There are some problems
with this modem:

1) The CS descriptors were placed after all other descriptors rather
than in the Control Interface.  This is true in both configurations
and is the issue this patch deals with.

2) Modem audio is not done on the modem.  There is a second
configuration with an extra interface (3 interfaces) which presumably
is for handling audio.  This patch does not support that.

3) The interrupts are raised a bit slowly.  This means that pppd(8)
needs to wait a bit before trying to read from the link (i.e., just
before the get_input() loop in src/dist/pppd/pppd/main.c line 547).
If you don't wait, then DCD will not be detected high before that
first read and get_input() will drop the line.  This is not a problem
if you use the "local" option to pppd(8) and ignore DCD, but that is
less than desirable.

4) You apparently have to toggle "RSDL (DCD) option"[1] when you
initialize the modem or you will never see a second DCD high interrupt
when redialing after a disconnect.  Without this the pppd(8) "persist"
mode will not work.  Presumably, some extra initialization is missing
from the driver for this chipset.

[1] Send the AT commands: AT&C0 followed by AT&C1 - doing it in one
command doesn't work.  The AT commands for this modem are at:
http://www.zoom.com/documentation/dial_up/3095F_ATcommands.pdf
2010-10-01 20:56:10 +00:00
christos 37a7ff776d Add tests for putenv(3) 2010-10-01 20:12:20 +00:00
christos 7acc3301d8 make putenv POSIX compliant. 2010-10-01 20:11:32 +00:00
christos 713df9b0d9 remove debugging statements that have no chance of working (they crash)
since they are called from a context where we cannot log.
2010-10-01 17:02:35 +00:00
kiyohara 1bf9bb977c Add capacity SMC_CAPS_MULTI_SEG_DMA. pxamci uses pxadmac for DMA. 2010-10-01 09:54:56 +00:00
kiyohara 542a9f73d8 Use DMA bounce buffer, if DMA buffer is making by multiple segments. A lot
of host controllers do not support to two or more segments.
2010-10-01 09:50:42 +00:00
skrll a108583dc7 Oops. Remove trailing whitespace in previous. 2010-09-30 19:45:24 +00:00
skrll d965c46816 Improve debug output. 2010-09-30 19:43:11 +00:00
skrll 0e07ba7138 Add the magic branch instruction that is used by GCC's
__canonicalize_funcptr_for_compare() function to fixup relocations in
order to do function pointer comparisons.

From OpenBSD.
2010-09-30 19:32:40 +00:00
njoly 61da8c5b7a Cleanup, sort entries and remove some duplicates. 2010-09-30 18:43:07 +00:00
tron 2445ce72d2 Be slightly more careful about freeing memory allocated for environment
variables: only free memory if the current value points to the same
memory area as the allocated block. This will prevent crashes if an
application changes the order of the environment array.

Unfortunately this is still not enough to stop zsh 4.2.* from crashing.
zsh 4.3.* works fine before and after this change.
2010-09-30 12:41:33 +00:00
skrll 06acf46b03 Introduce a new type Elf_Symindx for use in decoding the symbol hash table
section and allow this type to be overridden.

The ELF specification says it should always be uint32_t (Elf_Word), but
alpha decided to be different (not sure why). Define Elf_Symindx to be
uint64_t on alpha.

Alpha no longer uses non-standard definitions of Elf64_Sword and
Elf64_Word.  Remove the ability to override these types.

Fixes ld.elf_so after Herculean effort from me and martin.
2010-09-30 09:11:18 +00:00
macallan 672cabf514 use the drawing engine to draw characters so we don't have to sync after each
command and don't need to map the framebuffer anymore
2010-09-30 03:16:51 +00:00
macallan 9d850516d4 add a couple more register definitions, mostly from xf86-video-r128 2010-09-30 03:14:39 +00:00
gsutre 6194fe731c Fix a typo. 2010-09-29 22:38:34 +00:00
joerg a6fcc8233b Add the __eprol hidden symbol. Forgotten part of the common CSU handling
commit as found by Nicolas Joly.
2010-09-29 14:54:00 +00:00
wiz 0bf49d4fec Remove trailing whitespace; new sentence, new line; fix xref. 2010-09-29 14:34:07 +00:00
christos e4ed064c0d make resolver.5 an alias to resolv.conf.5, since ours was better. 2010-09-29 13:50:49 +00:00