dragonfly.git
12 years agoFix accents.
Sascha Wildner [Fri, 21 Dec 2007 09:51:11 +0000 (09:51 +0000)]
Fix accents.

12 years agoAdd a manual page for the est(4) driver.
Sascha Wildner [Fri, 21 Dec 2007 09:00:41 +0000 (09:00 +0000)]
Add a manual page for the est(4) driver.

12 years agoAdd some quick documentation regarding the CAM_NEW_TRAN_CODE option.
Peter Avalos [Fri, 21 Dec 2007 00:14:58 +0000 (00:14 +0000)]
Add some quick documentation regarding the CAM_NEW_TRAN_CODE option.

Reviewed-by: swildner
12 years agoprintf -> kprintf
Peter Avalos [Fri, 21 Dec 2007 00:02:53 +0000 (00:02 +0000)]
printf -> kprintf

12 years agoAdd CAM_NEW_TRAN_CODE as a kernel option.
Peter Avalos [Thu, 20 Dec 2007 23:31:26 +0000 (23:31 +0000)]
Add CAM_NEW_TRAN_CODE as a kernel option.

12 years agoIn divert_packet():
Sepherosa Ziehau [Thu, 20 Dec 2007 12:44:20 +0000 (12:44 +0000)]
In divert_packet():
- Since rcvif is checked on the main code path, we need to make sure that
  the mbuf contains pkthdr.
- It is impossible for a mbuf that does not contain divert tag to sneak into
  divert_packet(); add assertion about it.
- Rearrange code a little bit.

12 years agoGeneralize PF_MBUF_GENERATED mbuf firewall flag
Sepherosa Ziehau [Wed, 19 Dec 2007 12:13:17 +0000 (12:13 +0000)]
Generalize PF_MBUF_GENERATED mbuf firewall flag

12 years agocOPy? o.O
Sepherosa Ziehau [Wed, 19 Dec 2007 11:10:42 +0000 (11:10 +0000)]
cOPy?  o.O

12 years agoMake divert(4) socket dispatch mbuf to correct the lwkt port for further
Sepherosa Ziehau [Wed, 19 Dec 2007 11:00:23 +0000 (11:00 +0000)]
Make divert(4) socket dispatch mbuf to correct the lwkt port for further
processing (ip_{input,output}):
- Add mbuf** function parameter to protosw.pr_mport()
- Pass 'addr' to pr_mport() in so_pru_send(); udp_soport() is adjusted
  accordingly
- Add additional parameter to ip_mport(), so it could be called with both
  incoming and outgoing packets.  And the processing for outgoing UDP packets
  matches udp_soport()
- Add div_soport() as IPPROTO_DIVERT's pr_mport()
  o  Delegate non-PRU_SEND operation to cpu0_soport()
  o  Move receiving interface setting up code from div_output() into this
     function, so ip_mport() could be called
  o  Use ip_mport() to find the target lwkt port

12 years agoRemove trailing whitespace.
Sascha Wildner [Mon, 17 Dec 2007 18:38:00 +0000 (18:38 +0000)]
Remove trailing whitespace.

12 years ago.Pp is not needed before .Sh
Sascha Wildner [Mon, 17 Dec 2007 18:36:34 +0000 (18:36 +0000)]
.Pp is not needed before .Sh

12 years agoFix SYNOPSIS.
Sascha Wildner [Mon, 17 Dec 2007 18:27:14 +0000 (18:27 +0000)]
Fix SYNOPSIS.

12 years agoFix .Dv abuse: Use .Li for the labels.
Sascha Wildner [Mon, 17 Dec 2007 18:13:10 +0000 (18:13 +0000)]
Fix .Dv abuse: Use .Li for the labels.

12 years agoAdd ID for ICH8M in compatibility mode. This makes Thinkpad X61s report
Hasso Tepper [Mon, 17 Dec 2007 09:24:40 +0000 (09:24 +0000)]
Add ID for ICH8M in compatibility mode. This makes Thinkpad X61s report
correct HD speed.

Reviewed-by: tgen@
12 years agoFix flag name: it is 'schg' according to chflags(1).
Thomas Nikolajsen [Sun, 16 Dec 2007 21:07:34 +0000 (21:07 +0000)]
Fix flag name: it is 'schg' according to chflags(1).

