Commit Graph

65943 Commits

Author SHA1 Message Date
Matt Jacob
819e7ffdf3 Whack on this soon to be deprecated driver.
What the heck, the OpenBSD version will benefit.

1. Add wx_txint_delay as a tunable (defaults to 5000 now, or ~5ms) and switch
to using delayed TXDW interrupts. Since the chip continues to reload the
TIDV with this value for each descriptor written back, this allows continued
deferral of the actual interrupt until the last packet completes (assuming
that 5ms between multiple packets transmitting is reasonable).

2. Add two other SYSCTL entities:

hw.wx.dump_stats
hw.wx.clear_stats

to be used, hackey hackey, to get the watchdog routine to dump/clear
the current softc statistics.

Usage would be:

	sysctl -w hw.wx.dump_stats=UNIT

to cause the current stats to be dumped for UNIT.

3. Attempt to clean up wx_detach routine so we don't panic. Well, things
still panic, but given that the code is just like other NIC drivers,
I suspect it's actually something elsewhere, like e1000phy, that's actually
blowing up.

4. Skip the entire test for runt packets- after doing somet thinking
and experimenting, I believe that the chip only doesn't like it if
the whole frame to xmit is < 16 bytes- each TFD can be some fragment
of that. This should improve performance a chunk because of all of the
(14 byte ETHERHEADER + DATA) mbuf chains.

5. Keep track of total frame length. Try not to xmit an odd byte frame-
this is supposed to get around some dumb Cisco switch problems.

