]> CyberLeo.Net >> Repos - FreeBSD/FreeBSD.git/log
FreeBSD/FreeBSD.git
18 years agoEliminate spl calls.
alc [Sun, 11 Jun 2006 04:14:36 +0000 (04:14 +0000)]
Eliminate spl calls.

18 years agoImplement vnode operations for setting and removing extended attributes.
rodrigc [Sun, 11 Jun 2006 03:32:50 +0000 (03:32 +0000)]
Implement vnode operations for setting and removing extended attributes.

18 years agoRestore routines for getting and listing extended attributes which
rodrigc [Sun, 11 Jun 2006 00:55:32 +0000 (00:55 +0000)]
Restore routines for getting and listing extended attributes which
were lost in the last merge.

18 years agoRestore changes to spinlock macros before merge.
rodrigc [Sun, 11 Jun 2006 00:54:35 +0000 (00:54 +0000)]
Restore changes to spinlock macros before merge.

18 years agoRemove debugging printf
rodrigc [Sun, 11 Jun 2006 00:19:00 +0000 (00:19 +0000)]
Remove debugging printf

18 years agoAdd PCI ids for the FC919X
mjacob [Sat, 10 Jun 2006 23:45:31 +0000 (23:45 +0000)]
Add PCI ids for the FC919X

MFC after: 1 week

18 years agoTemporarily disable log recovery until we fix panics.
rodrigc [Sat, 10 Jun 2006 23:40:58 +0000 (23:40 +0000)]
Temporarily disable log recovery until we fix panics.

18 years agoLogical OR the following flags into the va_mode field:
rodrigc [Sat, 10 Jun 2006 23:10:55 +0000 (23:10 +0000)]
Logical OR the following flags into the va_mode field:
S_IFDIR when making a directory
S_IFLNK when making a symbolic link
S_IFIFO when making a pipe

xfs_ialloc() checks this field for these flags when figuring
out whether to make a directory, make a symbolic link or make a pipe.

18 years agoMove the new flags field to the end of the structure to maintain
iedowse [Sat, 10 Jun 2006 19:23:49 +0000 (19:23 +0000)]
Move the new flags field to the end of the structure to maintain
ABI compatibility.

Suggested by: mlaier (and forgotten by me)

18 years agoCall g_vfs_close() if:
rodrigc [Sat, 10 Jun 2006 19:04:21 +0000 (19:04 +0000)]
Call g_vfs_close() if:
(1)  _xfs_mount() fails
(2)  at the end of _xfs_unmount()

18 years agoDo not call vput() after we call VOP_UNLOCK().
rodrigc [Sat, 10 Jun 2006 19:02:13 +0000 (19:02 +0000)]
Do not call vput() after we call VOP_UNLOCK().

