Commit Graph

84490 Commits

Author SHA1 Message Date
simokawa
7f7b3dea2b Reduce debug message. 2003-01-01 08:22:29 +00:00
simokawa
230497406e - Retry phy access when the wait-loop count is exhausted.
- Free allocated memory when detaching.
- Detect contigmalloc failure.
2003-01-01 04:23:54 +00:00
imp
47963ec041 Use 0600 for permissions for /dev/devctl until it is cloneable.
Use UID_ROOT and GID_WHEEL rather than 0.

Prompted by: rwatson
2003-01-01 03:43:58 +00:00
imp
72b5b1d27f 'wepmode on' is needed to turn on wep.
Submitted by: blackend
2003-01-01 02:53:41 +00:00
alfred
927595101c When compiling the kernel do not implicitly include filedesc.h from proc.h,
this was causing filedesc work to be very painful.
In order to make this work split out sigio definitions to thier own header
(sigio.h) which is included from proc.h for the time being.
2003-01-01 01:56:19 +00:00
alfred
8ae9cf91c8 When complaining about obsolete/unimplemented syscalls output the process
name to make things more clear for the user.

PR: 46661
MFC After: 3 days
2003-01-01 01:42:57 +00:00
alfred
dd68501eb2 fdcopy() only needs a filedesc pointer. 2003-01-01 01:19:31 +00:00
alfred
9c85c6f625 purge 'register'. 2003-01-01 01:05:54 +00:00
alfred
11118a8028 Since fdshare() and fdinit() only operate on filedescs, make them
take pointers to filedesc structures instead of threads.  This makes
it more clear that they do not do any voodoo with the thread/proc
or anything other than the filedesc passed in or returned.

Remove some XXX KSE's as this resolves the issue.
2003-01-01 01:01:14 +00:00
alfred
b3883074cb fdinit() does not need to lock the filedesc it is creating as no one
besideds itself has access until the function returns.
2003-01-01 00:35:46 +00:00
alc
c28c69ebf9 Add a needed #include.
Reported by:	ia64 tinderbox
2003-01-01 00:13:01 +00:00
njl
34ac065b02 Return an error when r/w is requested on an unsupported device instead of
looping.

Submitted by:	Sean Kelly <smkelly@zombie.org>
Pointed out by:	bde
2002-12-31 21:44:38 +00:00
trhodes
e9b55e634e Add a COMPATIBILITY section. Note what is not supported.
Prompted by:	olgeni
2002-12-31 20:09:31 +00:00
alc
1842adc340 Implement a variant locking scheme for vm maps: Access to system maps
is now synchronized by a mutex, whereas access to user maps is still
synchronized by a lockmgr()-based lock.  Why?  No single type of lock,
including sx locks, meets the requirements of both types of vm map.
Sometimes we sleep while holding the lock on a user map.  Thus, a
a mutex isn't appropriate.  On the other hand, both lockmgr()-based
and sx locks release Giant when a thread/process blocks during
contention for a lock.  This could lead to a race condition in a legacy
driver (that relies on Giant for synchronization) if it attempts to
kmem_malloc() and fails to immediately obtain the lock.  Fortunately,
we never sleep while holding a system map lock.
2002-12-31 19:38:04 +00:00
jake
f1a17aa7f4 Revert previous and move the prototype for db_alt_break to ddb.h.
Requested by:	bde (I think)
2002-12-31 18:30:53 +00:00
sam
edba434517 o reduce the overhead of calling ppsratecheck by using ticks instead of
calling getmicrouptime (but maintain the struct timeval-based calling
  convention for compatibility)
o eliminate the use of timersub in ratecheck

Note that flood ping tests indicate ppsratecheck is inaccurate (but on the
conservative side) with this revised implementation.  If more accuracy is
needed we'll have to introduce an alternate interface or increase the
overhead.

