Commit Graph

158344 Commits

Author SHA1 Message Date
pooka
4c854dd8b4 Use ntohl instead of htonl when converting data from the network.
Result isn't that much different, though ....
2007-04-18 15:35:02 +00:00
tnn
88ed5f6036 We can't support them in a clean way, but still note the bus addresses
of the disk failure LEDs.
2007-04-18 14:49:44 +00:00
skrll
8ac9999f27 Whitespace. 2007-04-18 13:41:37 +00:00
skrll
974981b1d9 Bump the initial stack size limit to bring in line with other ports.
newfs_lfs doesn't core by default now.
2007-04-18 13:39:37 +00:00
yamt
483db2967f update. 2007-04-18 12:19:45 +00:00
yamt
2c410c0431 sys_accept: fix usecount botch and double soclose in rev.1.108. 2007-04-18 10:20:02 +00:00
thorpej
50742758a1 Update status of thorpej-atomic. 2007-04-18 05:58:54 +00:00
matt
ae3ada32fe Make the internal __libm_dsqrt_r6 have a fake entry mask of 0 to make
ld.elf_so.
2007-04-18 04:46:13 +00:00
dyoung
8b1b24ba1a Add definitions for the AMD Elan 520 Host Bridge Master Interrupt
Control register.
2007-04-18 04:02:27 +00:00
lukem
bab591a531 fix rev 1.144: initconn() may be called with verbose==-1 (e.g., during remote
completion), so only print out the successful EPSV response if verbose>0.
2007-04-18 01:50:45 +00:00
lukem
036f5d17ed Clean up use of confirm() and mbort() so that the current operation
is always passed in (instead of depending upon the 'mname' global).
For confirm(), if the second argument is NULL print the "Continue with <cmd>"
prompt.  This fixes up the the display of interrupted prompts.
2007-04-18 01:39:04 +00:00
perseant
0549fd6148 Add/change a couple of comments about locking restrictions. 2007-04-18 00:50:06 +00:00
perseant
0d8a7af5d6 Remember to write dirops when the vnode we are trying to flush is a dirop. 2007-04-18 00:49:33 +00:00
agc
41c7d6fedc Don't allow duplicate directory entries to be created.
Correct a comment.
2007-04-17 22:51:53 +00:00
mhitch
a7afe56d70 Fix polyd trapping when running pic and grn during groff tool builds on
vax.  From OpenBSD:

Addressing mode work by Jim Uhl:
    - fix PC relative byte displacement in getaddr_byte
    - add support for word displacement to getaddr_byte

This allows certain libm inverse trig functions to work on systems
that lack a native polyd instruction.
2007-04-17 22:47:50 +00:00
dyoung
57b1c008e8 Plug an mbuf leak. Found by inspection.
Do not clear IFF_OACTIVE and reset the transmit watchdog timer
unless we have actually freed some transmit resources.  This prevents
my wireless routers from needlessly entering ath_start() without
any transmit resources.  If the MAC's transmitter has frozen, also,
then the driver will take the "out of xmit buffers" path in
ath_start(), which sets OACTIVE without activating the transmit
watchdog.  That freezes the transmit path until the driver is reset.

XXX The "out of xmit buffers" path in ath_start() needs more
XXX attention.
2007-04-17 22:01:43 +00:00
dyoung
32cd652c48 Cosmetic: fix whitespace, join two lines, remove extraneous #includes.
#Define a bitmask using __BITS() instead of a hex constant, for
easy comparison with paper documentation.
2007-04-17 21:50:31 +00:00
dyoung
e3c53bf4c1 Add prototype for ath_pci_detach(). Alphabetize prototypes.
Extract the code for disabling PCI retries, creating ath_disable_retry(),
and call it both during device initialization and on ->PWR_RESUME
transitions.  Comment out the code in ath_disable_retry() for now,
because it is not clear what problem it solves, if any.

Set a reasonable PCI Latency Timer.  Apparently, it is too much to
ask any BIOS to do.  The PCI framework ought to set latency timers,
instead of individual drivers setting latency timers.
2007-04-17 21:48:07 +00:00
pooka
05ae90ed10 note support for NFS exporting puffs file servers 2007-04-17 21:24:56 +00:00
mrg
4150cdaa18 add JFW 2007-04-17 21:21:50 +00:00
mrg
30804d7205 add the more common definition of FOAD 2007-04-17 21:20:48 +00:00
heinz
9e9284adba Fixed spelling error. 2007-04-17 21:11:47 +00:00
christos
80cd289830 provide _POSIX2_LINE_MAX if not there. 2007-04-17 20:30:29 +00:00
perseant
72507061e4 Fix another locking protocol error in lfs_fsync(). 2007-04-17 20:30:28 +00:00
skrll
f072236507 hppa is done on yamt-idlelwp to the point that I'm happy it works. 2007-04-17 20:07:04 +00:00
pooka
052ed1b786 wrap calls to pgsignal() in proclist_mutex 2007-04-17 19:52:56 +00:00
tron
a1ecd00f0a Comment out fwohci(4) because it doesn't support ACPI suspend/resume.
Pointed out by Jared D. McNeill on "port-i386" mailing list.
2007-04-17 14:17:28 +00:00
skrll
a3ff9cc3ff Remove bogus if_drain. If an attempt to reclaim mbufs was made the
interface was marked down.

