Commit Graph

156695 Commits

Author SHA1 Message Date
degroote 768d7886ca Initialize fast_ipsec entry in the protocol switch with structure
initializers as other entries.
2007-02-27 22:19:05 +00:00
pooka d89ebe7462 * remove rogue header
* better variable name to avoid shadowing global symbol name
2007-02-27 22:03:45 +00:00
he 5f00d6d5a0 Install pxeboot_ia32.bin as part of a "make release" on i386 and amd64. 2007-02-27 18:17:28 +00:00
ad b89010bfa3 Destroy the hash locks on final unmount. 2007-02-27 16:11:51 +00:00
ad a76d1d298c Further avoid unnecessary trips through lwp_userret()/issignal(). 2007-02-27 15:19:54 +00:00
yamt c574bfa378 typedef pri_t and use it instead of int and u_char. 2007-02-27 15:07:28 +00:00
ad 8c21785088 Note the ad-audiomp branch. 2007-02-27 14:50:40 +00:00
pooka ad70c5ab2e one more size_t -> uint32_t 2007-02-27 14:17:14 +00:00
apb e6286cf4b0 kernel after newlock2 needs libpthread after newlock2.
Text reviewed by martin.
2007-02-27 13:42:35 +00:00
pooka cbb615f4db size_t -> uint32_t cleanup to make LP64 build
noticed by wiz
2007-02-27 13:28:39 +00:00
ad 487f0ed78f Remove ref to SA. 2007-02-27 12:42:00 +00:00
ad 72b15048da turnstile_wakeup(): on a !MULTIPROCESSOR kernel the LWP is already locked. 2007-02-27 12:17:55 +00:00
yamt 5057834077 nfs_getpages: fix an inverted condition in rev.1.147. 2007-02-27 10:03:56 +00:00
tron 35ce54d7b7 Update release engineering member list with reality. 2007-02-27 09:06:17 +00:00
garbled a330515740 Add /usr/include/prep/nvram.h 2007-02-26 23:57:19 +00:00
garbled cba36b0811 add nvram device 2007-02-26 23:54:48 +00:00
garbled 7b388aeeb7 Finish the code in the prep nvram driver that makes it an actual device
(/dev/nvram) and implement all the associated ioctls fully.  Tested with
a hacked up copy of eeprom(8).  Right now it can only be used to see the
nvram GEV contents, not actually edit them.  Will do that later some day.
2007-02-26 23:53:12 +00:00
cube f361d6e858 Remove unnecessary output and reduce verbosity in dmesg(8) output. That
makes the output consistent with etherip(4).

Suggested by Nino Dehne on current-users@.
2007-02-26 23:52:18 +00:00
skrll 15e7f1810b Pass the LWP of the ptid in PT_{GET,SET}REGS calls.
Pulled across from the changes to gdb5.3.
2007-02-26 23:11:01 +00:00
apb d1c6bc87d3 Add suggestions for creating device nodes on a foreign server
used by a diskless NetBSD client.
2007-02-26 22:54:40 +00:00
apb 8048a35610 Add SEE ALSO reference to the new MAKDEV.local(8) man page.
Also mention that MAKEDEV invokes MAKEDEV.local with the "all" argument.
2007-02-26 22:37:57 +00:00
apb 234c7e3957 Add a man page for MAKEDEV.local(8), and a link for makedev.local(8). 2007-02-26 22:35:04 +00:00
agc 803c0cb0e3 For just now, just use "puffs:refuse" as the file system name - this will
be revisited when thee fuse_args parsing is revisited.
2007-02-26 22:28:11 +00:00
matt d6dd160750 Make -p, -l, and -c exclusive (any one turns off the other two). 2007-02-26 21:56:17 +00:00
wiz 5c09ab218d Add casts to debug printf so it also compiles on i386.
Noted by veego@
2007-02-26 21:35:44 +00:00
apb ea06fb3292 add etc/MAKEDEV.subr 2007-02-26 20:46:31 +00:00
apb 142606111b Provide a new MAKEDEV.subr file containing utility functions for
use by both MAKEDEV and MAKEDEV.local.  This allows MAKEDEV.local
to accept the same command line arguments as MAKEDEV.

The installed MAKEDEV.subr is generated from MAKEDEV.subr.tmpl.

Replace the licence on MAKEDEV.local with a NetBSD licence, since I
rewrote the entire file.

