Commit Graph

160163 Commits

Author SHA1 Message Date
he
72c424ca31 Bump the disk image from 3200 to 3500k so that the contents fits again. 2007-07-09 21:35:59 +00:00
ad
e05e11c21a Fix build when not !NFSSERVER. 2007-07-09 21:29:09 +00:00
ad
fc9f914da6 4.99.23 - partial merge from the vmlocking branch. 2007-07-09 21:13:56 +00:00
ad
88ab7da936 Merge some of the less invasive changes from the vmlocking branch:
- kthread, callout, devsw API changes
- select()/poll() improvements
- miscellaneous MT safety improvements
2007-07-09 20:51:58 +00:00
degroote
317bac119f Fix some conflicts in my previous commit.
Sorry for the bad commit

Thanks to dogcow@ for the report.
2007-07-09 20:29:06 +00:00
degroote
7440188711 Update the man page to reference the use of a new firmware for wpi. 2007-07-09 19:59:40 +00:00
degroote
825b897d9b Sync the driver with the OpenBSD one
1/ Update the driver to use the new firmware images from Intel (2.14.3.)
2/ Read the list of supported channels from the EEPROM instead of having
   it hard-coded in the driver.
3/ Limit output power to what is specified in EEPROM.
4/ Decrease output power for highest OFDM rates to reduce distortion.
5/ Automatically adjust output power to temperature changes for increased
   throughput and range.
6/ Attach the adapter's onboard thermal sensor to the sensor framework.
7/ Replace 'magic' fields in structures with their correct definitions.
8/ Rewrite the firmware load in order to reduce the diff with OpenBSD one

NOTE2: you must install sysutils/wpi-firmware2 in order to use the new
driver

NOTE2: if you are using a channel not allowed by the regulatory domain
of your adapter, you will no longer be able to associate.

Thanks a lot for his hard work to damien@OpenBSD.org
2007-07-09 19:38:51 +00:00
gdt
413bfc8b37 ipsec4_splithdr: If m_len is too short, printf and drop it instead of
panicing.  Perhaps should be a pullup instead.  This happens very
occasionally on an ultrasparc with tunnel-mode ESP.
2007-07-09 19:11:05 +00:00
jmmv
899297d564 Treat -cxx-isystem as -isystem-cxx. Not really required by our code, but
I discovered this while trying to add a host tool written in C++.
2007-07-09 15:27:10 +00:00
tsutsui
e53c42e138 Hmm, pesudo seems pseudo of pseudo. 2007-07-09 11:46:21 +00:00
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