Commit Graph

150095 Commits

Author SHA1 Message Date
bouyer aeeb0b33ca Some bus_dma(9) fixes for Xen:
- Attempt to gracefully recover from a failed decrease_reservation or
  increase_reservation, by avoiding physical memory loss.
- always store a machine address in ds_addr; this avoids some mistakes
  where machine address would in some case be freed at physical address, or
  mapped as physical address.
2006-08-28 19:58:56 +00:00
he 4c2420029f Add duplicate include protection to <dev/sun/kbio.h>.
Make the x68k port use this include file, so that what remains
is only the port-specific additions.
2006-08-28 17:15:24 +00:00
he 03d728a806 Collapse two more separate instances of MD vuid_event.h header
files to instead use the common <dev/sun/vuid_event.h> header.
2006-08-28 16:52:09 +00:00
he 4493c76313 Use the common <dev/sun/vuid_event.h> header file instead of maintaining
separate copies in port-specific directories.  Add duplicate include
protection.  Makes the alpha and atari ports build usr.bin/kdump/ again.
2006-08-28 16:41:04 +00:00
christos eef4aaba6b Fix getdirentries() issue from FreeBSD PR - 78953 Quoting from that:
If you perform this request on a directory with exactly 50 files
(plus '.' and '..' which brings the total to 52 objects), the first
reply for the SMB server completely satisfies the query (server
side is Windows 2000 Professional).

The smbfs client then performs a TRANS2_FIND_NEXT2 using the last
file name as the resume key.  The response returns a SearchCount
of zero (ctx->f_ecnt == 0) and an EndOfSearch code of zero.

Any attempt to get more entries with calls to TRANS2_FIND_NEXT2
result in Badfid (bad file descriptor).  I suspect the return of
SearchCount of zero means that end-of-search has been reached and
the Sid is now closed.

The solution is to set "SMB_RDD_EOF | SMB_RDD_NOCLOSE" after getting
back a zero SearchCount,  I've tested this in the field on a quite
a few systems, aggressively accessing Windows shares over smbfs
and it appears flawless.

I was initially concerned about the possibility of resource exhaustion
on the Windows server. I was afraid by not officially closing the
search, it would leave a resource hung-up and over time, exhaust
some sort of "open search table" limit.  I've since convinced myself
this is NOT the case.

Windows needs to be able to handle clients that come and go over
time.  If the search is not closed, Windows will close it if it
finds it needs more resources.  I've testing this on directory
searches descending into 10's of thousands of folders, with 100's
of thousands of files.
2006-08-28 15:56:56 +00:00
jdc 80ab849735 Disable threaded support for sparc and sparc64.
OK martin@.
2006-08-28 15:37:05 +00:00
bjh21 44ef93a9be Be more careful with registers in LDR[T] so that GAS doesn't warn us about
constructs that aren't allowed in ARMv3.
2006-08-28 15:15:50 +00:00
tsutsui e67dfa30bf Remove unneeded #include <sys/device.h> which also requires <prop/proplib.h>. 2006-08-28 14:31:45 +00:00
bjh21 d5930df82e unifdef -U __APCS_26__: we've been using APCS-32 for years. 2006-08-28 14:31:18 +00:00
bjh21 3612709d56 unifdef __APCS26__: we've been using APCS-32 for years. 2006-08-28 14:26:34 +00:00
tsutsui 73e8e44a34 options SYSTRACE is now disabled in GENERIC,
so remove "no options SYSTRACE".
2006-08-28 13:53:04 +00:00
yamt ea6892fdba icmp_input: don't assume relations between PRC_ and ICMP_ values. 2006-08-28 13:46:35 +00:00
yamt e527ebac6f - remove unused bdbtofsb.
- move the following macros from MD headers to sys/param.h.
	ctod
	dtoc
	ctob
	btoc
	dbtob
	btodb