12 years agoFix usage() to use correct name of program.
Thomas Nikolajsen [Sun, 16 Dec 2007 20:17:54 +0000 (20:17 +0000)]
Fix usage() to use correct name of program.

12 years agoAdd two cross references.
Thomas Nikolajsen [Sun, 16 Dec 2007 20:12:09 +0000 (20:12 +0000)]
Add two cross references.

12 years agoCorrect references to this OS.
Thomas Nikolajsen [Sun, 16 Dec 2007 20:10:21 +0000 (20:10 +0000)]
Correct references to this OS.

12 years agoDelete reference without relevance.
Thomas Nikolajsen [Sun, 16 Dec 2007 20:06:29 +0000 (20:06 +0000)]
Delete reference without relevance.

12 years agoCorrect location of svr4.4 and streams.4.
Thomas Nikolajsen [Sun, 16 Dec 2007 19:33:08 +0000 (19:33 +0000)]
Correct location of svr4.4 and streams.4.

12 years agoCorrect location of oltr.4.
Thomas Nikolajsen [Sun, 16 Dec 2007 19:04:58 +0000 (19:04 +0000)]
Correct location of oltr.4.

12 years agoFix building with 'options CPU_DISABLE_SSE'.
Sascha Wildner [Sun, 16 Dec 2007 18:46:01 +0000 (18:46 +0000)]
Fix building with 'options CPU_DISABLE_SSE'.

12 years agoConvert to mdoc.
Sascha Wildner [Sun, 16 Dec 2007 11:44:19 +0000 (11:44 +0000)]
Convert to mdoc.

12 years agoCorrect references to obsolete /etc/rc.* files: rc.serial & rc.network.
Thomas Nikolajsen [Sun, 16 Dec 2007 02:55:38 +0000 (02:55 +0000)]
Correct references to obsolete /etc/rc.* files: rc.serial & rc.network.