Reviewed by:	silby, dillon, bde
2002-12-31 18:22:12 +00:00
trhodes
7057eb15ff s/arn't/are not/
Reword the AUTHORS section to make more sense.
2002-12-31 17:53:04 +00:00
rwatson
3a7029ba89 Further sync to kernel make_dev(): since we don't provide group access
to /dev/raidctl, don't set the group to operator.  (This isn't a
storage device, it's a control device).

Also, since umask here is already restrictive, we don't need to
explicitly set the mode.

Submitted by:	bde
2002-12-31 16:45:47 +00:00
chris
dd124d957c A refused connection will return ECONNREFUSED rather than ECONNRESET.
PR:		docs/46654
Submitted by:	Christian S.J. Peron <maneo@bsdpro.com>
2002-12-31 16:29:15 +00:00
phk
1067531f6d Reduce size of individual bits of the dists to 240640 bytes again
so snapshots can be installed.

I have no idea what breaks, but at least the passive FTP install
goes haywire.
2002-12-31 15:17:24 +00:00
simokawa
5241028c0c Fix and add several device IDs. 2002-12-31 13:43:44 +00:00
simokawa
11e84e3552 - Implement primal Configuration ROM parser.
- Support multiple LUNs for SBP-II.
2002-12-31 10:28:49 +00:00
phk
0bf2661961 Setup a symlink to the distribution name in the root of the first CD image
so that it can be used as a anon-ftp area.
2002-12-31 10:27:58 +00:00
simokawa
8e3722443a Improve error checking of phy access and retry when error occurs. 2002-12-31 10:00:36 +00:00
nyan
fbeee866f3 MFi386: Add the bge driver. 2002-12-31 06:56:03 +00:00
jake
6cb8c58cce Reserve major 182 for the zs driver. 2002-12-31 06:54:52 +00:00
jake
7767705067 - Add a function db_alt_break which recognizes the character sequence used to
implement ALT_BREAK_TO_DEBUGGER.  The caller provides a pointer to a state
  variable to allow different state to be maintained for separate instances of
  a device.
- Use struct vm_map * instead of vm_map_t in db_break.h to avoid its users
  needing to include vm headers.

Requested by:	njl
2002-12-31 06:51:19 +00:00
simokawa
3ebf3b00f0 add fwmem* and fw*. 2002-12-31 06:38:35 +00:00
rwatson
aec7208153 Set the mode on the raidctl device to 0600.
Reviewed by:	scottl
2002-12-31 06:14:59 +00:00
rwatson
68495449e4 Use UID_ and GID_ constants for uid and gid arguments to make_dev()
for the raidctl device.

Select a more conservative default for the permissions for /dev/raidctl
since the operations are performed using ioctl() not read() and write().

Submitted by:	kris
Reviewed by:	scottl
2002-12-31 06:13:47 +00:00
scottl
606eb48206 Convert the use of MAXBSIZE in the dma tag to more appropriate values.
Use BUS_SPACE_MAXSIZE_32BIT for the parent dma tags, and
(NSEGS - 1) * PAGE_SIZE for the data buffer tags.  FreeBSD/sparc64 is
more strict about checking these values that other arches.
2002-12-31 04:22:36 +00:00
mike
a9d3194c61 Add complete struct timeval by including <sys/_timeval.h>. 2002-12-31 04:13:50 +00:00
mike
481d90d741 Move struct timeval to its own header so that it can be shared between
multiple headers.
2002-12-31 04:08:41 +00:00
obrien
cadc439a69 RIP liloldr.
It is not complete (the LILO root= specification isn't passed to our
loader for instance), it has not been touched in over 2 years.  Linux has
moved on to GRUB, so this is OBE now.  If someone creeps up to work on it,
it could become a port.
2002-12-31 02:29:03 +00:00
trhodes
443b8a76b6 Correct .Dt macro. 2002-12-30 22:56:26 +00:00
trhodes
c7f348eb86 Actually cvs add the ciss.4 file... 2002-12-30 22:54:29 +00:00
trhodes
7b4c495f8b Add a manual page for the ciss driver.
Reviewed by:	obrien
2002-12-30 22:54:01 +00:00
sam
7304a352e6 MFS 1.6.2.3: fixup statistics; turn off batching by default; add max
aggregation tunable and set it to 1 to minimize latency

