Commit Graph

160153 Commits

Author SHA1 Message Date
pooka 1828428de1 Don't drain a vnode's lock when we are cleaning it out. It still
might be used by upper layers in the vnode stack due to exported
lock pointers.  This introduces no difference to the normal case
and works around a problem where a lower layer vnode is cleaned
out before the upper layer due to forced unmount or revoke.  And
for cosmetics, set a vnode's lock export to NULL when it is cleaned
out.

per discussion with Bill Stouder-Studenmund on tech-kern
2007-07-09 11:35:20 +00:00
ad 73ebbed2a1 Remove kcont:
- There are no users in tree.
- Its functionality has largely been replaced by workqueues and generic
  soft interrupts.
- It's not MP friendly.
2007-07-09 10:05:26 +00:00
pooka fb503062d5 add IO_NDELAY 2007-07-09 09:28:48 +00:00
pooka 52c5d7c979 * support non-blocking read/write
* support seek (or actually support failing to seek ...)
2007-07-09 09:28:21 +00:00
jklos b03f59f16f Boo boo - .h files don't go in here... 2007-07-09 01:14:05 +00:00
jklos 5bb1837e63 Added one last file for Chelsio support. 2007-07-09 01:08:22 +00:00
jklos 5731e0c1e1 More updates to Chelsio support files. It compiles, but almost certainly
doesn't work yet.
2007-07-09 00:53:52 +00:00
pooka 4b8065ff1e mntflushbuf() cargo cult comment mania cleanup. there is no mntflushbuf(). 2007-07-09 00:01:42 +00:00
pooka b7d4ee5f17 * allow unmount even if rootvp has a usecount > 1 provided that
MNT_FORCE is given
* decrease cargo cult index by getting rid of commented sections
  with mntflushbuf() in them - AFAICT the call was removed from our
  kernel over 13 years ago with the 4.4BSDlite import
2007-07-08 23:58:53 +00:00
bouyer afc9294f4e Add a bootstatic callback for dom0, which allows to take NFS boot informations
from the command line (nfsroot=, ip=) in the same way domUs did.
While there convert a for (;;) loop to TAILQ_FOREACH().
From Christoph Egger in private mail.

Make all bootstatic callbacks return the new NFS_BOOTSTATIC_NOSTATIC flag
when no nfs boot information is found on command line.
2007-07-08 21:14:14 +00:00
bouyer a92a400fbf Add a new BOOTSTATIC flag, NFS_BOOTSTATIC_NOSTATIC, which causes
nfs_bootstatic() to abort with EOPNOTSUPP. This allows a callback to
say that there is no bootstatic config, and the next NFS boot method should
be tried.
2007-07-08 21:08:09 +00:00
jmcneill b8b2ef4d41 If the USB legacy capability flag is not set, we mistakenly attempt to
clear it anyway by writing to PCI configuration register 0x00. Instead,
if this flag is not set, simply bail out from ehci_get_ownership.
2007-07-08 18:22:28 +00:00
pooka 181c165c35 bring up-to-date 2007-07-08 17:25:26 +00:00
pooka 3541e44ce7 g/c leftover 2007-07-08 17:24:41 +00:00
pooka a43c6db049 play it safe: ignore sigpipe 2007-07-08 17:13:24 +00:00
bouyer a59a9ef8db writeat() also expect offsets in DEV_BSIZE unit. This and the previous commit
should fix PR bin/35560. Thanks to Michael L. Hitch for pointing me at the
PR.
2007-07-08 16:54:40 +00:00
pooka 5e1b81c1b5 Accept user as a flag. This way the usage is fstab-compliant:
mount_9p argument mountpoint
2007-07-08 16:29:29 +00:00
jmcneill cd99a454a8 Added gcscehci(4) 2007-07-08 15:37:46 +00:00
pooka e7ed439d6d tweak previous: s/mount_portal/mount_puffsportal/ 2007-07-08 14:32:49 +00:00
pooka 9d2baecbde build & install puffsportal (if MKPUFFS) 2007-07-08 14:29:52 +00:00
pooka 226c70ad91 Build this as mount_puffsportal for now, so that it can be easily
installed at the same with the regular mount_portal.
2007-07-08 14:27:48 +00:00
pooka cae7a90e9a note addition of puffs-based mount_portal 2007-07-08 12:15:19 +00:00
pooka 33318660d7 * don't need to define a nop notify, just pass in NULL to init
* remove node's i/o descriptor in reclaim
2007-07-08 11:45:00 +00:00
ws a3d6358dce Fix "Fix a garbage in previous commit." in 1.10.
Hi, junyoung!
2007-07-08 11:44:08 +00:00
pooka 1119cb908e make notifyfunction optional and do not call removeonclose() if
none is given.
2007-07-08 11:24:58 +00:00
pooka e395775675 Add support for non-blocking I/O. Also fixes problems the providers
and popen() caused with concurrent access.