6. On the last packet, also set Interrupt Delay && Report Packet Sent
(see #1 above)

7. Attempt to do xmit garbage collection *first* in order to avoid setting
IFF_OACTIVE if at all possible.

MFC after:	1 week
2001-10-15 06:59:41 +00:00
Bruce Evans
18ca70d12d Fixed style bugs in previous commit. 2001-10-15 04:29:06 +00:00
Scott Long
987de8a0d2 Add a manual page for the Maestro3 sound driver. This documents it's
special nature under the GPL and a boot hint that can affect operation.

MFC after:	3 days
2001-10-15 04:23:38 +00:00
David E. O'Brien
f6181588d5 We don't use the IA-64 psABI ELF_DYNAMIC_INTERPRETER, so remove it. 2001-10-15 03:10:48 +00:00
David E. O'Brien
3514d5d26c Add back DEC_EB64PLUS and DEC_AXPPCI_33 support as we've gained a little bit
more room on the install floppies now that modules can be on a 3rd floppy.
2001-10-15 02:50:18 +00:00
David E. O'Brien
3922b99c4c + Use ee' in lue of vi' as it is smaller.
+ Remove 'sleep' (not sure why it is so important in fix-it mode).
+ Remove ability to mount MSDOSFS as that is not a typical filesystem on an
  alpha; and thus does not really add to the fix-it mix.
+ Sync style with i386.
2001-10-15 02:49:15 +00:00
Scott Long
538e89e57b Forced commit to fix the Submitted by: line.
Submitted by:	ken, Randy Bush <randy@psg.com>
2001-10-15 02:18:57 +00:00
David E. O'Brien
d4c06e2f81 Clean this up. 2001-10-15 02:14:08 +00:00
David E. O'Brien
e1382dde0b Binutils 2.11.2 build framework for the FreeBSD/IA-64 target. 2001-10-15 02:13:26 +00:00
Scott Long
d36803e209 Add a quirk entry so that the Maxtor 3000LE USB drive will work.
Submitted by:	merry, Randy Bush <randy@psg.com>
MFC after:	3 days
2001-10-15 02:05:06 +00:00
David E. O'Brien
7a54260771 We don't support GDB for IA-64, PowerPC, or sparc64 yet. 2001-10-15 01:57:13 +00:00
David E. O'Brien
edb338ea02 We can easily share obj-format.h and targ-env.h files across all FreeBSD
platforms, which reduces the upgrade effort.
Also tidy up the Makefiles.
2001-10-15 01:43:23 +00:00
Greg Lehey
ff433237bd Reinstate VINUMDEBUG. Removing it also removes some diagnostic commands.
I should reconsider whether I just leave them in without #ifdef VINUMDEBUG.
2001-10-15 01:32:48 +00:00
David E. O'Brien
462c450905 More cleaning. 2001-10-15 01:18:51 +00:00
Mark Peek
585cf148b6 Fix typo. 2001-10-15 01:04:49 +00:00
Mark Peek
422ec2ace1 Save WIP. Partial rewrite of cpu_switch() and savectx(). This makes it closer
to working but still needs some work to properly switch the full context
(such as saving the fpu registers, switch stacks, etc.).  Also, remove some
dead code that was mixed in.
2001-10-15 00:37:45 +00:00
Dima Dorfman
cd4ca11ce8 Slightly improve wording in the opening paragraph.
PR:		31202
Submitted by:	Jasmin Blanchette <jasmin@troll.no>
2001-10-14 23:13:01 +00:00
Dima Dorfman
075908f115 Repair typo.
PR:		31262
Submitted by:	<swear@blarg.net>
2001-10-14 22:46:05 +00:00
Dima Dorfman
c49c01757a link(2) may fail with EPERM if name1 is immutable or append-only.
PR:		31025
Submitted by:	Tim Singletary <tsingle@vetinsite.com>
2001-10-14 22:40:19 +00:00
Tor Egge
c4c8394066 Repair normally unused is_digit() macro. 2001-10-14 21:11:33 +00:00
Tor Egge
10ad529832 Change vmapbuf() to use pmap_qenter() and vunmapbuf() to use pmap_qremove().
This significantly reduces the number of TLB shootdowns caused by
vmapbuf/vunmapbuf when performing many large reads from raw disk devices.

Reviewed by:	dillon
2001-10-14 21:09:04 +00:00
Tor Egge
2334091845 Reduce the number of TLB shootdowns caused by a call to pmap_qenter()
from number of pages mapped to 1.

Reviewed by:	dillon
2001-10-14 20:56:55 +00:00
Tor Egge
30105b9ec4 Don't remove all mappings of a swapped out process if the vm map contained
wired entries.  vm_fault_unwire() depends on the mapping being intact.

Reviewed by:	dillon
2001-10-14 20:51:14 +00:00
Tor Egge
e7673b8424 Fix locking violations during page wiring:
- vm map entries are not valid after the map has been unlocked.

 - An exclusive lock on the map is needed before calling
   vm_map_simplify_entry().

Fix cleanup after page wiring failure to unwire all pages that had been
successfully wired before the failure was detected.

Reviewed by:	dillon
2001-10-14 20:47:08 +00:00
Max Khon
322dcb8d3d bring in ARP support for variable length link level addresses
Reviewed by:	jdp
Approved by:	jdp
Obtained from:	NetBSD
MFC after:	6 weeks
2001-10-14 20:17:53 +00:00
Matt Jacob
ca8f579ceb Fix it so that it doesn't complain for compiles on alpha- that is, match
format string args to actual args.
2001-10-14 19:44:15 +00:00
Scott Long
73b9d66d9a Turn on the hardware volume buttons that are present on most laptops with
these chips.  There is a new hint, hint.pcm.N.hwvol_config, that can be set
to 1 or 0 to select which pins the buttons are connected to.  I'm open to
suggestions on where to document this.  Also bump the number of playback
channels up to 4.

MFC after:	3 days
2001-10-14 19:22:51 +00:00
Alfred Perlstein
bad584e319 Implement partial-file NFS lock testing.
Submitted by: "Andrew P. Lentvorski" <andrewl@io.com>
2001-10-14 18:36:35 +00:00
Doug Rabson
a387081c63 Make this compile on ia64. 2001-10-14 13:45:33 +00:00
Benno Rice
bdf71f568b Implement pmap_mapdev. 2001-10-14 08:38:16 +00:00
Benno Rice
7947a33926 Remove another unneeded instance of -elf. 2001-10-14 06:02:16 +00:00
Marcel Moolenaar
e30593bd41 Forced commit. There apparently was already a PR for the problem
fixed by the previous commit.

PR: 31122
2001-10-14 05:52:49 +00:00
Marcel Moolenaar
c640a5f5f2 When casting from uid16/gid16 to uid/gid respectively, make sure
that "no change" (ie 0xFFFF) is properly cast to (int)-1 for those
syscalls that set uids and/or gids.

Verified by: LTP
2001-10-14 03:56:53 +00:00
David E. O'Brien
7e605691b0 Adjust for the movement of `as' headers. 2001-10-14 02:15:58 +00:00
David E. O'Brien
b3119f80e8 You know the last revision will work better if the TARGET_TUPLE is set
conditionally....
2001-10-14 02:13:55 +00:00
David E. O'Brien
4ac9161617 Allow easier override of the configure tuple, in case you wanted to build
as "powerpc-obrien-freebsd" rahter than "powerpc-unknown-freebsd" for example.
2001-10-14 02:12:40 +00:00
David E. O'Brien
44fdcd56ee Need to look in additional places for BFD's config.h now. 2001-10-14 02:07:26 +00:00
David E. O'Brien
8f0d33af07 Clean up a little bit more. 2001-10-14 01:58:18 +00:00
David E. O'Brien
4ab605cf6d Clean up the formatting. 2001-10-14 01:57:19 +00:00
David E. O'Brien
80eaeb4242 We do "sparc64", not "sparc". 2001-10-14 01:57:07 +00:00
David E. O'Brien
83735fac63 Clean up the formatting. 2001-10-14 01:47:30 +00:00
David E. O'Brien
51598dc8ec We do "sparc64", not "sparc". 2001-10-14 01:33:07 +00:00
David E. O'Brien
cd9d63ec3f Clean up the formatting. 2001-10-14 01:31:37 +00:00
David E. O'Brien
5c73b63da5 We can easily share a single config.h file across all FreeBSD platforms,
which reduces the upgrade effort.
2001-10-14 01:24:07 +00:00
David E. O'Brien
51a64fa24f Update for Binutils 2.11.2. 2001-10-14 01:08:32 +00:00
David E. O'Brien
b164377e77 We support sparc64, not plain sparc. 2001-10-14 01:00:29 +00:00
David E. O'Brien
bbd7c7f077 Clean up the formatting. 2001-10-14 00:58:59 +00:00
Murray Stokely
325c1f2d13 Note that the contents of /tmp may or may not be kept between system
reboots.

Also add a `NOTES' section that reminds the reader that this man page
just documents the system default, and that the hierarchy of a given
site is at the system administrators discretion.

PR:		docs/29525
2001-10-13 21:48:57 +00:00
Mark Peek
c538331d7a Changes for both compilation on NetBSD (PPC) and cross-compilation on FreeBSD.
- Hardcode and trim warning flags down to compatible subset.
- Remove -elf FMT flag.
- Allow for NM commandline override.
2001-10-13 19:57:28 +00:00
Matthew Dillon
418fff7e8f Add warning about zeroing-out the socket structure before populating it. 2001-10-13 17:20:51 +00:00