18 years agoHold on to firmware images until the interface detaches since
iedowse [Sat, 10 Jun 2006 17:29:40 +0000 (17:29 +0000)]
Hold on to firmware images until the interface detaches since
firmware_get() will not work while resuming. Note that we can't
simply drop the FIRMWARE_UNLOAD flag, because that will result in
a firmware image that can never be unloaded by the user since the
firmware subsystem will hold a linker reference to it (it's not
clear that firmware_put() without FIRMWARE_UNLOAD ever does quite
what you'd want).

18 years agoKeep firmware images on the list until they have been unregistered
iedowse [Sat, 10 Jun 2006 17:04:07 +0000 (17:04 +0000)]
Keep firmware images on the list until they have been unregistered
with firmware_unregister(). Previously when the last driver reference
had been dropped we would clear the list entry under the assumption
that the firmware module was about to be unloaded, but this was not
true if the firmware image had been loaded manually with kldload.

This makes it possible to manually kldload firmware images as a
workaround for drivers such as ipw that attempt to load firmware
while resuming after a suspend.

Reviewed by: mlaier (an earlier version of the patch)

18 years agoBe explicit about which chips support jumbo frames.
brueffer [Sat, 10 Jun 2006 15:14:12 +0000 (15:14 +0000)]
Be explicit about which chips support jumbo frames.

Suggested by: Brad Smith
Obtained from: OpenBSD
MFC after: 3 days

18 years agoNew release notes: i386 boot loader corruption fix, my(4) ALTQ
bmah [Sat, 10 Jun 2006 14:49:44 +0000 (14:49 +0000)]
New release notes:  i386 boot loader corruption fix, my(4) ALTQ
support, geli(8) data authentication and option flag change,

MFCs noted:  du(1) -n, getent(1).

Updated release notes:  OpenBSM 1.0a6, new manpage (device_get_sysctl(9)).

18 years agoMove some functions and definitions from uipc_socket2.c to uipc_socket.c:
rwatson [Sat, 10 Jun 2006 14:34:07 +0000 (14:34 +0000)]
Move some functions and definitions from uipc_socket2.c to uipc_socket.c:

- Move sonewconn(), which creates new sockets for incoming connections on
  listen sockets, so that all socket allocate code is together in
  uipc_socket.c.

- Move 'maxsockets' and associated sysctls to uipc_socket.c with the
  socket allocation code.

- Move kern.ipc sysctl node to uipc_socket.c, add a SYSCTL_DECL() for it
  to sysctl.h and remove lots of scattered implementations in various
  IPC modules.

- Sort sodealloc() after soalloc() in uipc_socket.c for dependency order
  reasons.  Statisticize soalloc() and sodealloc() as they are now
  required only in uipc_socket.c, and are internal to the socket
  implementation.

After this change, socket allocation and deallocation is entirely
centralized in one file, and uipc_socket2.c consists entirely of socket
buffer manipulation and default protocol switch functions.

MFC after: 1 month

18 years agoFix a typo s/Made/Make. Use .Pp for a line break, it will quiet the
trhodes [Sat, 10 Jun 2006 09:45:26 +0000 (09:45 +0000)]
Fix a typo s/Made/Make.  Use .Pp for a line break, it will quiet the
mdoc(7) warning.

18 years ago* Ask for a page-aligned page instead of an arbitrary address. This should
njl [Sat, 10 Jun 2006 08:20:17 +0000 (08:20 +0000)]
* Ask for a page-aligned page instead of an arbitrary address.  This should
  not be necessary but might be helpful and at least reduce fragmentation.
* Add an assert to detect if the wakecode ever grows too big.  We include
  1 KB for stack, which should be more than enough also.
* Remove unnecessary initialization of static variables.
* Add comments and a bootverbose print giving the page phys address.

18 years agoMinor tweaks to the resume code. Previous commit reverted alignment back
njl [Sat, 10 Jun 2006 08:20:03 +0000 (08:20 +0000)]
Minor tweaks to the resume code.  Previous commit reverted alignment back
to 4.  There is no need to be more strict at assembly time since we copy
the code anyway to a private page.

* Clear the direction flag and eflags.  Probably not necessary but it won't
  hurt to be safe.
* Add prefixes to all instructions to prevent any assembler mistakes.
* Remove zeroing of eax - edi.  We use those registers immediately after
  to transfer values to protected mode so this was pointless.
* Update comments to reflect info found during code review.

18 years agoMove the reset beep tunable/sysctl to debug.acpi.resume_beep. This makes
njl [Sat, 10 Jun 2006 08:06:16 +0000 (08:06 +0000)]
Move the reset beep tunable/sysctl to debug.acpi.resume_beep.  This makes
more sense than under hw.acpi.  Also, document this in the man page.

18 years agoMinor sysctl cleanup. The RW flag means read|write and so it is redundant
njl [Sat, 10 Jun 2006 08:04:38 +0000 (08:04 +0000)]
Minor sysctl cleanup.  The RW flag means read|write and so it is redundant
to add the RD flag.  Also, the debug node does not need to be writable.

18 years agoEnable debug.mpsafevm on arm by default.
alc [Sat, 10 Jun 2006 05:29:37 +0000 (05:29 +0000)]
Enable debug.mpsafevm on arm by default.

Tested by: cognet@

18 years agoAdd a lock assertion. Remove dead (locking) code. Change some white
alc [Sat, 10 Jun 2006 05:20:18 +0000 (05:20 +0000)]
Add a lock assertion.  Remove dead (locking) code.  Change some white
space.

Reviewed by: cognet@

18 years agoMinor style tweaks while nearby. Namely ANSIfy and parens on return values.
jmallett [Sat, 10 Jun 2006 01:44:57 +0000 (01:44 +0000)]
Minor style tweaks while nearby.  Namely ANSIfy and parens on return values.

18 years agoRather than using specified_ro to parse the options list an extra time, and
jmallett [Sat, 10 Jun 2006 01:37:00 +0000 (01:37 +0000)]
Rather than using specified_ro to parse the options list an extra time, and
keeping a flag to check whether we actually wanted to mount the filesystem
readonly, setup the options list so that we start off by assuming rw is what's
desired and let later flags change that.

18 years agoAdd ability to reset individual devices and fix SCSI speed negotiation.
jkim [Fri, 9 Jun 2006 23:11:43 +0000 (23:11 +0000)]
Add ability to reset individual devices and fix SCSI speed negotiation.

Reviewed by: mjacob (initial version)

18 years agoDon't build IPv6 support if we have choosen not to have it.
delphij [Fri, 9 Jun 2006 18:11:29 +0000 (18:11 +0000)]
Don't build IPv6 support if we have choosen not to have it.

18 years agoDon't expect that 'device random' will compile in those files into the
pjd [Fri, 9 Jun 2006 17:36:50 +0000 (17:36 +0000)]
Don't expect that 'device random' will compile in those files into the
kernel for us. If random is compiled as kernel module, geom_bde.ko cannot
be loaded.

Reported by: Michal Suszko <michal@dry.pl>

18 years agoo Fix grammar, format.
maxim [Fri, 9 Jun 2006 17:03:24 +0000 (17:03 +0000)]
o Fix grammar, format.

18 years agoDocument the way to get list of files to process from the stdin.
kib [Fri, 9 Jun 2006 16:11:23 +0000 (16:11 +0000)]
Document the way to get list of files to process from the stdin.

MFC after: 1 week
Approved by: kan (mentor)

18 years agoCopy filename read from the stdin into the private buffer. Otherwise,
kib [Fri, 9 Jun 2006 16:09:26 +0000 (16:09 +0000)]
Copy filename read from the stdin into the private buffer. Otherwise,
next read filename overwrite previous one, resulting in acl being
applied only to the last name in the list.

Submitted by: Oleg Lomaka <oleg.lomaka at gmail com>
MFC after: 1 week
Approved by: kan (mentor)

18 years agoo Remove a cruft prevented libpthread sigaction(2) wrapper to
maxim [Fri, 9 Jun 2006 14:23:40 +0000 (14:23 +0000)]
o Remove a cruft prevented libpthread sigaction(2) wrapper to
do its work for SIGINFO.  Always install libpthread signal handler
wrapper for SIGINFO even if user SIG_IGN's or SIG_DFL's it.

SIGINFO has a special meaning for libpthread: when LIBPTHREAD_DEBUG
enviroment variable defined it is used for dumping an information
about threads to /tmp/.

Reported by: mi
Reviewed by: deischen
MFC after: 2 weeks

18 years agoo Re-arrange parentheses and fix a conition logic for !do_dns case.
maxim [Fri, 9 Jun 2006 14:01:07 +0000 (14:01 +0000)]
o Re-arrange parentheses and fix a conition logic for !do_dns case.

PR: bin/98625
MFC after: 1 month

18 years agoTweak mfc.pl to generate backout patchsets.
flz [Fri, 9 Jun 2006 10:59:54 +0000 (10:59 +0000)]
Tweak mfc.pl to generate backout patchsets.

Approved by: cperciva (mentor)

18 years agoOur glob(3) has all the required features.
des [Fri, 9 Jun 2006 08:39:05 +0000 (08:39 +0000)]
Our glob(3) has all the required features.

Submitted by: ache

18 years agoRevert inadvertant commit of debugging code.
des [Fri, 9 Jun 2006 07:23:14 +0000 (07:23 +0000)]
Revert inadvertant commit of debugging code.

18 years agoChange %llx to %jx in printf() to eliminate warnings on 64-bit platforms.
rodrigc [Fri, 9 Jun 2006 06:57:00 +0000 (06:57 +0000)]
Change %llx to %jx in printf() to eliminate warnings on 64-bit platforms.

18 years agoBring back changes in version 1.3 lost in previous commit.
rodrigc [Fri, 9 Jun 2006 06:40:22 +0000 (06:40 +0000)]
Bring back changes in version 1.3 lost in previous commit.

18 years agoAccomodate new files due to latest XFS import.
rodrigc [Fri, 9 Jun 2006 06:13:45 +0000 (06:13 +0000)]
Accomodate new files due to latest XFS import.

18 years agoMakefile changes to accomodate new XFS import.
rodrigc [Fri, 9 Jun 2006 06:10:17 +0000 (06:10 +0000)]
Makefile changes to accomodate new XFS import.

18 years agoMore changes due to latest XFS import.
rodrigc [Fri, 9 Jun 2006 06:07:42 +0000 (06:07 +0000)]
More changes due to latest XFS import.

Work done by: Russell Cattelan <cattelan at xfs dot org>

18 years agoSync XFS for FreeBSD tree with newer changes from SGI XFS for Linux tree.
rodrigc [Fri, 9 Jun 2006 06:04:06 +0000 (06:04 +0000)]
Sync XFS for FreeBSD tree with newer changes from SGI XFS for Linux tree.
Improve support for writing to XFS partitions.

Work done by: Russell Cattelan <cattelan at xfs dot org>

18 years agoAdd pmap locking to pmap_extract().
alc [Fri, 9 Jun 2006 03:54:20 +0000 (03:54 +0000)]
Add pmap locking to pmap_extract().

Tested by: cognet@

18 years agoWhen deleting empty directories prior to building the release tarballs,
cperciva [Fri, 9 Jun 2006 03:40:04 +0000 (03:40 +0000)]
When deleting empty directories prior to building the release tarballs,
pass the "-empty" flag to find(1).  This change has no effect other
than to get rid of a few pages of "rmdir: ...: Directory not empty"
error messages.  (Note that the "-empty" flag has been supported by
find(1) since 4.3-RELEASE.)

18 years agoEnable proxy ARP answers on any of the bridged interfaces if proxy record
thompsa [Fri, 9 Jun 2006 00:33:30 +0000 (00:33 +0000)]
Enable proxy ARP answers on any of the bridged interfaces if proxy record
belongs to another interface within the bridge group.

PR: kern/94408
Submitted by: Eygene A. Ryabinkin
MFC after: 1 month

18 years agoAllow bridge and carp to play nicely together by returning the packet if its
thompsa [Thu, 8 Jun 2006 23:40:16 +0000 (23:40 +0000)]
Allow bridge and carp to play nicely together by returning the packet if its
destined for a carp interface.

Obtained from: OpenBSD
MFC after: 2 weeks

18 years agoadd glue for ath_hal
sam [Thu, 8 Jun 2006 23:38:01 +0000 (23:38 +0000)]
add glue for ath_hal

MFC after: 1 month

18 years agoadd powerpc glue
sam [Thu, 8 Jun 2006 23:36:35 +0000 (23:36 +0000)]
add powerpc glue

MFC after: 1 month

18 years agoenable build of ath_hal on sparc64 and powerpc
sam [Thu, 8 Jun 2006 23:35:58 +0000 (23:35 +0000)]
enable build of ath_hal on sparc64 and powerpc

MFC after: 1 month

18 years agoRearrange code in soalloc() so that it's less indented by returning
rwatson [Thu, 8 Jun 2006 22:33:18 +0000 (22:33 +0000)]
Rearrange code in soalloc() so that it's less indented by returning
early if uma_zalloc() from the socket zone fails.  No functional
change.

MFC after: 1 week

18 years agoUpdate global copyright statement for netatalk, as I claim copyright
rwatson [Thu, 8 Jun 2006 22:13:52 +0000 (22:13 +0000)]
Update global copyright statement for netatalk, as I claim copyright
on changes in a number of files in netatalk.

MFC after: 1 week

18 years agoLock process when copying fields from process structure so as to
rwatson [Thu, 8 Jun 2006 21:58:04 +0000 (21:58 +0000)]
Lock process when copying fields from process structure so as to
get a consistent snapshot, as well as get consistent values (i.e.,
that p_comm is properly nul-terminated).

Perforce CID: 98824
Obtained from: TrustedBSD Project

18 years agoPrefer C to C++ comments per style(9).
rwatson [Thu, 8 Jun 2006 21:55:39 +0000 (21:55 +0000)]
Prefer C to C++ comments per style(9).

Perforce CID: 98826
Obtained from: TrustedBSD Project

18 years ago- Merge sys/sparc64/pci/psycho.c rev. 1.8:
marius [Thu, 8 Jun 2006 21:02:25 +0000 (21:02 +0000)]
- Merge sys/sparc64/pci/psycho.c rev. 1.8:
  Map the device memory belonging to resources of type SYS_RES_MEMORY into
  KVA upon activation so that rman_get_virtual() works as expected.
- In sbus_alloc_resource() checking whether toffs is 0 as an indication
  that no applicable child range was found isn't appropriate as it's
  perfectly valid for the requested SYS_RES_MEMORY resource to start at
  the beginning of a child range. So check for the RMAN still being NULL
  instead.
- As a minor runtime speed optimization break out of the loop where we
  search for the applicable child range in sbus_alloc_resource() as soon
  as it's found.
- Let sbus_setup_intr() return ENOMEM rather than 0 if it can't allocate
  memory for the interrupt clearing info.
- Actually do what the comment in sbus_setup_intr() says and disable the
  respective interrupt while fiddling with it.
- Remove some superfluous INTVEC() around inr, which already only contains
  the interrupt vector, in sbus_setup_intr().
- While here, fix a style(9) bug in sbus_setup_intr() (don't use function
  calls in initializers).

The first two changes are required for a CG6 driver.

MFC after: 2 weeks

18 years agoDo not copy out the iovec in the 32bit recvmsg call since soreceive
ps [Thu, 8 Jun 2006 18:33:08 +0000 (18:33 +0000)]
Do not copy out the iovec in the 32bit recvmsg call since soreceive
calls uiomove directly.

Reviewed by: ups
MFC after: 1 week

18 years agoLog:
davidch [Thu, 8 Jun 2006 18:31:21 +0000 (18:31 +0000)]
Log:
- Removed updates to if_ibytes, if_obytes, if_imcasts, and if_omcasts.
  These should not be handled by the driver.
- Add code to handle excessively fragmented mbufs when mapping TX frames.

Reviewed by: ps
Approved by: ps (mentor)
MFC after: 1 week

18 years agoMinor tweaks to the resume code that might help people debug.
njl [Thu, 8 Jun 2006 17:54:10 +0000 (17:54 +0000)]
Minor tweaks to the resume code that might help people debug.

* Add hw.acpi.resume_beep tunable and sysctl, default to 0.  Beeps the PC
speaker soon after waking to diagnose whether the wakeup code is even
getting run before other drivers possibly hang the system.  To stop the beep,
cause another beep (i.e. keyboard bell).  Submitted by takawata@, I changed
the frequency to be lower.

* Use 4096 instead of 4 byte alignment.  Might be useful although doesn't
seem to be necessary.

* Remove a useless assignment to acpi_reset_video.  It was overwritten by
the default sysctl value anyway.

18 years agoFix gratuitous compiler warning.
pjd [Thu, 8 Jun 2006 17:40:02 +0000 (17:40 +0000)]
Fix gratuitous compiler warning.

Reported by: Rong-en Fan <grafan@gmail.com>

18 years agoo Add /etc/shells to a source files list.
maxim [Thu, 8 Jun 2006 14:49:38 +0000 (14:49 +0000)]
o Add /etc/shells to a source files list.

18 years agoReparent the process that executes the window= command from the ttys
kib [Thu, 8 Jun 2006 14:04:36 +0000 (14:04 +0000)]
Reparent the process that executes the window= command from the ttys
to the init. This prevents zombies from being accumulated.

PR: bin/64198
Tested by: Eugene Grosbein <eugen at www svzserv kemerovo su>
Approved by: kan (mentor)
MFC after: 1 month

18 years agoThis commit was generated by cvs2svn to compensate for changes in r159399,
marius [Thu, 8 Jun 2006 13:10:51 +0000 (13:10 +0000)]
This commit was generated by cvs2svn to compensate for changes in r159399,
which included commits to RCS files with non-trunk default branches.

18 years ago* elf64-sparc.c (sparc64_elf_adjust_dynamic_symbol): When linking a
marius [Thu, 8 Jun 2006 13:10:51 +0000 (13:10 +0000)]
* elf64-sparc.c (sparc64_elf_adjust_dynamic_symbol): When linking a
non-shared object, do not reserve space in .plt and .rela.plt
for regular symbols neither defined nor referenced in shared objects.

This is a backport of rev. 1.101 (sourceware.org repository) to
Binutils 2.15 which fixes the creation of bogus relocations in the
PLT of Firefox and Thunderbird binaries and which in turn caused
them to segfault in rtld(1). This is committed to the vendor branch
as it doesn't represent a local change but the original vendor fix
is from after elf_link_hash_flags was replaced with bitfields.

PR: sparc64/89486
Approved by: maintainer timeout
Obtained from: NetBSD
MFC after: 1 week

18 years agoinstall_state() should properly initialize 'addr_type' field of newly created
oleg [Thu, 8 Jun 2006 11:27:45 +0000 (11:27 +0000)]
install_state() should properly initialize 'addr_type' field of newly created
flows for O_LIMIT rules.  Otherwise 'ipfw -d show' is unable to display
PARENT rules properly.
(This bug was exposed by ipfw2.c rev.1.90)

Approved by: glebius (mentor)
MFC after: 2 weeks

18 years agoFix following rules: pipe X (tag|altq) Y ...
oleg [Thu, 8 Jun 2006 11:13:23 +0000 (11:13 +0000)]
Fix following rules: pipe X (tag|altq) Y ...

Approved by: glebius (mentor)
MFC after: 2 weeks

18 years agoWhitespace.
glebius [Thu, 8 Jun 2006 10:19:16 +0000 (10:19 +0000)]
Whitespace.

18 years agou_intXX -> uintXX
glebius [Thu, 8 Jun 2006 09:35:02 +0000 (09:35 +0000)]
u_intXX -> uintXX

18 years agoo NIS clients ask for "shells" map not "shells.list".
maxim [Thu, 8 Jun 2006 09:12:07 +0000 (09:12 +0000)]
o NIS clients ask for "shells" map not "shells.list".

PR: kern/86693
Submitted by: Victor Sudakov
MFC after: 1 month

18 years agoFix the last commit.
glebius [Thu, 8 Jun 2006 08:15:21 +0000 (08:15 +0000)]
Fix the last commit.

Submitted by: jhb
Pointy hat to: glebius

18 years agoFix the LOR that occurs when the MAC compiled into the kernel
kib [Thu, 8 Jun 2006 07:55:10 +0000 (07:55 +0000)]
Fix the LOR that occurs when the MAC compiled into the kernel
and vnode is destroyed.

Reviewed by: rwatson
LOR: 189
MFC after: 2 weeks
Approved by: kan (mentor)

18 years agoo Catch up v_flag split and replace VSYSTEM by VV_SYSTEM.
maxim [Thu, 8 Jun 2006 04:39:02 +0000 (04:39 +0000)]
o Catch up v_flag split and replace VSYSTEM by VV_SYSTEM.

Inspired by: jkoshy's commit to vgone.9

18 years agoFix spurious warnings from neighbor discovery when working with IPv6 over
gnn [Thu, 8 Jun 2006 00:31:17 +0000 (00:31 +0000)]
Fix spurious warnings from neighbor discovery when working with IPv6 over
point to point tunnels (gif).

PR: 93220
Submitted by: Jinmei Tatuya
MFC after: 1 week

18 years agoOops it seems I forgot to remove ARM32_NEW_VM_LAYOUT from here.
cognet [Wed, 7 Jun 2006 22:41:14 +0000 (22:41 +0000)]
Oops it seems I forgot to remove ARM32_NEW_VM_LAYOUT from here.

18 years agoo It's lilac-dmc.Berkeley.EDU, not lbl-csam.arpa.
maxim [Wed, 7 Jun 2006 21:37:42 +0000 (21:37 +0000)]
o It's lilac-dmc.Berkeley.EDU, not lbl-csam.arpa.

Obtained from: NetBSD

18 years ago- style(9) cleanup.
glebius [Wed, 7 Jun 2006 21:03:20 +0000 (21:03 +0000)]
- style(9) cleanup.
- Fix comments and printf()s about allocating jumbo buffers.

18 years agoAdd pmap locking to pmap_fault_fixup().
alc [Wed, 7 Jun 2006 20:54:31 +0000 (20:54 +0000)]
Add pmap locking to pmap_fault_fixup().

Add an assertion to pmap_vac_me_harder().

Tested by: cognet@

18 years agobandaid type coercion for ia64
sam [Wed, 7 Jun 2006 20:37:14 +0000 (20:37 +0000)]
bandaid type coercion for ia64

Submitted by: marcel

18 years agoadd ath & co.
sam [Wed, 7 Jun 2006 18:10:28 +0000 (18:10 +0000)]
add ath & co.

MFC after: 1 month

18 years agoreposition defines so things build on architectures where AH_REGOPS_FUNC
sam [Wed, 7 Jun 2006 18:09:33 +0000 (18:09 +0000)]
reposition defines so things build on architectures where AH_REGOPS_FUNC
is defined

18 years agoremove ath hal options; having them here causes opt_ah.h to be clobbered
sam [Wed, 7 Jun 2006 17:53:15 +0000 (17:53 +0000)]
remove ath hal options; having them here causes opt_ah.h to be clobbered
by config and that breaks builds unless one duplicates the options in the
config file

MFC after: 1 month

18 years agoProperly synchronize access to the pmap in pmap_extract_and_hold().
alc [Wed, 7 Jun 2006 17:14:48 +0000 (17:14 +0000)]
Properly synchronize access to the pmap in pmap_extract_and_hold().

Eliminate an unneeded variable from pmap_extract_and_hold().

Tested by: cognet@

18 years agoUpdate geli_swap_flags, -e is now used to specify the encryption algorithm.
brueffer [Wed, 7 Jun 2006 17:14:27 +0000 (17:14 +0000)]
Update geli_swap_flags, -e is now used to specify the encryption algorithm.

18 years agoCatch up with the rename of symbol VDOOMED to VI_DOOMED in revision
jkoshy [Wed, 7 Jun 2006 16:51:54 +0000 (16:51 +0000)]
Catch up with the rename of symbol VDOOMED to VI_DOOMED in revision
1.198 of "sys/sys/vnode.h".  Remove a cross-reference to a manual
page that never existed.

---------------------------------------------------------------------- CVS:
PR:              Fill this in if a GNATS PR is affected by the
change.  CVS: Submitted by:    Fill this in if someone else sent
in the change.  CVS: Reviewed by:     Fill this in if someone else
reviewed your modification.  CVS: Approved by:     Fill this in if
you needed approval for this commit.  CVS: Obtained from:   Fill
this in if the change is from third party software.  CVS: MFC after:
N [day[s]|week[s]|month[s]] CVS:    Fill in to get MFC notification
later. (days assumed unless specified) CVS:
---------------------------------------------------------------------- CVS:
Enter Log.  Lines beginning with `CVS:' are removed automatically

18 years agoUpdate comments in struct protosw to reflect changing times:
rwatson [Wed, 7 Jun 2006 13:09:04 +0000 (13:09 +0000)]
Update comments in struct protosw to reflect changing times:

- Between 1996 and 1997, wollman eliminated pr_usrreq() and replaced it
  with direct function pointers.  Update comment to reflect these changes.

- In 2003, I added pru_sosetlabel().  Update comment to reflect this
  change.

MFC after: 1 week

18 years agoWhen counting nodes second time, use the same criteria as for
glebius [Wed, 7 Jun 2006 12:42:15 +0000 (12:42 +0000)]
When counting nodes second time, use the same criteria as for
the first time.

PR: kern/98529
Submitted by: Michael Heyman

18 years agoAdd device IDs for Linksys PCMPC200 Cardbus card.
glebius [Wed, 7 Jun 2006 12:26:23 +0000 (12:26 +0000)]
Add device IDs for Linksys PCMPC200 Cardbus card.

PR: kern/75582
Submitted by: Gary Palmer

18 years agoNow that we use pmap_mapdev_boostrap(), we can get ride of the got_mmu
cognet [Wed, 7 Jun 2006 11:28:17 +0000 (11:28 +0000)]
Now that we use pmap_mapdev_boostrap(), we can get ride of the got_mmu
hack.

Submitted by: kevlo

18 years agoAdd section describing how ARP load balancing works and its
glebius [Wed, 7 Jun 2006 10:26:51 +0000 (10:26 +0000)]
Add section describing how ARP load balancing works and its
limitations:
  - Can't load balance behind router
  - ARP balancing + pfsync probably won't work

PR: kern/93829
Wording by: scottl

18 years agoReflect latest changes in rc.subr wrt prefix/etcdir variables being set
flz [Wed, 7 Jun 2006 10:20:57 +0000 (10:20 +0000)]
Reflect latest changes in rc.subr wrt prefix/etcdir variables being set
automatically by load_rc_config.

With help from: ru (mdoc-fu)
Reviewed by: brueffer
Approved by: cperciva

18 years agoFix watchdog timeout errors seen on a few systems.
yongari [Wed, 7 Jun 2006 09:05:20 +0000 (09:05 +0000)]
Fix watchdog timeout errors seen on a few systems.
SK-NET GENESIS document says reading SK_ISSR should stop generating
further interrupts(Since we drop a driver lock before invoking
ifp->if_input handler we should disable interrupts in ISR in order
to protect integrity of softc from subsequent interrupts). But it
seems that there is possibility of loosing interrupts between
reading SK_ISSR and determining which interrupts are reported.
To cope with the situation we continuously read SK_ISSR register
until there are no interrupts. However, it seems that the above
work around doesn't fix all cases. To protect watchdog handler
from triggering false alarm add a work around code which try to
reclaim pending Tx descriptors before resetting hardware. This
should fix occasional watchdog timeout errors seen on this driver.

Reported by: Frank Behrens <frank AT pinky dot sax dot de >
Tested by: Frank Behrens <frank AT pinky dot sax dot de >

18 years agoRemove sa1_cache_clean_addr. It isn't needed.
imp [Wed, 7 Jun 2006 05:36:10 +0000 (05:36 +0000)]
Remove sa1_cache_clean_addr.  It isn't needed.

Submitted by: kevlo

18 years agoAdd adding_user.8 to SEE ALSO, note that usernames may contain any character
trhodes [Wed, 7 Jun 2006 04:58:54 +0000 (04:58 +0000)]
Add adding_user.8 to SEE ALSO, note that usernames may contain any character
but not being with a hyphen, similar to adding_user.8.

PR: 35732

18 years agoSimply running ``make world'' will bomb unless you dig up the
trhodes [Wed, 7 Jun 2006 03:33:48 +0000 (03:33 +0000)]
Simply running ``make world'' will bomb unless you dig up the
undocumented HISTORICAL_MAKE_WORLD variable and set it.  Note it
here so the blow up will not really be a surprise to people who
read.

Link the buildingworld chapter of our handbook in the README
while I'm here.

18 years agoUse calloc() instead of zeroing the memory our own.
delphij [Wed, 7 Jun 2006 01:43:26 +0000 (01:43 +0000)]
Use calloc() instead of zeroing the memory our own.

18 years agoAllow to use the old -a option to specify an encryption algorithm to use
pjd [Tue, 6 Jun 2006 22:06:24 +0000 (22:06 +0000)]
Allow to use the old -a option to specify an encryption algorithm to use
(for backward compatibility), but print a warning to inform about the
change.

18 years agoFor network filesystems (NFS, samba, etc.), do not pass "export" nmount()
rodrigc [Tue, 6 Jun 2006 21:56:49 +0000 (21:56 +0000)]
For network filesystems (NFS, samba, etc.), do not pass "export" nmount()
parameter to try to delete an NFS export.  It won't work, and will log
a spurious warning to syslog.

Tested by: Arno J. Klaassen <arno at heho dot snv dot jussieu dot fr>
MFC after: 3 days

18 years agoConvert the last offender, the SA1110 port, to ARM32_NEW_VM_LAYOUT, and
cognet [Tue, 6 Jun 2006 21:06:57 +0000 (21:06 +0000)]
Convert the last offender, the SA1110 port, to ARM32_NEW_VM_LAYOUT, and
completely nuke the !ARM32_NEW_VM_LAYOUT case.

18 years agoRemove a bogus, useless, "i++".
cognet [Tue, 6 Jun 2006 20:47:59 +0000 (20:47 +0000)]
Remove a bogus, useless, "i++".

18 years agoGarbage collect library we did not compile for ages.
kan [Tue, 6 Jun 2006 19:31:45 +0000 (19:31 +0000)]
Garbage collect library we did not compile for ages.

18 years agoClarify and merge two sentences.
brueffer [Tue, 6 Jun 2006 19:03:51 +0000 (19:03 +0000)]
Clarify and merge two sentences.

Discussed with: pjd

18 years agoAlso need to quote values so they can be passed on correctly.
imp [Tue, 6 Jun 2006 18:07:58 +0000 (18:07 +0000)]
Also need to quote values so they can be passed on correctly.