Should fix PR 31540.
2007-04-17 14:12:06 +00:00
tron
c7e599195d Add and enable IEEE1394 support. 2007-04-17 14:06:52 +00:00
pooka
d17f97ea42 * describe fhtonode, nodetofh and suspend
* update description of readdir to match reality
2007-04-17 13:11:05 +00:00
sekiya
e2a64ba528 Nuke homegrown PCI configuration routines. #ifdef'd out by tsutsui@ a long
time ago; this is just garbage collection.
2007-04-17 12:41:57 +00:00
sekiya
1eb315b681 g/c unused file. 2007-04-17 12:29:06 +00:00
pooka
66efb94d3b use PUFFS_STORE_DCOOKIE 2007-04-17 11:43:32 +00:00
pooka
eeff4f8efe Introduce PUFFS_STORE_DCOOKIE, which stores a directory cookie for a
given offset iff the directory read in question wants cookies.
2007-04-17 11:42:14 +00:00
pooka
f9d2f485d4 improve markup and descriptions 2007-04-17 10:14:27 +00:00
perseant
43d50ff956 Fix MP locking protocol violations introduced in my previous commit. 2007-04-17 06:49:40 +00:00
agc
1e1fbd91da The error return code from fuse_opt_add_arg() and fuse_opt_insert_arg() is
actually -1, not 1. Fix the broken sewing machine, and make it sew.
2007-04-17 06:34:48 +00:00
lukem
8a06b9bff0 * Implement -s srcaddr; uses srcaddr as the local IP address for all
connections.
  Based on code in the version of ftp that FreeBSD had before they
  replaced it with lukemftp.
* Move error message handling into ftp_connect() rather than in the
  caller, so that more specific error reporting can occur.
* Improve consistency of various warning and error messages.
2007-04-17 05:52:03 +00:00
dyoung
4c03b53e43 In admsw_intr(), print any events we do not expect. 2007-04-17 03:33:48 +00:00
perseant
9be0ebd9da Install a new sysctl, vfs.lfs.ignore_lazy_sync, which causes LFS to ignore
the "smooth" syncer, as if vfs.sync.*delay = 0, but only for LFS.  The
default is "on", i.e., ignore lazy sync.

Reduce the amount of polling/busy-waiting done by lfs_putpages().  To
accomplish this, copied genfs_putpages() and modified it to indicate which
page it was that caused it to return with EDEADLK.  fsync()/fdatasync()
should no longer ever fail with EAGAIN, and should not consume huge
quantities of cpu.

Also, try to make dirops less likely to be written as the result of a
VOP_PUTPAGES(), while ensuring that they are written regularly.
2007-04-17 01:16:46 +00:00
xtraeme
2a9a16f24b Forgot to move the prototype in a comment to the correct place. 2007-04-17 00:25:21 +00:00
xtraeme
5ebefbd7c9 Sync comments with reality. 2007-04-17 00:23:23 +00:00
xtraeme
b1f8749808 Wrap long lines. 2007-04-17 00:20:52 +00:00
macallan
2f13af2bed add a very simple driver for ADB button devices found on halfway recent
*Books. So far it only returns function key events.
2007-04-16 23:34:43 +00:00
macallan
9fbe2d39ef don't panic when someone presses the power button without powerd running 2007-04-16 23:33:10 +00:00
jmcneill
1fcc2e9929 Fix crime_intr so intr handlers registers w/ crime_intr_establish actually
get called. "seems more right to me" mrg@
2007-04-16 23:31:04 +00:00
sekiya
d44a94367f Fix wsfb names properly. 2007-04-16 22:34:58 +00:00
ad
9e3116ecc8 Fix error in previous. 2007-04-16 19:25:04 +00:00
pooka
f0498d6b10 add puffs_ops.[03] 2007-04-16 19:17:29 +00:00
ad
10c8708a61 + x86/sysarch.h 2007-04-16 19:16:36 +00:00