2006-08-28 13:43:35 +00:00
tsutsui 7ecca3ca2e Revert previous, because header search path for src/common/include is
now handled in src/sys/lib/libkern/Makefile.
2006-08-28 13:42:39 +00:00
yamt b153af038b don't include sys/lock.h as it is no longer necessary. 2006-08-28 13:41:04 +00:00
yamt 93fbc06b96 make callback.h include necessary headers by itself
as suggested by Jason Thorpe and Martin Husemann on source-changes@.
2006-08-28 13:40:44 +00:00
tsutsui 25b6b97dcd Add src/common/include to include header search path since
<sys/device.h> includes <prop/proplib.h>.
2006-08-28 13:38:43 +00:00
tsutsui a3bdccd23a Add src/common/include to include header search path so that
standalone programs can be built without installed ${DESTDIR} tree.
Okayed by christos, and should close PR 33431.
2006-08-28 13:34:18 +00:00
bjh21 ad94f1ce01 bjh21-hydra is pining for the fjords. 2006-08-28 12:32:35 +00:00
xtraeme 6c90d7030b Remove unused variable 'periph' to make this build. 2006-08-28 11:45:38 +00:00
plunky f2c2a49a27 Make suspend/resume work properly for bt3c device.
Since state is kept inside the device that will be lost, we need to
flush all information relating to this controller from the protocol
stack.
2006-08-28 10:34:33 +00:00
mrg eb4b398a46 regenerate. (largely from dsl@, thanks.) libstdc++ should support
wide characters properly again now, for everyone.
2006-08-28 09:26:59 +00:00
plunky 81bd66d7f5 cause bt_devaddr() and bt_devname() to return error if the controller
being queried is not enabled, rather than returning a null address.
2006-08-28 08:24:39 +00:00
plunky d8e707630c correct spelling mistake 2006-08-28 08:21:38 +00:00
plunky 8e2dcba5fc add newline to (debug) printf 2006-08-28 08:19:53 +00:00
gdamore 5cdb703d36 First pass at cleanup AR5312 WiSoC support to enable better & cleaner
sharing of code with the AR5315, which has many similarities, but many
differences from the AR5312.

No functional change at this time, other than the cpu_model string
(and also sysctl.hw.model node) is changed to reflect the WiSoC cpu
name rather than the identification string in ROM (which tends to not
be very informative.)
2006-08-28 07:21:15 +00:00
christos df7450f605 Fix uninitialized variables. 2006-08-28 02:58:16 +00:00
christos 4db35667c5 remove excess initializer 2006-08-28 02:54:11 +00:00
christos 82b002de3d Remove excess initializer. 2006-08-28 02:53:03 +00:00
christos 588c80f975 remove extra members 2006-08-28 02:51:12 +00:00
christos 56ec46b4b3 complete CFDRIVER initializer. 2006-08-28 01:46:10 +00:00
christos e07b7e508b build complete initializations. 2006-08-28 01:45:41 +00:00
christos 4e4ed26fac add missing initializer 2006-08-28 00:38:47 +00:00
christos e28a71d80a add missing initializers 2006-08-28 00:35:22 +00:00
christos 428665231e correct bogus loop test; used to be always true. 2006-08-28 00:28:51 +00:00
christos 6ab0a579ce Add missing initializer. 2006-08-28 00:22:15 +00:00
christos 67e07ec558 Add missing initializers 2006-08-28 00:20:47 +00:00
christos 87fd29be14 static goes first. 2006-08-28 00:18:30 +00:00
christos 9953ed71c7 Add missing initializer 2006-08-28 00:16:54 +00:00
christos f7db588ec4 add missing initializer. 2006-08-28 00:14:50 +00:00
christos 39f8ec7651 add missing initializers. 2006-08-28 00:13:44 +00:00
christos d3b80ef998 remove impossible conditional 2006-08-28 00:10:20 +00:00
christos 6d637b500d add missing initializer 2006-08-28 00:09:28 +00:00
christos 6e913df162 remove unreachable code. 2006-08-28 00:08:38 +00:00
christos a19f83e53b add missing initializer. 2006-08-28 00:07:35 +00:00
christos 63f68a892b remove unreachable code. 2006-08-28 00:06:14 +00:00
christos 78cdbd8e9c add missing initializer. 2006-08-28 00:04:21 +00:00
christos 7546f55be3 add missing initializer 2006-08-28 00:01:36 +00:00
christos 2735c71895 static comes first. 2006-08-28 00:00:23 +00:00
christos a98a1f3b7b Add missing initializers. 2006-08-27 23:59:40 +00:00