| Commit message (Collapse) | Author | Age | Files | Lines |
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
| |
changes is that there's now a Solaris port of this driver, so some things
in the core version had to change (not much, but some).
In order, from the top.....:
A lot of error strings are gathered in one place at the head of the file.
This caused me to rewrite them to look consistent (with respect to
things like 'Port 0x%' and 'Target %d' and 'Loop ID 0x%x'.
The major mailbox function, isp_mboxcmd, now takes a third argument,
which is a mask that selectively says whether mailbox command failures
will be logged. This will substantially reduce a lot of spurious noise
from the driver.
At the first run through isp_reset we used to try and get the current
running firmware's revision by issuing a mailbox command. This would
invariably fail on alpha's with anything but a Qlogic 1040 since SRM
doesn't *start* the f/w on these cards. Instead, we now see whether we're
sitting ROM state before trying to get a running BIOS loaded f/w version.
All CFGPRINTF/PRINTF/IDPRINTF macros have been replaced with calls to
isp_prt. There are seperate print levels that can be independently
set (see ispvar.h), which include debugging, etc.
All SYS_DELAY macros are now USEC_DELAY macros. RQUEST_QUEUE_LEN and
RESULT_QUEUE_LEN now take ispsoftc as a parameter- the Fibre Channel
cards and the Ultra2/Ultra3 cards can have 16 bit request queue entry
indices, so we can make a 1024 entry index for them instead of the
256 entries we've had until now.
A major change it to fix isp_fclink_test to actually only wait the
delay of time specified in the microsecond argument being passed.
The problem has always been that a call to isp_mboxcmd to get he
current firmware state takes an unknown (sometimes long) amount of
time- this is if the firmware is busy doing PLOGIs while we ask
it what's up. So, up until now, the usdelay argument has been
a joke. The net effect has been that if you boot without being plugged
into a good loop or into a switch, you hang. Massively annonying, and
hard to fix because the actual time delta was impossible to know
from just guessing. Now, using the new GET_NANOTIME macros, a precise
and measured amount of USEC_DELAY calls are done so that only the
specified usecdelay is allowed to pass. This means that if the initial
startup of the firmware if followed by a call from isp_freebsd.c:isp_attach
to isp_control(isp, ISP_FCLINK_TEST, &tdelay) where tdelay is 2 * 1000000,
no more than two seconds will actually elapse before we leave concluding
that the cable is unhooked. Jeez. About time....
Change the ispscsicmd entry point to isp_start, and the XS_CMD_DONE
macro to a call to the platform supplied isp_done (sane naming).
Limit our size of request queue completions we'll look at at interrupt
time. Since we've increased the size of the Request Queue (and the
size of the Response Queue proportionally), let's not create an
interrupt stack overflow by having to keep a max completion list
(forw links are not an option because this is common code with
some platforms that don't have link space in their XS_T structures).
A limit of 32 is not unreasonable- I doubt there'd be even this many
request queue completions at a time- remember, most boards now use
fast posting for normal command completion instead of filling out
response queue entries.
In the isp_mboxcmd cleanup, also create an array of command
names so that "ABOUT FIRMWARE" can be printed instead of "CMD #8".
Remove the isp_lostcmd function- it's been deprecated for a while.
Remove isp_dumpregs- the ISP_DUMPREGS goes to the specific bus
register dump fucntion.
Various other cleanups.
|
|
|
|
|
|
|
| |
character, skip the program name when setting the process title.
Ansified with extreme prejudice.
Reviewed by: peter
|
|
|
|
|
|
| |
isp_prt calls. We now use an argument to the ISPCTL_FCLINK_TEST
call. We change all IDPRINTF macros to isp_prt calls. We add
the isp_prt function here.
|
|
|
|
|
|
|
|
|
|
| |
quite a bit so that all of the ports have a similar set of required
macros/definitions (and in similar places in the isp_<platform>.h
file).
Some new macros/functions added- Mailbox Acquire/Relase macros,
NANOTIME macros, SNPRINTf and STRNCAT. MemoryBarrier beomes
MEMORYBARRIER with much stronger types.
|
|
|
|
|
|
|
| |
isp2100_fw_statename as an INLINE (now a function in isp.c). Remove
isp2100_pdb_statename (unused). Redo all ISP_SCSI_XFER_T as XS_T types.
Change all RQUEST_QUEUE_LEN/RESULT_QUEUE_LEN macros to take a parameter.
Add isp_print_bytes function.
|
|
|
|
| |
isp_prt logging function.
|
|
|
|
| |
as a selector now). Change DFLT_CMD_CNT to a fixed amount for now.
|
| |
|
|
|
|
|
| |
a substantial amount of commenting about what each platform
specific definitions are supposed to be.
|
|
|
|
|
| |
mdvec structure, removal of printf/CFGPRINTF in place of isp_prt
calls. Parameterization of RQUEST_QUEUE_LEN/RESULT_QUEUE_LEN.
|
|
|
|
|
| |
stability for the Voodoo3/Banshee cards than there was before. Still has a
little way to go before it is completely fixed for those cards though.
|
|
|
|
| |
and in any event, it wasn't done correctly in the first place.
|
|
|
|
| |
This dramatically cleans up playback quality, at least with mxaudio.
|
|
|
|
|
|
| |
to CFLAGS instead
According to other sources, opt_ipfilter.h not supposed to be included for
modules
|
| |
|
| |
|
| |
|
| |
|
| |
|
|
|
|
|
|
|
| |
setting of CLOCAL. Necessary for 3 wire RS-232 setups with dumb
terminals.
PR: 5959
|
|
|
|
| |
Kernel 'make depend' fails otherwise
|
|
|
|
|
|
| |
because it's standard (bah, show me a real system without bzero()...)
Noted by: bde
|
|
|
|
| |
Kernel 'make depend' fails otherwise
|
|
|
|
| |
Submitted by: green
|
| |
|
| |
|
|
|
|
| |
It will be connected to the parent Makefile after more testing.
|
|
|
|
| |
doesn't generate irqs.
|
|
|
|
|
| |
write-only faults. This would allow write-only mmapped regions to function
correctly.
|
| |
|
|
|
|
|
| |
Fix an overlong line and trailing whitespace that crept in, in the
previous commit.
|
| |
|
|
|
|
|
|
|
| |
don't traumatise the parent inetd.
Requested by: wietse@porcupine.org
Approved by: markm
|
|
|
|
|
| |
Submitted by: SAKIYAMA Nobuo <sakichan@lares.dti.ne.jp>
PR: kern/20300
|
|
|
|
|
|
|
| |
information can be found in the handbook.
Requested by: sheldonh
Reviewed by: sheldonh
|
|
|
|
|
|
| |
Explain, why crypto sources are still in crypto/.
Reviewed by: markm
|
| |
|
|
|
|
|
|
| |
Some string-related cleanups inspired by OpenBSD.
Reviewed by: asmodai
|
|
|
|
|
|
| |
be fixed to actually process long lines instead of truncating them.
Obtained from: OpenBSD
|
|
|
|
| |
- There are now more than 3500 ports in the ports collection.
|
|
|
|
|
| |
sysinstall's source-code.
- wd(4) -> ad(4)
|
| |
|
|
|
|
| |
Submitted by: Bosko Milekic <bmilekic@dsuper.net>
|
|
|
|
|
|
|
|
|
| |
- Make world doesn't build the modules any more.
- Mention the buildkernel/installkernel targets as common used targets.
- LINT has gone, NOTES is new but cannot be built. It is a pure reference
file. However, I still mentioned LINT but pointed out the difference
between the ancient LINT and the new NOTES. This should avoid confusion.
- crypto/ subdir isn't export controlled any more.
|
|
|
|
| |
since we are already at splnet.
|
|
|
|
|
| |
PR: misc/20304
Submitted by: Kim Scarborough <sluggo@unknown.nu>
|
| |
|
| |
|
| |
|
| |
|