Commit Graph

186975 Commits

Author SHA1 Message Date
pooka
8ed2ec74c7 Fix variable name in my commit tree too. 2010-01-07 22:59:27 +00:00
pooka
cf755ff393 Rewrite puffs_exit() in terms of the PUFFSOP_UNMOUNT kernel request.
Now server exit is a lot quite cleaner than previously.
2010-01-07 22:49:19 +00:00
pooka
0dd997522d Be slightly more forgiving about unknown operation types. 2010-01-07 22:46:11 +00:00
pooka
d728f5380d Add a PUFFS_UNMOUNT server->kernel request, which causes the kernel
to initiate self destruct, i.e. unmount(MNT_FORCE).  This, however,
is a semi-controlled self-destruct, since all caches are flushed
before the (possibly) violent unmount takes place.
2010-01-07 22:45:31 +00:00
gls
e9d13d47e1 Add myself 2010-01-07 22:43:00 +00:00
pooka
b3cd880417 Set high bit on server->kernel requests to better differentiate
between the direction of the request.
2010-01-07 22:40:11 +00:00
dyoung
bb333bec6f Add a do-nothing child-detachment hook, null_childdetached(device_t,
device_t).
2010-01-07 22:39:52 +00:00
pooka
eac396bb5a errx() already contains progname ... 2010-01-07 21:26:49 +00:00
pooka
754f939dd3 Don't allow mangling of uid or gid -1, since they have a special
meaning in the sftp protocol.
2010-01-07 21:23:10 +00:00
pooka
6cd252da60 Fix chgrp (and don't rely on VNOVAL being -1, however unlikely that
is to be broken).
2010-01-07 21:19:45 +00:00
pooka
c4291c195a Add -u and -g, which allow to remap one (local,remote) uidgid, i.e.
umapfs without the fuss.
2010-01-07 21:05:50 +00:00
pooka
a63d44abdb Dump contents of struct vattr -- i never remember which members
the kernel passes when, so this helps tapping that info.
2010-01-07 20:47:47 +00:00
pooka
8797d86fd0 Make sure struct vattr contains no random bits of kernel memory
after vattr_null().  This is especially nice considering things
like puffs, where the contents are copied to userspace.
2010-01-07 19:54:40 +00:00
msaitoh
69cfca0b8d regen 2010-01-07 18:57:38 +00:00
msaitoh
b178ab008c Add PCH LAN and i82575 2010-01-07 18:57:10 +00:00
tnn
9ecd6e9551 uhmodem(4) is superseded by u3g(4) and u3ginit(4).
Prepare for uhmodem(4) removal by not building it anymore.
This may fix PR kern/41174.
2010-01-07 18:49:30 +00:00
pooka
d0f464047a * make indentation a little less ridiculous
* note that interfaces provided by <puffsdump.h> are not stable and
  are to be used only for debug builds
* remove a few unimplemented/used dump interfaces
2010-01-07 18:09:07 +00:00
msaitoh
ddef6db304 Make wm_reset() and wm_gmii_reset() close to e1000 driver.
At least, this change make wm_attach() stable on ICH9.
2010-01-07 17:45:58 +00:00
msaitoh
3beaf977ff bugfixes:
- add missing break in wm_reset()...
 - fix the offset of WMREG_PBS...
 - fix length of some delay()s in wm_gmii_reset()
2010-01-07 17:34:38 +00:00
tsutsui
17ad8ece63 Add a sectorsize parameter member in struct ib_params and use it
where sector size (disk block size) is required, instead of
DEV_BSIZE constant which means device I/O block size.

