| Commit message (Collapse) | Author | Age | Files | Lines |
| |
|
|
|
|
|
| |
bits defined so we can reset them.
Notes:
svn path=/head/; revision=71078
|
| |
|
|
| |
Notes:
svn path=/head/; revision=71077
|
| |
|
|
|
|
|
|
| |
Arrrggghhhh! Very likely fix 22650 by remembering to, ahem, set
CAM_AUTOSNS_VALID when one has sense data.
Notes:
svn path=/head/; revision=71076
|
| |
|
|
| |
Notes:
svn path=/head/; revision=71075
|
| |
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
| |
Module) and FBM (Fibre Buffer Modules). Also remember to clear the
semaphore registers. Tell the RISC processor to not halt on FPM
parity errors.
Throw out the ISP_CFG_NOINIT silliness and instead go to the use of
adapter 'roles' to see whether one completes initialization or not
(mostly for Fibre Channel). The ultimate intent, btw, of all of this
is to have a warm standby adapter for failover reasons. Because
we do roles now, setting of Target Capable Class 3 service parameters
in the ICB for the 2x00 cards reflects from role. Also, in isp_start,
if we're not supporting an initiator role, we bounce outgoing commands
with a Selection Timeout error. Also clean out the TOGGLE_TMODE
goop for FC- there is no toggling of target mode like there is
for parallel SCSI cards.
Do more cleanup with respect to using target ids 0..125 in F-port
topologies. Also keep track of things which *were* fabric devices
so that when you rescan the fabric you can notify the outer layers
when fabric devices go away.
Only force a LOGOUT for fabric devices if they're still logged in
(i.e., you cat their Port Database entry. Clean up the Get All Next
scanning.
Finally, use a new tag in the softc to store the opcode for the
last mailbox command used so we can report which opcode timed
out.
Notes:
svn path=/head/; revision=71074
|
| |
|
|
|
|
|
|
|
|
| |
sn1 at port 0x240-0x24f irq 10 slot 0 on pccard0
sn1: SMC91C100FD UTP MAC address 00:a0:dc:22:26:8c
Submitted by: "KOMURO" <komujun@nifty.com>
Notes:
svn path=/head/; revision=71060
|
| |
|
|
|
|
|
| |
This turns some of my lockups under SMP into spontanious reboots...
Notes:
svn path=/head/; revision=71044
|
| |
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
| |
exactly the same functionality via a sysctl, making this feature
a run-time option.
The default is 1(ON), which means that /dev/random device will
NOT block at startup.
setting kern.random.sys.seeded to 0(OFF) will cause /dev/random
to block until the next reseed, at which stage the sysctl
will be changed back to 1(ON).
While I'm here, clean up the sysctls, and make them dynamic.
Reviewed by: des
Tested on Alpha by: obrien
Notes:
svn path=/head/; revision=71037
|
| |
|
|
|
|
|
|
| |
are accessed only via the plex, so there's never any confusion as to
the plex number. This value was, as a result, unused.
Notes:
svn path=/head/; revision=71012
|
| |
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
| |
not yet been caught), don't save the config with a null drive
name (which causes the drive to be renamed "plex" on the next
start), put in the text "*invalid*" instead.
This is damage control, not a fix.
Experienced by: peter
Break some long format strings so that they fit in style(9)-sized
lines.
Remove some "outdentation".
Notes:
svn path=/head/; revision=71011
|
| |
|
|
|
|
|
| |
Tripped over by: "Jeroen C. van Gelderen" <jeroen@vangelderen.org>
Notes:
svn path=/head/; revision=71010
|
| |
|
|
|
|
|
|
|
|
| |
power button, sleep button, or lid close event. The sysctl's use the
ACPI sleep state names S0, S1, S2, S3, S4, S4B, and S5.
Reviewed by: iwasaki
Notes:
svn path=/head/; revision=71001
|
| |
|
|
| |
Notes:
svn path=/head/; revision=70945
|
| |
|
|
|
|
|
|
|
|
|
|
|
|
| |
all of the hwvol members of struct snd_mixer live in a hwvol_* namespace.
- When changing the mixer device via the hwvol_mixer sysctl, reset the
muted state so that a mute operation on a new device won't try to
unmute the new device with the old device's saved volume.
- When the volume is muted, if a down or up volume request is received,
first restore the saved volume level and then adjust it.
Reviewed by: cg
Notes:
svn path=/head/; revision=70944
|
| |
|
|
|
|
|
| |
expanding it for _hw_snd.
Notes:
svn path=/head/; revision=70943
|
| |
|
|
|
|
|
|
|
|
|
|
| |
cause the watchdog to (incorrectly) detect the interface state
going from down to up one second after lmc_ifup() was called,
causing lmc_ifup() to be called again, and resetting everything.
Fix by checking the interface state within lmc_ifup().
Submitted by: Darren Croke <djc@packetdesign.com>
Notes:
svn path=/head/; revision=70910
|
| |
|
|
|
|
|
| |
Prodded by: iedowse
Notes:
svn path=/head/; revision=70905
|
| |
|
|
|
|
|
|
|
| |
Add support for different blank/erase types.
Update headers.
Notes:
svn path=/head/; revision=70901
|
| |
|
|
|
|
|
| |
Reported and patch tested by: Peter Dufault <dufault@hda.hda.com>
Notes:
svn path=/head/; revision=70897
|
| |
|
|
|
|
|
|
|
| |
themselves correctly).
Submitted by: ps
Notes:
svn path=/head/; revision=70875
|
| |
|
|
|
|
|
|
|
|
|
| |
Rename INITIAL_LOCKS to PLEX_LOCKS, since it now stays a constant.
struct plex:
Add a mutex lockmtx.
Remove alloclocks.
Notes:
svn path=/head/; revision=70868
|
| |
|
|
|
|
|
|
|
|
|
|
| |
happen any more.
abortrequest: don't bufdone the user bp on error, let vinumstart() do
it.
Based on analysis by: tegge
Notes:
svn path=/head/; revision=70867
|
| |
|
|
|
|
|
| |
Based on analysis by: tegge
Notes:
svn path=/head/; revision=70866
|
| |
|
|
|
|
|
|
|
|
|
|
|
|
|
|
| |
Rewrite lockrange and unlockrange. The lock table is now a fixed
size, so there is no possibility for race conditions when expanding.
The current size (256 locked ranges) should be large enough that it
makes no sense to expand it. To do expansion right would require
quiescing the plex (requiring at least 256 I/O completions), and the
performance implications are horrendous.
Add a mutex per plex for accessing the lock table.
Based on analysis by: tegge
Notes:
svn path=/head/; revision=70865
|
| |
|
|
|
|
|
| |
Pointed out by: tegge
Notes:
svn path=/head/; revision=70864
|
| |
|
|
|
|
|
|
|
|
|
| |
This should eliminate one case of foot shooting .
vinum_scandisk: If a drive in the partition table is downed, free it.
This duplicates code for the compatibility partition, which for some
reason was omitted here.
Notes:
svn path=/head/; revision=70863
|
| |
|
|
|
|
|
|
|
| |
remove_plex_entry: Destroy mutex for parity plexes.
Part of rewrite of RAID-[45] locking code.
Notes:
svn path=/head/; revision=70862
|
| |
|
|
|
|
|
| |
other then curproc.
Notes:
svn path=/head/; revision=70861
|
| |
|
|
|
|
|
|
|
| |
firmware for selected revisions of the controller.
Spotted by: Alexander Hausner <alex@hugo.bmg.gv.at>
Notes:
svn path=/head/; revision=70845
|
| |
|
|
| |
Notes:
svn path=/head/; revision=70834
|
| |
|
|
| |
Notes:
svn path=/head/; revision=70828
|
| |
|
|
| |
Notes:
svn path=/head/; revision=70827
|
| |
|
|
| |
Notes:
svn path=/head/; revision=70825
|
| |
|
|
|
|
|
|
| |
that are pertinetnt for state flags on Qlogic 2X00 status completion
entries.
Notes:
svn path=/head/; revision=70824
|
| |
|
|
|
|
|
| |
out the mailbox command opcode if the command times out.
Notes:
svn path=/head/; revision=70823
|
| |
|
|
|
|
|
| |
ISPASYNC_NOTIFY_CHANGE now is for both local loop && fabric changes.
Notes:
svn path=/head/; revision=70822
|
| |
|
|
|
|
|
|
|
|
|
| |
that require us to register our FC4 types of interest. Allow ourselves, in
F-port topologies, to start logging in fabric devices in the target 0..125
range. Change ISPASYNC_PDB_CHANGED (misnamed) to ISPASYNC_LOGGED_INOUT.
Fix (*SMACK*) again some default WWN stuff. This is *really* hard to get
right across all the range of platforms.
Notes:
svn path=/head/; revision=70821
|
| |
|
|
| |
Notes:
svn path=/head/; revision=70820
|
| |
|
|
|
|
|
| |
specific.
Notes:
svn path=/head/; revision=70808
|
| |
|
|
|
|
|
|
|
|
|
| |
hscbs may be traded during error recovery due to the way
we manage the qinfifo. This has the effect of changing the
index to the sense buffer even though the request sense command
references the original buffer. SCBs don't play this swapping
game and so serve as a more consistent reference.
Notes:
svn path=/head/; revision=70807
|
| |
|
|
|
|
|
| |
color it should have...
Notes:
svn path=/head/; revision=70802
|
| |
|
|
|
|
|
|
|
|
|
|
|
|
|
| |
- add a dma hack similar to the NetBSD one
- change PDQ_OS_MEM{RD,WR} to use readl/writel rather than deref'ing
a 32 bit va.
Note that I did just enough to get this working on alpha. I probably
should have updated it to use busspace, but I was too lazy to navigate
the twisty minefield of ifdefs that make up this driver.
Tested by: wilko (on both x86 and alpha)
Notes:
svn path=/head/; revision=70801
|
| |
|
|
|
|
|
|
|
| |
This is mostly cosmetic changes, (though I caught a bug or two while
makeing them)
Reviewed by: archie@freebsd.org
Notes:
svn path=/head/; revision=70784
|
| |
|
|
| |
Notes:
svn path=/head/; revision=70783
|
| |
|
|
|
|
|
|
| |
the same config lines that NetBSD has. This builds with both NEWCARD
and GENERIC config files.
Notes:
svn path=/head/; revision=70782
|
| |
|
|
|
|
|
|
|
|
|
|
| |
Add the entry for the Yano U640MO-03 MO drive. (ifdef-0-ed out for now)
Fix a hack were an original buffer was modified instead of copied
(cmd[] -> (*rcmd)[])
Submitted by: Iwasa Kazmi <kzmi@ca2.so-net.ne.jp>
Notes:
svn path=/head/; revision=70779
|
| |
|
|
|
|
|
| |
unmodified for ATAPI type devices.
Notes:
svn path=/head/; revision=70778
|
| |
|
|
|
|
|
| |
Submitted by: Iwasa Kazmi <kzmi@ca2.so-net.ne.jp>
Notes:
svn path=/head/; revision=70777
|
| |
|
|
|
|
|
|
|
|
|
|
|
|
|
| |
instead of the requested length. Otherwise all transfers look like 0 byte
transfers to CAM.
Submitted by: Iwasa Kazmi <kzmi@ca2.so-net.ne.jp>
2) Finalise the command in the case of CBI transfers with CCI (command
completion interrupt).
3) Remove a redundant bzero of a buffer.
Notes:
svn path=/head/; revision=70775
|
| |
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
| |
The pccard_function_init() call creates a bunch of inactive resources
that are persistant and configured on demand. When the child driver
"allocates" a resource it is connected up to one of these. When the
child releases the resource, we should not delete our copy, just
deactivate it again. Otherwise there is nothing to recreate it again
after several probe functions have run and done an alloc/release cycle.
INVARIANTS shows 0xdeadc0de without this.
More work is needed to do a sweep though the pccard_function_disable()
call to actually delete the resources for real. Right now, we leak
memory on eject (at best), so Dont Do That(TM) yet. This affects
16 bit pccards on a cardbus bridge only. This will be fixed soon, but
for now it gets the cards working.
Reviewed by: imp
Notes:
svn path=/head/; revision=70766
|