]> CyberLeo.Net >> Repos - FreeBSD/FreeBSD.git/log
FreeBSD/FreeBSD.git
22 years agoUse strlcpy(3) instead of strcpy(3) to copy optarg into a fixed-size buffer.
sobomax [Tue, 16 Oct 2001 09:21:09 +0000 (09:21 +0000)]
Use strlcpy(3) instead of strcpy(3) to copy optarg into a fixed-size buffer.

MFC after: 2 weeks

22 years agoFix bug introduced by the last commit, the caused some ATAPI
sos [Tue, 16 Oct 2001 08:07:36 +0000 (08:07 +0000)]
Fix bug introduced by the last commit, the caused some ATAPI
devices to fail to proberly initialize at boot..

22 years agoSize the number of pv_entries we use to bootstrap the pv_entry allocator
dfr [Tue, 16 Oct 2001 08:03:16 +0000 (08:03 +0000)]
Size the number of pv_entries we use to bootstrap the pv_entry allocator
based on the size of physical memory. This should eliminate the tweaking
needed for larger memory configurations.

22 years agoIncrease the number of packages that can be installed by an order of
obrien [Tue, 16 Oct 2001 06:42:06 +0000 (06:42 +0000)]
Increase the number of packages that can be installed by an order of
magnitude.  Geez, this is Unix, what is with the arbitrary needless
constants.

22 years agoImplement linux_chown and linux_lchown. The fchown syscall maps
marcel [Tue, 16 Oct 2001 06:15:36 +0000 (06:15 +0000)]
Implement linux_chown and linux_lchown. The fchown syscall maps
directly to the native syscall, because no filename handling
needs to be done.

Tested by: Martin Blapp <mb@imp.ch>

22 years agoo Change prototype of linux_lchown and linux_chown so that the
marcel [Tue, 16 Oct 2001 06:11:11 +0000 (06:11 +0000)]
o  Change prototype of linux_lchown and linux_chown so that the
   argument names match those on Alpha.
o  Map the fchown directly to FreeBSD. Since the old version of
   fchown is also mapped to the native fchown, give the new one
   type NODEF.

Tested by: Martin Blapp <mb@imp.ch>

22 years agoFix "off by 1" error introduced in the previous commit by replacing strncpy(3)
sobomax [Tue, 16 Oct 2001 03:04:15 +0000 (03:04 +0000)]
Fix "off by 1" error introduced in the previous commit by replacing strncpy(3)
with strlcpy(3).

MFC after: 2 weeks

22 years agoFix reference to aio_read, should be aio_write
alfred [Tue, 16 Oct 2001 00:49:19 +0000 (00:49 +0000)]
Fix reference to aio_read, should be aio_write

22 years agoDon't use an uninitialized field reserved for callers in the bio structure
tegge [Mon, 15 Oct 2001 23:02:54 +0000 (23:02 +0000)]
Don't use an uninitialized field reserved for callers in the bio structure
passed to swap_pager_strategy().  Instead, use a field reserved for drivers
and initialize it before usage.

Reviewed by: dillon

22 years agoDocument the optimal block:fragment ratio, per discussion
dougb [Mon, 15 Oct 2001 22:47:55 +0000 (22:47 +0000)]
Document the optimal block:fragment ratio, per discussion
on -arch and cvs-all.

Reviewed by: dillon

22 years agoTry to make Linux socket ioctls work. Up until now they've only *pretended*
des [Mon, 15 Oct 2001 20:52:17 +0000 (20:52 +0000)]
Try to make Linux socket ioctls work.  Up until now they've only *pretended*
to work, but haven't really due to subtle differences in structs etc.