Reviewed by christos and agc
2007-02-26 20:44:03 +00:00
ad cbe547e6a7 - Nuke mutex_owner()
- mutex_getowner() -> mutex_owner()
2007-02-26 19:11:28 +00:00
ad f944608c11 Add a comment. 2007-02-26 19:06:10 +00:00
ad 3d35c6bd90 Fix copyright at yamt's request. 2007-02-26 19:04:47 +00:00
pooka 03c5e15dc2 Refactor a few interfaces a bit to look more like fuse. fuse_args
is implemented as a very dummy version (i.e. totally unimplemented),
so some effort is still needed there.

After this change it is possible to compile and run ntfs-3g.  It
works read/write for ntfs images and shows no faults at least with
superficial testing.  I did not test it against a block device,
only an image.

Thanks to Tracy and Jason for help with the test image.
2007-02-26 15:57:33 +00:00
drochner 34d41b6ccb Another attempt to read string descriptors at once, this time with
the largest size which makes sense (254). See rev. 1.114-116 for
possible problems, but that was with len=255 which is an impossible
size for a string descriptor.
Someone with a "kue" please test this.
2007-02-26 15:16:59 +00:00
pooka 819ea01282 convert FREAD/FWRITE to O_RDWR-stuff in open 2007-02-26 15:09:19 +00:00
drochner 3ccaca911b -remove "bDescriptorSubtype" from usb_descriptor_t - this is not part
of the common USB spec
-Fix length of string descriptor: Descriptors have only a byte field
 for length, so 2*127+2 is already too much. Some devices obviously
 don't reply to string read requests with impossible length which
 happened if "sizeof(usb_string_descriptor_t) was used.
2007-02-26 13:58:36 +00:00
pooka 1b5f35a8e4 Implement readdir properly, or at least as close to possible to how
fuse does it: read directory completely into refuse buffers if starting
from read offset 0 and for later calls trickle results from the buffers
to the kernel without consulting the fuse file system.
2007-02-26 13:52:16 +00:00
drochner d91012791a Define a usb_cdc_descriptor_t which contains the class specific
"bDescriptorSubtype" field and change usb_find_desc()/usb_find_desc_if()
to use it. (The latter functions should not be used by generic code;
I've left the names for now for compatibility.)
Rename USBD_SUBTYPE_ANY to make clear that it is not generic.
2007-02-26 13:50:06 +00:00
drochner 47032dbc5e -g/c usbd_init()/usbd_finish() which don't do anything useful
-use <fs/unicode.h> for utf16->utf8 conversion instead of a private
 implementation
-streamline the COMPAT_30 utf16->ascii conversion a bit: remove
 length check (USB_MAX_STRING_LEN is too large to be useful) and
 replace array index arithmetics
2007-02-26 13:44:40 +00:00
drochner 515beb215f g/c calls to usbd_init()/usbd_finish() which don't have an effect 2007-02-26 13:38:09 +00:00
drochner 527f6a72af don't use usb_find_desc() which has some "subtype" semantics which
should not be used outside of device classes defining it
2007-02-26 13:36:01 +00:00
drochner a0afd1c3d9 Remove the check which disallows to connect a bus powered hub to another
bus powered hub. While one can interpret the spec that way, it is not
stated clearly, and is at most a side effect of power budgeting.
Also, there are devices which don't report correctly whether they
are self powered, so the check was unreliable.
2007-02-26 13:33:09 +00:00
drochner ff825e3a80 The manpage promises not to touch the device on USB_GET_DEVICEINFO.
Make it so.
2007-02-26 13:28:56 +00:00
drochner 8fd98300b1 -in root hub emulation, return a sane value as language code
-constify "methods" tables and (partly) descriptor templates
2007-02-26 13:26:45 +00:00
drochner f8b074ef41 allow the bus/pipes methods tables to be const 2007-02-26 13:23:59 +00:00
drochner c033a8d4ed Don't assume that usb_descriptor_t contains a bDescriptorSubtype field.
This is class specific and shouldn't be in a generic definition.
2007-02-26 13:14:11 +00:00
yamt c692a713b6 bump to 4.99.13; priority inheritance 2007-02-26 12:43:47 +00:00
drochner 33ac0de1eb -add __unused declarations to make it possible to use only half of it
-fix a bitmask (harmless) and remove two unnecessary ones
We should find a better location for that code!
2007-02-26 12:33:08 +00:00
drochner b68dbc6775 regen 2007-02-26 12:20:03 +00:00
drochner 8b8213b508 sync with lwp.h: _lwp_unpark_all() returns ssize_t 2007-02-26 12:19:00 +00:00
drochner 7fc72a801d remove references to old cabs() 2007-02-26 12:10:56 +00:00
drochner ce75a0ec7e regen after math.h change - now we've got _GLIBCXX_USE_C99_MATH 2007-02-26 11:57:52 +00:00