12 years agoDelete obsolete rc.* manual pages.
Thomas Nikolajsen [Sun, 16 Dec 2007 01:58:38 +0000 (01:58 +0000)]
Delete obsolete rc.* manual pages.
Correct some /etc/rc.d/* references and add rc.d history to rc.8.

12 years ago* Begin sentences on a new line.
Sascha Wildner [Sun, 16 Dec 2007 01:26:34 +0000 (01:26 +0000)]
* Begin sentences on a new line.

* Fix ioctl name: s/APMIO_GET/APMIO_GETINFO/

12 years agoUse .Pa everywhere.
Thomas Nikolajsen [Sat, 15 Dec 2007 16:49:43 +0000 (16:49 +0000)]
Use .Pa everywhere.

12 years agoAdapt to DragonFly. Remove ports sections.
Thomas Nikolajsen [Sat, 15 Dec 2007 12:20:06 +0000 (12:20 +0000)]
Adapt to DragonFly. Remove ports sections.
Break some overly long lines and add few more cross references.

12 years agoBring in some fixes from FreeBSD.
Sascha Wildner [Sat, 15 Dec 2007 12:04:42 +0000 (12:04 +0000)]
Bring in some fixes from FreeBSD.

This includes some lines for the recent additions in the elf headers.

12 years agoRemove definition and documentation of EI_BRAND which was renamed to
Sascha Wildner [Sat, 15 Dec 2007 11:39:15 +0000 (11:39 +0000)]
Remove definition and documentation of EI_BRAND which was renamed to
OLD_EI_BRAND a long time ago in FreeBSD.

OLD_EI_BRAND is still used in sys/kern/imgact_elf.c but it defines
its own.

12 years agoFix usage of .Fa, .Fn, .Vt, .Dv, .Sy...
Sascha Wildner [Sat, 15 Dec 2007 11:23:10 +0000 (11:23 +0000)]
Fix usage of .Fa, .Fn, .Vt, .Dv, .Sy...

12 years agoCorrectly document the PPIGEPP* and PPISEPP* ioctls.
Sascha Wildner [Sat, 15 Dec 2007 10:33:38 +0000 (10:33 +0000)]
Correctly document the PPIGEPP* and PPISEPP* ioctls.

12 years agoUse .Fa for struct members.
Sascha Wildner [Sat, 15 Dec 2007 10:23:58 +0000 (10:23 +0000)]
Use .Fa for struct members.

12 years agoMove a .Ed to the right place and use .Fa for struct members.
Sascha Wildner [Sat, 15 Dec 2007 10:03:17 +0000 (10:03 +0000)]
Move a .Ed to the right place and use .Fa for struct members.

12 years agoComment out CTLFLAG_SKIP which we don't have and use .Va for the name
Sascha Wildner [Sat, 15 Dec 2007 09:07:13 +0000 (09:07 +0000)]
Comment out CTLFLAG_SKIP which we don't have and use .Va for the name
spaces.

12 years agoUnbreak buildworld:
Sepherosa Ziehau [Sat, 15 Dec 2007 07:13:18 +0000 (07:13 +0000)]
Unbreak buildworld:
- Add libthread_xu to prebuilding libraries in top level Makefile.inc1.
- Put libthread_xu before libpthread in lib/Makefile, add comment about it.
- Fix typo in lib/libpthread/Makefile
- Add XXX-commented out DPADD in lib/libpthread/Makefile; a more 'complete'
  solution for the default thread library naming is needed.

12 years agoOnly use '.' at the end of sentences.
Sascha Wildner [Fri, 14 Dec 2007 23:16:55 +0000 (23:16 +0000)]
Only use '.' at the end of sentences.

12 years agoAdd some words about lwp_rtprio() to rtprio(2).
Sascha Wildner [Fri, 14 Dec 2007 23:12:55 +0000 (23:12 +0000)]
Add some words about lwp_rtprio() to rtprio(2).

12 years agoImprove markup.
Sascha Wildner [Fri, 14 Dec 2007 22:51:57 +0000 (22:51 +0000)]
Improve markup.

12 years agoSwitch to libthread_xu per default.
Simon Schubert [Fri, 14 Dec 2007 20:27:14 +0000 (20:27 +0000)]
Switch to libthread_xu per default.

12 years agoFP registers are now saved and restored by the kernel, remove the
Matthew Dillon [Fri, 14 Dec 2007 20:07:59 +0000 (20:07 +0000)]
FP registers are now saved and restored by the kernel, remove the
save/restore code entirely.

12 years agoUse the mc_fpformat field to determine the correct FP save/restore
Matthew Dillon [Fri, 14 Dec 2007 19:54:36 +0000 (19:54 +0000)]
Use the mc_fpformat field to determine the correct FP save/restore
instructions to use.

12 years agoProperly set the mc_fpformat field in the ucontext so libc_r knows which FP
Matthew Dillon [Fri, 14 Dec 2007 19:54:09 +0000 (19:54 +0000)]
Properly set the mc_fpformat field in the ucontext so libc_r knows which FP
format the saved FP state is in.

12 years agoRework sk(4) detach code:
Sepherosa Ziehau [Fri, 14 Dec 2007 11:37:11 +0000 (11:37 +0000)]
Rework sk(4) detach code:
- sk is detached before skc, so two interfaces must be stopped first and
  interrupt should be torn down when the first interface is detaching.
- bus_generic_detach() is not necessary

12 years agoAvoid use-after-free
Sepherosa Ziehau [Fri, 14 Dec 2007 10:54:25 +0000 (10:54 +0000)]
Avoid use-after-free

12 years agoHAMMER 10/many - synchronize miscellaneous work.
Matthew Dillon [Fri, 14 Dec 2007 08:05:39 +0000 (08:05 +0000)]
HAMMER 10/many - synchronize miscellaneous work.

* Cleanup the I/O infrastructure a bit in preparation for a write interlock.
* Fix a bug in the B-Tree code.
* Implement the cluster open flag and write dependancies in preparation
  for the cluster recovery code.
* Start working on statistics for statfs.

12 years agoDon't use macros which expand to some text (such as .Dx) in the short
Sascha Wildner [Thu, 13 Dec 2007 20:51:37 +0000 (20:51 +0000)]
Don't use macros which expand to some text (such as .Dx) in the short
description since they get discarded by makewhatis(8).

Reported-by: Matthias Schmidt <schmidtm@mathematik.uni-marburg.de>
12 years ago* Follow conventions and rename -i (for printing verbose info) to -v.
Sascha Wildner [Thu, 13 Dec 2007 17:14:57 +0000 (17:14 +0000)]
* Follow conventions and rename -i (for printing verbose info) to -v.

* Make usage string look a bit more 'standard'.

12 years agoSave and restore the FP context in the signal stack frame.
Matthew Dillon [Wed, 12 Dec 2007 23:49:24 +0000 (23:49 +0000)]
Save and restore the FP context in the signal stack frame.

12 years agoFix bug in as-of mount date specification.
Matthew Dillon [Wed, 12 Dec 2007 23:47:57 +0000 (23:47 +0000)]
Fix bug in as-of mount date specification.

12 years agoInstall hammer includes in /usr/include/vfs/hammer.
Matthew Dillon [Wed, 12 Dec 2007 23:47:32 +0000 (23:47 +0000)]
Install hammer includes in /usr/include/vfs/hammer.

12 years agoSynchronize most of the remaining FreeBSD changes for Elf64 typedefs.
Matthew Dillon [Wed, 12 Dec 2007 23:29:20 +0000 (23:29 +0000)]
Synchronize most of the remaining FreeBSD changes for Elf64 typedefs.

Adjust the Elf*_Auxargs structures to use the correct typedef names.  The
size of the structure's various fields has not changed.

12 years agoUpdate pkg_search to download and use the pkg_summary file, allowing
Matthew Dillon [Wed, 12 Dec 2007 23:26:38 +0000 (23:26 +0000)]
Update pkg_search to download and use the pkg_summary file, allowing
searches on machines without requiring the pkgsrc tree to be downloaded.

Submitted-by: Matthias Schmidt <schmidtm@mathematik.uni-marburg.de>
12 years agoNuke unused stack variable.
Sepherosa Ziehau [Wed, 12 Dec 2007 13:57:36 +0000 (13:57 +0000)]
Nuke unused stack variable.

12 years agoImporting some newer defines for elf to fix build of pkgsrc/devel/libelf.
Walter Sheets [Tue, 11 Dec 2007 18:10:51 +0000 (18:10 +0000)]
Importing some newer defines for elf to fix build of pkgsrc/devel/libelf.

These definitions are not yet used anywhere in DragonFly itself, so should
break nothing (yet).  There are several more defines remaining, but we
don't need them just now.

12 years agotest
Walter Sheets [Tue, 11 Dec 2007 14:59:44 +0000 (14:59 +0000)]
test

12 years agoFix a bug where all 'generic' ATA controllers were handled as if they had
Thomas E. Spanjaard [Sun, 9 Dec 2007 22:32:16 +0000 (22:32 +0000)]
Fix a bug where all 'generic' ATA controllers were handled as if they had
a DMA engine.

DragonFly-bug: http://bugs.dragonflybsd.org/issue879

12 years agoMake sure that we're locked when initially reading the config from disk.
Simon Schubert [Sun, 9 Dec 2007 17:23:53 +0000 (17:23 +0000)]
Make sure that we're locked when initially reading the config from disk.

Obtained-from:  FreeBSD

12 years agoAdd reference to the LWP "counterpart".
Sascha Wildner [Sat, 8 Dec 2007 23:20:29 +0000 (23:20 +0000)]
Add reference to the LWP "counterpart".

12 years agoFix krateprintf(). The frequency was improperly being multiplied by hz
Matthew Dillon [Sat, 8 Dec 2007 20:08:53 +0000 (20:08 +0000)]
Fix krateprintf().  The frequency was improperly being multiplied by hz
because we were testing against ticks instead of seconds.

12 years ago- It does not make sense to set IP options or multicast options on DIVERT
Sepherosa Ziehau [Sat, 8 Dec 2007 10:20:45 +0000 (10:20 +0000)]
- It does not make sense to set IP options or multicast options on DIVERT
  socket.  Ignore them.  Adjust divert(4) manpage accordingly.
- Don't abuse DIVERT socket inpcb's route entry.

12 years agoAdd a note that 'noerror' option is always on for pipes and queues.
Sepherosa Ziehau [Sat, 8 Dec 2007 04:47:31 +0000 (04:47 +0000)]
Add a note that 'noerror' option is always on for pipes and queues.

12 years agoMake sure that ip_dn_cpu does exist, if not set it to CPU0
Sepherosa Ziehau [Sat, 8 Dec 2007 04:33:58 +0000 (04:33 +0000)]
Make sure that ip_dn_cpu does exist, if not set it to CPU0

12 years agoAdd missing sys/proc.h
Matthew Dillon [Thu, 6 Dec 2007 23:22:33 +0000 (23:22 +0000)]
Add missing sys/proc.h

12 years agoFix a 'panic: vm_page_cache: caching a dirty page' assertion. Even though
Matthew Dillon [Thu, 6 Dec 2007 22:25:49 +0000 (22:25 +0000)]
Fix a 'panic: vm_page_cache: caching a dirty page' assertion.  Even though
callers of vm_page_cache() check m->dirty and test the PTE's in the page's
pmap, it is still possible on a SMP system for a process running in usermode
on a different cpu to dirty the page after these tests, but before the page
has been removed from various pagetables.

The solution is to test m->dirty again after vm_page_cache() removes the
page from its associated page tables and silently deactivate the page instead
of moving it to the cache if the page is found to be dirty.

Reported-by: Peter Avalos <pavalos@theshell.com>
12 years agoAdd clarifying comments for LWP_WSTOP and LWP_WEXIT.
Matthew Dillon [Thu, 6 Dec 2007 22:15:06 +0000 (22:15 +0000)]
Add clarifying comments for LWP_WSTOP and LWP_WEXIT.

Reported-by: Aggelos Economopoulos <aoiko@cc.ece.ntua.gr>
12 years ago- Add a '-k' option which does not remove input file, like bzip2(1) do.
Hasso Tepper [Thu, 6 Dec 2007 19:54:52 +0000 (19:54 +0000)]
- Add a '-k' option which does not remove input file, like bzip2(1) do.
- Use better representation of 'S:' by expanding ':' to '.suffix'
- Simulate GNU gzip(1) behavior where full filename is being output in
  verbose mode when doing recursive[1].

Submitted-by: Xin LI <delphij@delphij.net>
Obtained-from: FreeBSD

12 years agoMerge from vendor branch LIBARCHIVE:
Peter Avalos [Thu, 6 Dec 2007 15:54:28 +0000 (15:54 +0000)]
Merge from vendor branch LIBARCHIVE:
Import libarchive-2.4.5:

Fix a bug in handling of "length at end" flags in ZIP files.

12 years agoImport libarchive-2.4.5:
Peter Avalos [Thu, 6 Dec 2007 15:54:28 +0000 (15:54 +0000)]
Import libarchive-2.4.5:

Fix a bug in handling of "length at end" flags in ZIP files.

12 years agoFix possible lockup when ptrace()'ing multi-lwp process.
Simon Schubert [Thu, 6 Dec 2007 15:03:25 +0000 (15:03 +0000)]
Fix possible lockup when ptrace()'ing multi-lwp process.

Submitted-by: Nicolas Thery <nthery@gmail.com>
DragonFly-bug:  <http://bugs.dragonflybsd.org/issue761>

12 years agodhcpd and dhclient manual pages are in section 8, not 1.
Sascha Wildner [Wed, 5 Dec 2007 21:41:41 +0000 (21:41 +0000)]
dhcpd and dhclient manual pages are in section 8, not 1.

Submitted-by: Francis Gudin <fgudin@nerim.net>
Patch-Fu:      pavalos
Dragonfly-bug: <http://bugs.dragonflybsd.org/issue414>

12 years agoImprove wording of the comment for rtable_service_loop().
Sascha Wildner [Wed, 5 Dec 2007 20:46:34 +0000 (20:46 +0000)]
Improve wording of the comment for rtable_service_loop().

Reported-by: Nuno Antunes <nuno.antunes@gmail.com>
Final-version-by: Aggelos Economopoulos <aoiko@cc.ece.ntua.gr>
Dragonfly-bug:    <http://bugs.dragonflybsd.org/issue811>

12 years agoImprove the wording in the ERRORS section.
Sascha Wildner [Wed, 5 Dec 2007 20:34:12 +0000 (20:34 +0000)]
Improve the wording in the ERRORS section.

Submitted-by: Francis Gudin <fgudin@cri74.org>
Dragonfly-bug: <http://bugs.dragonflybsd.org/issue301>

12 years agoCleanup the pkg_search(1) manpage a bit.
Sascha Wildner [Tue, 4 Dec 2007 21:55:01 +0000 (21:55 +0000)]
Cleanup the pkg_search(1) manpage a bit.

12 years agoAdd some missing prototypes.
Sascha Wildner [Tue, 4 Dec 2007 20:59:15 +0000 (20:59 +0000)]
Add some missing prototypes.

The xdr_{accepted,rejected}_reply() part was taken from FreeBSD.

Submitted-by: Alexey Slynko <slynko@tronet.ru>
Dragonfly-bug: <http://bugs.dragonflybsd.org/issue72>

12 years agoBring in Matthias Schmidt's nice little pkg_search script.
Matthew Dillon [Tue, 4 Dec 2007 18:24:18 +0000 (18:24 +0000)]
Bring in Matthias Schmidt's nice little pkg_search script.

Submitted-by: Matthias Schmidt <schmidtm@mathematik.uni-marburg.de>
12 years agoBring the getent(1) program in from FreeBSD and link it into the build.
Matthew Dillon [Tue, 4 Dec 2007 18:13:09 +0000 (18:13 +0000)]
Bring the getent(1) program in from FreeBSD and link it into the build.

Submitted-by: Matthias Schmidt <schmidtm@mathematik.uni-marburg.de>
Obtained-from: FreeBSD

12 years agoHifn 7955/7956 support to the hifn(4) driver.
Hasso Tepper [Tue, 4 Dec 2007 09:11:12 +0000 (09:11 +0000)]
Hifn 7955/7956 support to the hifn(4) driver.

Submitted-by: Andrew Atrens
Obtained-from: FreeBSD/OpenBSD

12 years agoFix typo.
Sascha Wildner [Mon, 3 Dec 2007 20:40:31 +0000 (20:40 +0000)]
Fix typo.

12 years agoUpdate per Newsletter VI-1.
Sascha Wildner [Mon, 3 Dec 2007 20:38:05 +0000 (20:38 +0000)]
Update per Newsletter VI-1.

12 years agooperation is a function argument, not a defined value.
Sascha Wildner [Mon, 3 Dec 2007 20:13:10 +0000 (20:13 +0000)]
operation is a function argument, not a defined value.

12 years agoFix typo: MNT_ASYNCHRONOUS -> MNT_ASYNC
Sascha Wildner [Mon, 3 Dec 2007 20:11:15 +0000 (20:11 +0000)]
Fix typo: MNT_ASYNCHRONOUS -> MNT_ASYNC

12 years agoSync zoneinfo database with tzdata2007j from elsie.
Sascha Wildner [Mon, 3 Dec 2007 15:24:51 +0000 (15:24 +0000)]
Sync zoneinfo database with tzdata2007j from elsie.

asia:           8.13 -> 8.14
northamerica:   8.19 -> 8.20
southamerica:   8.12 -> 8.13
zone.tab:       8.11 -> 8.12

From Paul Eggert's comments:

The following change affects near-future time stamps.

* Venezuela is changing their clocks on December 9 at 03:00, instead
  of the January 1 at 00:00 that we thought.  (Thanks to John
  Stainforth for the heads-up.)

The following change affects the country database, but not the time data.

* New links America/St_Barthelemy and America/Marigot, for the
  new countries St Barthelemy and St Martin (French part).
  (Thanks to Mark Davis for this.)

The following change affects commentary only.

* Add a comment about Iran's readoption of DST.
  (Thanks to Roozbeh Pournader for this.)

12 years agoSome trivial changes from FreeBSD that allow to use kgdb on /dev/fwmem0.0.
Hasso Tepper [Mon, 3 Dec 2007 14:42:45 +0000 (14:42 +0000)]
Some trivial changes from FreeBSD that allow to  use kgdb on /dev/fwmem0.0.
It also fixes an obvious typo (vmfd -> pmfd).

Dragonfly-bug: <http://bugs.dragonflybsd.org/issue839>
Submitted-by: Aggelos Economopoulos <aoiko@cc.ece.ntua.gr>
Obtained-from: FreeBSD

12 years agoF_FLOCK no longer exists.
Sascha Wildner [Sun, 2 Dec 2007 22:57:58 +0000 (22:57 +0000)]
F_FLOCK no longer exists.

12 years agoLK_NOPAUSE no longer exists.
Sascha Wildner [Sun, 2 Dec 2007 22:39:56 +0000 (22:39 +0000)]
LK_NOPAUSE no longer exists.

12 years agoFix typo: LG_CANRECURSE -> LK_CANRECURSE
Sascha Wildner [Sun, 2 Dec 2007 22:31:31 +0000 (22:31 +0000)]
Fix typo: LG_CANRECURSE -> LK_CANRECURSE

12 years agoFix facility name.
Sascha Wildner [Sun, 2 Dec 2007 22:11:43 +0000 (22:11 +0000)]
Fix facility name.

12 years agoFix typo: RMX_RTTUNIT -> RTM_RTTUNIT
Sascha Wildner [Sun, 2 Dec 2007 22:09:39 +0000 (22:09 +0000)]
Fix typo: RMX_RTTUNIT -> RTM_RTTUNIT

12 years agoRemove trailing whitespace.
Sascha Wildner [Sun, 2 Dec 2007 21:12:44 +0000 (21:12 +0000)]
Remove trailing whitespace.

12 years agoSync quirk tables with FreeBSD.
Peter Avalos [Sun, 2 Dec 2007 16:38:11 +0000 (16:38 +0000)]
Sync quirk tables with FreeBSD.

Obtained-from: FreeBSD

12 years agoIn bge_stop():
Sepherosa Ziehau [Sun, 2 Dec 2007 07:41:10 +0000 (07:41 +0000)]
In bge_stop():
- Avoid dereferencing 'mii', if it is NULL
- Add comment about it

12 years agoXPT_GET_TRAN_SETTINGS can fail- so check for an error and
Peter Avalos [Sun, 2 Dec 2007 05:38:03 +0000 (05:38 +0000)]
XPT_GET_TRAN_SETTINGS can fail- so check for an error and
don't blindly assume it succeeded.

Obtained-from: FreeBSD

12 years agoChange the qualifier to force async from cur_spi to spi.
Peter Avalos [Sun, 2 Dec 2007 05:32:26 +0000 (05:32 +0000)]
Change the qualifier to force async from cur_spi to spi.

Obtained-from: FreeBSD

12 years agoAdd a tunable that allows one to turn off the automatic sending of
Peter Avalos [Sun, 2 Dec 2007 05:30:08 +0000 (05:30 +0000)]
Add a tunable that allows one to turn off the automatic sending of
the ORDERED tag. This recoups significant performance gains for many
arrays.

The default is still to send out the ORDERED tag periodically.

Obtained-from: FreeBSD

12 years agoBlack list the atapci device on Intel PRO/1000 PM, which is just an NIC.
Sepherosa Ziehau [Sun, 2 Dec 2007 05:03:17 +0000 (05:03 +0000)]
Black list the atapci device on Intel PRO/1000 PM, which is just an NIC.

12 years ago- Increase m_flags' size, we have already short of flag space.
Sepherosa Ziehau [Sun, 2 Dec 2007 05:01:04 +0000 (05:01 +0000)]
- Increase m_flags' size, we have already short of flag space.
- Add explicit padding field.

Reviewed-by: dillon@
12 years agoPut a bit of hysteresis into both BUSY SCSI status returns
Peter Avalos [Sun, 2 Dec 2007 04:54:40 +0000 (04:54 +0000)]
Put a bit of hysteresis into both BUSY SCSI status returns
and CAM_RESRC_UNAVAIL returns. Delay a tunable amount for
either between retries.

This came up because the MPT IOC was returning "IOC out of
resources" for some FreeBSD users and this caused a CAM_RESRC_UNAVAIL
return. Putting a bit of delay between retries helped them
out.

Obtained-from: FreeBSD

12 years agoImplement 'camcontrol reportluns'. This allows users to send the SCSI
Peter Avalos [Sun, 2 Dec 2007 04:44:03 +0000 (04:44 +0000)]
Implement 'camcontrol reportluns'.  This allows users to send the SCSI
REPORT LUNS command to a device.

camcontrol.[c8]: Implement reportluns.  This tries to print the LUNs
out in a reasonable format.
scsi_all.[ch]: Revamp the report luns CDB structure and helper
functions.

Obtained-from: FreeBSD

12 years agoSpelling fix.
Peter Avalos [Sun, 2 Dec 2007 04:24:11 +0000 (04:24 +0000)]
Spelling fix.

Obtained-from: FreeBSD