This is still not perfect (some ioctls are still known not to work, while
others haven't been tested at all), but it's enough to get Debian's ifconfig
to produce relatively sane output.

More work will be needed to get all ioctls (or at least a reasonable subset)
working, and to support the Cisco Aironet config tool mentioned in the PR.

PR: 26546
Submitted by: Doug Ambrisko <ambrisko@ambrisko.com>

22 years agoAllow reboot during runcom.
des [Mon, 15 Oct 2001 20:34:43 +0000 (20:34 +0000)]
Allow reboot during runcom.

PR: bin/28116
Submitted by: Valentin Nechayev <netch@netch.kiev.ua>
MFC in: 1 week

22 years agoExplicitly initialize the fpu when SSE is enabled since this no
tegge [Mon, 15 Oct 2001 20:18:06 +0000 (20:18 +0000)]
Explicitly initialize the fpu when SSE is enabled since this no
longer happens as a side effect of calling npxsave.

Reviewed by: peter, bde

22 years agoIn FreeBSD's ifreq, ifr_ifru.ifru_flags is an array of two chars, while Linux
des [Mon, 15 Oct 2001 20:06:34 +0000 (20:06 +0000)]
In FreeBSD's ifreq, ifr_ifru.ifru_flags is an array of two chars, while Linux
defines it as a short.  Change that to an array of one short so that FreeBSD's
ifr_flags macro will work (it evaluates to ifr_ifru.ifru_flags[0]).

22 years agoSet the interface speed back to zero, after ether_ifattach() set it
fenner [Mon, 15 Oct 2001 19:21:01 +0000 (19:21 +0000)]
Set the interface speed back to zero, after ether_ifattach() set it
to 10Mbps.  RFC 2863 says: "For a sub-layer which has no concept
of bandwidth, [ifSpeed] should be zero."

22 years agoAdd ia64 support. Various adjustments were made to existing targets to
dfr [Mon, 15 Oct 2001 18:48:42 +0000 (18:48 +0000)]
Add ia64 support. Various adjustments were made to existing targets to
cope with a few interface changes required by the ia64. In particular,
function pointers on ia64 need special treatment in rtld.

22 years agoUse strncpy(3) instead of strcpy(3) to copy optarg into a fixed-sized buffer.
sobomax [Mon, 15 Oct 2001 18:21:08 +0000 (18:21 +0000)]
Use strncpy(3) instead of strcpy(3) to copy optarg into a fixed-sized buffer.

Prompted by: dd
MFC after: 2 weeks

22 years agoPort 139 (NetBIOS session management) is a tcp socket, not udp.
brian [Mon, 15 Oct 2001 16:08:40 +0000 (16:08 +0000)]
Port 139 (NetBIOS session management) is a tcp socket, not udp.

PR: 31215
Submitted by: Stephane Marzloff <secrer@le-bar.org>
MFC after: 1 week

22 years agoAdd a prototype for OF_alloc_phys.
robert [Mon, 15 Oct 2001 14:43:38 +0000 (14:43 +0000)]
Add a prototype for OF_alloc_phys.

22 years agoFix some warnings.
robert [Mon, 15 Oct 2001 14:40:36 +0000 (14:40 +0000)]
Fix some warnings.

22 years agoAdd the FreeBSD/sparc64 boot loader source files.
robert [Mon, 15 Oct 2001 14:35:39 +0000 (14:35 +0000)]
Add the FreeBSD/sparc64 boot loader source files.

22 years agoMake this Makefile suitable for sparc64.
robert [Mon, 15 Oct 2001 14:27:37 +0000 (14:27 +0000)]
Make this Makefile suitable for sparc64.

22 years agocatch forwarded ipv6 packets with pfil_hooks for outbound things too
darrenr [Mon, 15 Oct 2001 14:16:18 +0000 (14:16 +0000)]
catch forwarded ipv6 packets with pfil_hooks for outbound things too

22 years agoDefine the types iaddr_t and saddr_t for sparc64.
robert [Mon, 15 Oct 2001 13:50:47 +0000 (13:50 +0000)]
Define the types iaddr_t and saddr_t for sparc64.

22 years agoThe user wants to ensure, not insure, that the package isn't going to
dd [Mon, 15 Oct 2001 13:49:51 +0000 (13:49 +0000)]
The user wants to ensure, not insure, that the package isn't going to
damage their system.

22 years agoMatch parenthesis and don't give names to return values.
dd [Mon, 15 Oct 2001 13:34:43 +0000 (13:34 +0000)]
Match parenthesis and don't give names to return values.

PR: 31214

22 years agosysctl -w -> sysctl, remove second person pronouns, and fix some other
dd [Mon, 15 Oct 2001 13:30:52 +0000 (13:30 +0000)]
sysctl -w -> sysctl, remove second person pronouns, and fix some other
minor bugs.

PR: 30772
Submitted by: Peter Avalos <pavalos@theshell.com>

22 years agoAdd a hack to get around the fact that egcs 1.1.2 (which I'm using to build
benno [Mon, 15 Oct 2001 13:30:04 +0000 (13:30 +0000)]
Add a hack to get around the fact that egcs 1.1.2 (which I'm using to build
my powerpc kernels on NetBSD/macppc 1.5) doesn't know of the __func__ macro.

22 years agoFlesh out cpu_fork() and cpu_set_fork_handler(). This is a work in progress.
benno [Mon, 15 Oct 2001 12:24:43 +0000 (12:24 +0000)]
Flesh out cpu_fork() and cpu_set_fork_handler().  This is a work in progress.

22 years ago- Correct the type of the argument to delay() so as to not conflict with
benno [Mon, 15 Oct 2001 12:23:10 +0000 (12:23 +0000)]
- Correct the type of the argument to delay() so as to not conflict with
  sys/boot/common/bootstrap.h.
- Add a prototype for fork_trampoline().

22 years agoMake the ofw_reg structure and ofw_alloc_heap 64-bit save.
robert [Mon, 15 Oct 2001 12:16:20 +0000 (12:16 +0000)]
Make the ofw_reg structure and ofw_alloc_heap 64-bit save.

22 years agoAdd a Makefile for the sparc64 boot loader.
robert [Mon, 15 Oct 2001 10:36:35 +0000 (10:36 +0000)]
Add a Makefile for the sparc64 boot loader.

22 years agoDo not include openfirm.h; it is now included by libofw.h.
robert [Mon, 15 Oct 2001 09:52:38 +0000 (09:52 +0000)]
Do not include openfirm.h; it is now included by libofw.h.

22 years ago - Use the cell_t type definition for Open Firmware arguments in
robert [Mon, 15 Oct 2001 09:51:09 +0000 (09:51 +0000)]
 - Use the cell_t type definition for Open Firmware arguments in
   combination with requisite casts as this avoids fatal side
   effects on 64-bit architectures.
 - Add the OF_alloc_phys function.

22 years agoDon't even attempt to clone host routes.
ru [Mon, 15 Oct 2001 09:46:48 +0000 (09:46 +0000)]
Don't even attempt to clone host routes.

MFC after: 1 week

22 years ago - Fill dummy functions with code to read from disk using Open
robert [Mon, 15 Oct 2001 09:35:40 +0000 (09:35 +0000)]
 - Fill dummy functions with code to read from disk using Open
   Firmware.
 - Add a temporary disklabel header to boot off a NetBSD/sparc64
   partition.  This file can be deleted when we have got a FCode
   bootblock.

The disklabel header was obtained from NetBSD.

22 years ago - Include openfirm.h for phandle_t.
robert [Mon, 15 Oct 2001 09:28:07 +0000 (09:28 +0000)]
 - Include openfirm.h for phandle_t.
 - Add some necessary members to the ofwdisk structure.
 - Add a prototype for ofw_parseofwdev.

22 years agoAdd a function for parsing an Open Firmware boot path into the
robert [Mon, 15 Oct 2001 09:25:30 +0000 (09:25 +0000)]
Add a function for parsing an Open Firmware boot path into the
ofw_devdesc structure.

22 years ago - Add an ifdef guard.
robert [Mon, 15 Oct 2001 09:02:03 +0000 (09:02 +0000)]
 - Add an ifdef guard.
 - Use unsigned types for the (32-bit) Open Firmware device handles
   to avoid sign extension on 64-bit architectures.
 - Add a standard type definition for Open Firmware arguments.

22 years agoWhen compiling with SKI support, create the fake memory regions
marcel [Mon, 15 Oct 2001 07:58:27 +0000 (07:58 +0000)]
When compiling with SKI support, create the fake memory regions
when either the memory descriptor in the bootinfo is NULL or
the descriptor count is 0.

22 years agoAdd EFI GPT (238, 0xEE) and EFI System Parition (239, 0xEF)
peter [Mon, 15 Oct 2001 07:25:29 +0000 (07:25 +0000)]
Add EFI GPT (238, 0xEE) and EFI System Parition (239, 0xEF)

22 years agoAdd 0xEE (EFI GPT) and 0xEF (EFI System Partition)
peter [Mon, 15 Oct 2001 07:21:32 +0000 (07:21 +0000)]
Add 0xEE (EFI GPT) and 0xEF (EFI System Partition)

22 years agoWhack on this soon to be deprecated driver.
mjacob [Mon, 15 Oct 2001 06:59:41 +0000 (06:59 +0000)]
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

22 years agoFixed style bugs in previous commit.
bde [Mon, 15 Oct 2001 04:29:06 +0000 (04:29 +0000)]
Fixed style bugs in previous commit.

22 years agoAdd a manual page for the Maestro3 sound driver. This documents it's
scottl [Mon, 15 Oct 2001 04:23:38 +0000 (04:23 +0000)]
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

22 years agoWe don't use the IA-64 psABI ELF_DYNAMIC_INTERPRETER, so remove it.
obrien [Mon, 15 Oct 2001 03:10:48 +0000 (03:10 +0000)]
We don't use the IA-64 psABI ELF_DYNAMIC_INTERPRETER, so remove it.

22 years agoAdd back DEC_EB64PLUS and DEC_AXPPCI_33 support as we've gained a little bit
obrien [Mon, 15 Oct 2001 02:50:18 +0000 (02:50 +0000)]
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.

22 years ago+ Use `ee' in lue of `vi' as it is smaller.
obrien [Mon, 15 Oct 2001 02:49:15 +0000 (02:49 +0000)]
+ 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.

22 years agoForced commit to fix the Submitted by: line.
scottl [Mon, 15 Oct 2001 02:18:57 +0000 (02:18 +0000)]
Forced commit to fix the Submitted by: line.

Submitted by: ken, Randy Bush <randy@psg.com>

22 years agoClean this up.
obrien [Mon, 15 Oct 2001 02:14:08 +0000 (02:14 +0000)]
Clean this up.

22 years agoBinutils 2.11.2 build framework for the FreeBSD/IA-64 target.
obrien [Mon, 15 Oct 2001 02:13:26 +0000 (02:13 +0000)]
Binutils 2.11.2 build framework for the FreeBSD/IA-64 target.

22 years agoAdd a quirk entry so that the Maxtor 3000LE USB drive will work.
scottl [Mon, 15 Oct 2001 02:05:06 +0000 (02:05 +0000)]
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

22 years agoWe don't support GDB for IA-64, PowerPC, or sparc64 yet.
obrien [Mon, 15 Oct 2001 01:57:13 +0000 (01:57 +0000)]
We don't support GDB for IA-64, PowerPC, or sparc64 yet.

22 years agoWe can easily share obj-format.h and targ-env.h files across all FreeBSD
obrien [Mon, 15 Oct 2001 01:43:23 +0000 (01:43 +0000)]
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.

22 years agoReinstate VINUMDEBUG. Removing it also removes some diagnostic commands.
grog [Mon, 15 Oct 2001 01:32:48 +0000 (01:32 +0000)]
Reinstate VINUMDEBUG.  Removing it also removes some diagnostic commands.
I should reconsider whether I just leave them in without #ifdef VINUMDEBUG.

22 years agoMore cleaning.
obrien [Mon, 15 Oct 2001 01:18:51 +0000 (01:18 +0000)]
More cleaning.

22 years agoFix typo.
mp [Mon, 15 Oct 2001 01:04:49 +0000 (01:04 +0000)]
Fix typo.

22 years agoSave WIP. Partial rewrite of cpu_switch() and savectx(). This makes it closer
mp [Mon, 15 Oct 2001 00:37:45 +0000 (00:37 +0000)]
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.

22 years agoSlightly improve wording in the opening paragraph.
dd [Sun, 14 Oct 2001 23:13:01 +0000 (23:13 +0000)]
Slightly improve wording in the opening paragraph.

PR: 31202
Submitted by: Jasmin Blanchette <jasmin@troll.no>

22 years agoRepair typo.
dd [Sun, 14 Oct 2001 22:46:05 +0000 (22:46 +0000)]
Repair typo.

PR: 31262
Submitted by: <swear@blarg.net>

22 years agolink(2) may fail with EPERM if name1 is immutable or append-only.
dd [Sun, 14 Oct 2001 22:40:19 +0000 (22:40 +0000)]
link(2) may fail with EPERM if name1 is immutable or append-only.

PR: 31025
Submitted by: Tim Singletary <tsingle@vetinsite.com>

22 years agoRepair normally unused is_digit() macro.
tegge [Sun, 14 Oct 2001 21:11:33 +0000 (21:11 +0000)]
Repair normally unused is_digit() macro.

22 years agoChange vmapbuf() to use pmap_qenter() and vunmapbuf() to use pmap_qremove().
tegge [Sun, 14 Oct 2001 21:09:04 +0000 (21:09 +0000)]
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

22 years agoReduce the number of TLB shootdowns caused by a call to pmap_qenter()
tegge [Sun, 14 Oct 2001 20:56:55 +0000 (20:56 +0000)]
Reduce the number of TLB shootdowns caused by a call to pmap_qenter()
from number of pages mapped to 1.

Reviewed by: dillon

22 years agoDon't remove all mappings of a swapped out process if the vm map contained
tegge [Sun, 14 Oct 2001 20:51:14 +0000 (20:51 +0000)]
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

22 years agoFix locking violations during page wiring:
tegge [Sun, 14 Oct 2001 20:47:08 +0000 (20:47 +0000)]
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

22 years agobring in ARP support for variable length link level addresses
fjoe [Sun, 14 Oct 2001 20:17:53 +0000 (20:17 +0000)]
bring in ARP support for variable length link level addresses

Reviewed by: jdp
Approved by: jdp
Obtained from: NetBSD
MFC after: 6 weeks

22 years agoFix it so that it doesn't complain for compiles on alpha- that is, match
mjacob [Sun, 14 Oct 2001 19:44:15 +0000 (19:44 +0000)]
Fix it so that it doesn't complain for compiles on alpha- that is, match
format string args to actual args.

22 years agoTurn on the hardware volume buttons that are present on most laptops with
scottl [Sun, 14 Oct 2001 19:22:51 +0000 (19:22 +0000)]
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

22 years agoImplement partial-file NFS lock testing.
alfred [Sun, 14 Oct 2001 18:36:35 +0000 (18:36 +0000)]
Implement partial-file NFS lock testing.

Submitted by: "Andrew P. Lentvorski" <andrewl@io.com>

22 years agoMake this compile on ia64.
dfr [Sun, 14 Oct 2001 13:45:33 +0000 (13:45 +0000)]
Make this compile on ia64.

22 years agoImplement pmap_mapdev.
benno [Sun, 14 Oct 2001 08:38:16 +0000 (08:38 +0000)]
Implement pmap_mapdev.

22 years agoRemove another unneeded instance of -elf.
benno [Sun, 14 Oct 2001 06:02:16 +0000 (06:02 +0000)]
Remove another unneeded instance of -elf.

22 years agoForced commit. There apparently was already a PR for the problem
marcel [Sun, 14 Oct 2001 05:52:49 +0000 (05:52 +0000)]
Forced commit. There apparently was already a PR for the problem
fixed by the previous commit.

PR: 31122

22 years agoWhen casting from uid16/gid16 to uid/gid respectively, make sure
marcel [Sun, 14 Oct 2001 03:56:53 +0000 (03:56 +0000)]
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

22 years agoAdjust for the movement of `as' headers.
obrien [Sun, 14 Oct 2001 02:15:58 +0000 (02:15 +0000)]
Adjust for the movement of `as' headers.

22 years agoYou know the last revision will work better if the TARGET_TUPLE is set
obrien [Sun, 14 Oct 2001 02:13:55 +0000 (02:13 +0000)]
You know the last revision will work better if the TARGET_TUPLE is set
conditionally....

22 years agoAllow easier override of the configure tuple, in case you wanted to build
obrien [Sun, 14 Oct 2001 02:12:40 +0000 (02:12 +0000)]
Allow easier override of the configure tuple, in case you wanted to build
as "powerpc-obrien-freebsd" rahter than "powerpc-unknown-freebsd" for example.

22 years agoNeed to look in additional places for BFD's config.h now.
obrien [Sun, 14 Oct 2001 02:07:26 +0000 (02:07 +0000)]
Need to look in additional places for BFD's config.h now.

22 years agoClean up a little bit more.
obrien [Sun, 14 Oct 2001 01:58:18 +0000 (01:58 +0000)]
Clean up a little bit more.

22 years agoClean up the formatting.
obrien [Sun, 14 Oct 2001 01:57:19 +0000 (01:57 +0000)]
Clean up the formatting.

22 years agoWe do "sparc64", not "sparc".
obrien [Sun, 14 Oct 2001 01:57:07 +0000 (01:57 +0000)]
We do "sparc64", not "sparc".

22 years agoClean up the formatting.
obrien [Sun, 14 Oct 2001 01:47:30 +0000 (01:47 +0000)]
Clean up the formatting.

22 years agoWe do "sparc64", not "sparc".
obrien [Sun, 14 Oct 2001 01:33:07 +0000 (01:33 +0000)]
We do "sparc64", not "sparc".

22 years agoClean up the formatting.
obrien [Sun, 14 Oct 2001 01:31:37 +0000 (01:31 +0000)]
Clean up the formatting.

22 years agoWe can easily share a single config.h file across all FreeBSD platforms,
obrien [Sun, 14 Oct 2001 01:24:07 +0000 (01:24 +0000)]
We can easily share a single config.h file across all FreeBSD platforms,
which reduces the upgrade effort.

22 years agoUpdate for Binutils 2.11.2.
obrien [Sun, 14 Oct 2001 01:08:32 +0000 (01:08 +0000)]
Update for Binutils 2.11.2.

22 years agoWe support sparc64, not plain sparc.
obrien [Sun, 14 Oct 2001 01:00:29 +0000 (01:00 +0000)]
We support sparc64, not plain sparc.

22 years agoClean up the formatting.
obrien [Sun, 14 Oct 2001 00:58:59 +0000 (00:58 +0000)]
Clean up the formatting.

22 years agoNote that the contents of /tmp may or may not be kept between system
murray [Sat, 13 Oct 2001 21:48:57 +0000 (21:48 +0000)]
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

22 years agoChanges for both compilation on NetBSD (PPC) and cross-compilation on FreeBSD.
mp [Sat, 13 Oct 2001 19:57:28 +0000 (19:57 +0000)]
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.

22 years agoAdd warning about zeroing-out the socket structure before populating it.
dillon [Sat, 13 Oct 2001 17:20:51 +0000 (17:20 +0000)]
Add warning about zeroing-out the socket structure before populating it.

22 years agoThese files have been gone for a long time.
des [Sat, 13 Oct 2001 15:57:05 +0000 (15:57 +0000)]
These files have been gone for a long time.

22 years agoRemoved most of the zombie man pages in libm. All relevant parts have
bde [Sat, 13 Oct 2001 14:22:08 +0000 (14:22 +0000)]
Removed most of the zombie man pages in libm.  All relevant parts have
been copied to msun/man (most of them long ago without proper history).

22 years agoFixed missing quoting of >= (in ceil.3) and <= (in floor.3) by reverting to
bde [Sat, 13 Oct 2001 13:57:32 +0000 (13:57 +0000)]
Fixed missing quoting of >= (in ceil.3) and <= (in floor.3) by reverting to
describing these operators in English.  This completes the fix in rev.1.3
(rev.1.2 got this wrong by describing wrong operators in English).

Fixed bitrot and improved English in the DESCRIPTION section.

22 years agoo Update init_sysent.c and friends for allocation of afs_syscall.
rwatson [Sat, 13 Oct 2001 13:30:21 +0000 (13:30 +0000)]
o Update init_sysent.c and friends for allocation of afs_syscall.

22 years agoo Reserve system call 377 for afs_syscall; by reserving a system call
rwatson [Sat, 13 Oct 2001 13:19:34 +0000 (13:19 +0000)]
o Reserve system call 377 for afs_syscall; by reserving a system call
  number, portable OpenAFS applications don't have to attempt to determine
  what system call number was dynamically allocated.  No system call
  prototype or implementation is defined.

Requested by: Tom Maher <tardis@watson.org>

22 years agoFixed missing quoting of [-1, +1].
bde [Sat, 13 Oct 2001 12:29:25 +0000 (12:29 +0000)]
Fixed missing quoting of [-1, +1].

Submitted by: phantom

22 years agoUse ".Lb libm" where it will have an effect (not just in the zombie man
bde [Sat, 13 Oct 2001 12:23:23 +0000 (12:23 +0000)]
Use ".Lb libm" where it will have an effect (not just in the zombie man
pages in libm).

Submitted by: phantom

22 years agoHack for the "out-of-sync" error.
yokota [Sat, 13 Oct 2001 10:28:02 +0000 (10:28 +0000)]
Hack for the "out-of-sync" error.

- Count the number of this error.
- When the error is detected for the first time, the psm driver will
  throw few data bytes (up to entire packet size) and see if it can
  get back to sync.
- If the error still persists, the psm driver disable/enable the mouse
  and see if it works.
- If the error still persists and the count goes up to 20,
  the psm driver reset and reinitialize the mouse. The counter
  is reset to zero.
- It also discards an incomplete data packet when the interval
  between two consequtive bytes are longer than pre-defined timeout
  (2 seconds).  The last byte which arrived late will be regarded as
  the first byte of a new packet.  This is louie's idea.

You may see the following error logs during the above operations:

  "psmintr: delay too long; resetting byte count"
  "psmintr: out of sync (%04x != %04x)"
  "psmintr: discard a byte (%d)"
  "psmintr: re-enable the mouse"
  "psmintr: reset the mouse"

MFC after: 1 month