"Looks reasonable" from dholland@, and fixes tools installboot(8)
on Cygwin where DEV_BSIZE != 512 as mentioned in PR toolchain/42555.
2010-01-07 13:26:00 +00:00
skrll
5ddaffd107 Deal with PLABELs in _lwp_makecontext 2010-01-07 12:31:10 +00:00
wiz
76f833ae3d Bump date for previous. New sentence, new line. 2010-01-07 10:32:01 +00:00
jdc
7570a2aa0a Add cas, gentbi and gphyter for Sun Cassini/Cassini+ Ethernet. 2010-01-07 09:34:49 +00:00
jdc
74589fcd11 Cope with up to four "interrupts" properties for a node.
Just use the first one for now.  This should be improved.
OK: mrg@.
2010-01-07 09:33:44 +00:00
jdc
5af9c30746 Regenerate for:
Add NS DP83865
2010-01-07 09:31:44 +00:00
jdc
dda409f914 Add NS DP83865. 2010-01-07 09:31:19 +00:00
jdc
54137b1918 Add DP83865 to the supported PHY list (from OpenBSD). 2010-01-07 09:30:28 +00:00
jdc
a62ce4e54f Regenerate for:
Add Sun Cassini/NS Saturn devices.
2010-01-07 09:28:38 +00:00
jdc
d1943ff6b6 Add Sun Cassini/NS Saturn devices. 2010-01-07 09:27:16 +00:00
jdc
b71af6114c Add cas (Sun Cassini/Cassini+ (GigaSwift) Ethernet). 2010-01-07 09:24:45 +00:00
jdc
1da1a88e96 Add cas(4) manual page. 2010-01-07 09:23:54 +00:00
jdc
ab6c3487ea Manual page for cas (Sun Cassini/Cassini+ GigaSwift) Ethernet). 2010-01-07 09:20:45 +00:00
jdc
28537da09d Driver for Sun Cassini/Cassini+ (GigaSwift) Ethernet (also known as
National Semiconductor Saturn).
Based on the OpenBSD driver written by Mark Kettenis:
  detach support added
  MAC address lookup modified (only tested on sparc64)

Tested on single GigaSwift (UTP and MMF) and quad GigaSwift PCI cards.
2010-01-07 09:19:55 +00:00
skrll
c6ed7679c0 Typo in comment. 2010-01-07 07:35:35 +00:00
christos
808212fb9d missing errno.h 2010-01-07 04:21:28 +00:00
christos
36cd9355e9 make this compile again. 2010-01-07 01:39:56 +00:00
martin
c67e811ad6 Add the u3ginit driver to all configs which have the u3g driver 2010-01-07 00:18:47 +00:00
martin
ccc11a5461 Split the u3g driver into two parts: u3ginit attaches to those devices
that only come as a umass device in the default configuration and
forces them to reinitialize in 3D mode and detach.
The u3g part attaches to individual interfaces for the 3G functionality,
leaving the umass interface(s) for that driver.
With this change I can use the MMC card in my Huawey stick (as well as
the integrated windows driver CD, which of course is pretty useless) and
the 3G modem at the same time.
Fixes PR 42577.
Code contributed anonymously, minor tweaks (and all bugs) by me.
2010-01-07 00:15:20 +00:00
martin
015458e484 Optimize for higher speeds, e.g. when used as part of a 3G modem.
Contributed anonymously.
2010-01-06 20:37:56 +00:00
martin
a24c4f307b Some usb devices come with an internal emulated umass CD drive (containing
windows drivers). I have such a device that has 0 features - avoid wrappig
features_len to a very big unsiged 32bit number in this case.
2010-01-06 20:16:57 +00:00
skrll
2f016ded44 libpmc_g is only available on i386 and arm. Fixes MKDEBUGLIB builds on
other platforms.
2010-01-06 19:46:43 +00:00
christos
87e82597b6 PR/42568: Pedro F. Giffuni: Better signal handling from OpenBSD, but simplified. 2010-01-06 18:12:37 +00:00
skrll
1b91b7e11c Fix MKDEBUG=yes sets lists for hp700. 2010-01-06 16:19:07 +00:00
phx
7377320537 Jump through the PLT in PIC mode to fix the DT_TEXTREL warning on creating
the shared object.
2010-01-06 14:10:57 +00:00
skrll
c982c69974 Update 64bit arg handling to use the flags in the syscall table.
Only do trace_enter/trace_exit if we're tracing.
2010-01-06 07:42:58 +00:00
skrll
8fb5f5ef34 curlwp is never NULL now. Sprinkle KASSERT just in case. 2010-01-06 07:38:49 +00:00
mbalmer
40406154b1 Fix typo in comment. 2010-01-06 06:30:37 +00:00
mrg
339e9e62d0 fix an incomplete comment. 2010-01-06 06:15:09 +00:00
mrg
82d26ec658 move the guts of pci_intr_map() into pci_machdep.c, and move the schizo
ign addition into a hook.  also, don't double shift the ign in set_intr.

tested on U60 and SB2500.
2010-01-06 05:55:01 +00:00
dyoung
3fec0e6fa3 Call device_lookup() from device_lookup_private() instead of
duplicating code.

Per suggestions by rmind@:

Simplify some code that used "empty statements," ";".

Don't collect garbage in device_lookup{,_private}(), since they
are called in interrupt context from certain drivers.

Make config_collect_garbage() KASSERT() that it does not run in
interrupt or software-interrupt context.
2010-01-05 22:42:16 +00:00