Sponsored by:	Vernier Networks
2002-12-30 22:16:45 +00:00
schweikh
86f7487fb6 Fix typos, mostly s/ an / a / where appropriate and a few s/an/and/
Add FreeBSD Id tag where missing.
2002-12-30 21:18:15 +00:00
jake
338583ff7c Update to use the common hardware list instead of creating our own. 2002-12-30 21:06:35 +00:00
jake
57ce3550f7 - Make this just be a list of supported systems, and point to the sun systems
handbook on sunsolve for hardware details.
- Clarify what's "fully" supported, and what's only partially supported or
  not at all supported due to varying support for onboard devices.
- Update with new stuff that should work or has been tested.
2002-12-30 21:05:31 +00:00
jake
ab0012ccf0 Updates to stuff that supported or not supported on sparc64.
- isp is supported and all isp cards "should" work
	- add qfe to the listing for hme
	- sio is not supported
	- add an entry for ofwcons
2002-12-30 21:02:04 +00:00
sam
b16cb0a948 Correct mbuf packet header propagation. Previously, packet headers
were sometimes propagated using M_COPY_PKTHDR which actually did
something between a "move" and a  "copy" operation.  This is replaced
by M_MOVE_PKTHDR (which copies the pkthdr contents and "removes" it
from the source mbuf) and m_dup_pkthdr which copies the packet
header contents including any m_tag chain.  This corrects numerous
problems whereby mbuf tags could be lost during packet manipulations.

These changes also introduce arguments to m_tag_copy and m_tag_copy_chain
to specify if the tag copy work should potentially block.  This
introduces an incompatibility with openbsd which we may want to revisit.

Note that move/dup of packet headers does not handle target mbufs
that have a cluster bound to them.  We may want to support this;
for now we watch for it with an assert.

Finally, M_COPYFLAGS was updated to include M_FIRSTFRAG|M_LASTFRAG.

Supported by:	Vernier Networks
Reviewed by:	Robert Watson <rwatson@FreeBSD.org>
2002-12-30 20:22:40 +00:00
sam
83fcaa45a1 fix build (make LINT) 2002-12-30 19:45:30 +00:00
dillon
35422bf8e1 Remove the PAWS ack-on-ack debugging printf().
Note that the original RFC 1323 (PAWS) says in 4.2.1 that the out of
order / reverse-time-indexed packet should be acknowledged as specified
in RFC-793 page 69 then dropped.  The original PAWS code in FreeBSD (1994)
simply acknowledged the segment unconditionally, which is incorrect, and
was fixed in 1.183 (2002).  At the moment we do not do checks for SYN or FIN
in addition to (tlen != 0), which may or may not be correct, but the
worst that ought to happen should be a retry by the sender.
2002-12-30 19:31:04 +00:00
obrien
abab9d2060 A better rationale justifying rev 1.6 is to support field widths of
SIZE_T_MAX characters in the header that reports block sizes.  A field
width of 2^64 won't be needed until block sizes reach approximately 10^(2^64).
It really has nothing to do with supporting block sizes of 2^64.

As told by:	bde
2002-12-30 19:04:06 +00:00
sam
a80756c0be correct style bogons 2002-12-30 18:45:31 +00:00
mike
565badda7f Remove hack from rev 1.15; getbsize(3)'s original interface has been
restored.
2002-12-30 18:24:14 +00:00
mike
8540c7c57c Back out rev 1.19; getbsize(3)'s original interface has been restored. 2002-12-30 18:21:47 +00:00
mike
b6add043f9 Back out rev 1.78; getbsize(3)'s original interface has been restored.
Approved by:	markm
2002-12-30 18:19:19 +00:00