This should match the original portalfs in functionality now.
2007-07-08 10:43:03 +00:00
pooka 0bc323f5cd Initialize the link context in a signal frame to the receiving lwp's
link context instead of NULL.  Otherwise, if we got a signal while the
lwp had a link context set, the link context would be set to NULL upon
return from signal delivery.

christos@tech-kern: "I think you are right."
2007-07-08 10:19:21 +00:00
scw 9e1f0b7978 Bump SYMTAB_SPACE 2007-07-08 10:05:13 +00:00
pooka 91f8a6cda5 RCS Id police 2007-07-08 09:54:50 +00:00
pooka b6caa3be1b fix pasto: sigframe.sf_sc is of type linux_sigcontext 2007-07-08 09:41:00 +00:00
scw 61366a1bd8 Make this build again now that sched_whichqs no longer exists. 2007-07-08 08:37:25 +00:00
mjacob cbd714c116 Oh, dear, I didn't have an i386 or amd64 up and running and
missed a LITTLE ENDIAN version of a define.
2007-07-08 05:22:33 +00:00
jmcneill 887c79e434 Enable gcscehci(4) 2007-07-08 03:01:19 +00:00
jklos c2dc605e95 Updating more Chelsio files. 2007-07-08 02:30:30 +00:00
jmcneill 424b422ccd Add gcscehci(4), an EHCI glue driver for the AMD CS5536 companion
controller. This driver enables USB 2.0 high speed support on the
Soekris net5501 (comBIOS ver. 1.31m).
2007-07-08 01:13:26 +00:00
christos 97dcde77bc - Compile in with debugging by default.
- General cleanup.
2007-07-07 22:33:57 +00:00
pooka 1ad69966c9 I'm fairly certain this file system's type is psshfs, not ppshfs
(how did that manage to be there this long?)
2007-07-07 22:06:09 +00:00
pooka bfecc30afc adapt to puffs_framebuf changes 2007-07-07 21:14:26 +00:00
pooka 8c9c68dbc2 Make puffs_framebuf better suited from environments with multiple sources:
* in addition add/remove, allow enable/disable, which can be used
  to control events for descriptors without having to remove all the
  data associated with them
* add directsend/receive, which can be used to pass the same buffer
  from the caller to read/writeframe and back again
* add flags to enqueue functions and allow urgent buffers to be
  processed as the next PDU
2007-07-07 21:13:41 +00:00
jklos 953092f8c6 Adding another file for Chesio 10 gig card support. 2007-07-07 21:05:41 +00:00
tsutsui 3682cc2396 - make this compile again
- remove an unneeded include file

XXX: Avalon A12 devices are not in alpha/conf/GENERIC.
2007-07-07 21:04:29 +00:00
jklos 1f2ed1cde7 Added two files for Chelsio 10 gig cards. 2007-07-07 20:59:16 +00:00
jklos 37c2139a38 Updating Chelsio files. Not quite compiling yet. 2007-07-07 20:48:16 +00:00
jklos 947224b2b3 Added Chelsio vendor and various Chelsio hardware. 2007-07-07 20:37:40 +00:00
jklos a132475473 Added Chelsio vendor plus 10 gig hardware (and friends). 2007-07-07 20:30:47 +00:00
dsl df1814f734 Use block minor (from device name) for block devices (not char minor).
Fixes PR bin/36614
2007-07-07 20:11:07 +00:00
degroote be58d0f67a Fix the prototyp of prop_dictionary_set_keysym in the DESCRIPTION part 2007-07-07 19:03:52 +00:00
degroote a382db0aa9 Ansify
Remove useless extern
bzero -> memset, bcopy -> memcpy

No functionnal changes
2007-07-07 18:38:22 +00:00
christos 4fbeddc144 treat ESRCH as a soft error. From Anon Ymous 2007-07-07 18:27:26 +00:00
christos 9b2b49a478 off by one fix from Anon Ymous 2007-07-07 18:04:17 +00:00