repo.or.cz
/
dragonfly.git
/
search
commit
grep
author
committer
pickaxe
?
search:
re
summary
|
log
|
graphiclog1
|
graphiclog2
|
commit
|
commitdiff
|
tree
|
refs
|
edit
|
fork
first
·
prev
·
next
Guard against divide-by-zero.
2007-12-02
P
e
ter
A
valos
Guard against d
i
v
i
de-by-zer
o
.
commit
|
commitdiff
|
tree
2007-12-02
Peter
Avalos
CAM
_
N
EW
_
TRAN_CODE
placeho
l
ders for
S
A
S su
p
p
o
rt
.
commit
|
commitdiff
|
tree
2007-12-02
Pe
t
e
r
Av
a
los
Make sur
e
ioctl
d
oesn't get s
w
allowed (fit in 8 bits)
.
commit
|
commitdiff
|
tree
2007-12-02
Pete
r
Avalos
Incorporate
the O_NON
B
L
OCK op
e
n sem
a
ntics
o
f Linux
.
.
.
commit
|
commitdiff
|
tree
2007-12-02
P
et
e
r
A
v
a
los
W
h
en deregistering a
b
u
s
, a
t
t
e
mpt to flush o
u
t all
.
.
.
commit
|
commitdiff
|
tree
2007-12-01
Peter Avalos
T
her
e
sh
o
uld be no
need t
o
ret
r
y when the CCB s
t
atus
.
.
.
commit
|
commitdiff
|
tree
2007-12-01
Peter Avalos
M
ake the exp
l
o
ri
n
g
o
f a
l
l luns suppo
r
t
ed by an HBA
.
.
.
commit
|
commitdiff
|
tree
2007-12-01
Peter
Avalos
Fin
e
-grain
e
d
malloc s
t
atistic
s
- replace some M_DEVBUF
.
.
.
commit
|
commitdiff
|
tree
2007-11-29
Pet
e
r Avalos
Fixing a memory le
a
k
in
x
pt_release_device()
.
commit
|
commitdiff
|
tree
2007-11-29
Peter Avalos
Do not
initia
l
i
ze path var
i
able with usele
s
s value
.
.
.
commit
|
commitdiff
|
tree
2007-11-29
Peter
A
val
o
s
M
a
ke sure we look at the correct sub
op codes when
commit
|
commitdiff
|
tree
2007-11-29
Pet
e
r Avalos
Pr
o
t
e
c
t
ag
a
inst divi
d
i
n
g b
y
zer
o
.
commit
|
commitdiff
|
tree
2007-11-29
Peter Avalo
s
avoid use a
f
t
e
r free
commit
|
commitdiff
|
tree
2007-11-29
P
e
ter Avalos
avoid
u
se after f
r
ee
commit
|
commitdiff
|
tree
2007-11-29
Pe
t
er Avalos
Fix a problem with the
c
d
(
4
)
driver
-- the CAM
G
ETPASST
H
RU
.
.
.
commit
|
commitdiff
|
tree
2007-11-29
Peter Avalos
Add "report onl
y
" function
a
lity to '
c
amcon
t
rol format
.
.
.
commit
|
commitdiff
|
tree
2007-11-29
Peter
Ava
l
o
s
Fix
a
place
w
here
w
e
w
ere referencin
g
a pointer after
.
.
.
commit
|
commitdiff
|
tree
2007-11-29
P
e
t
er Avalos
Restore queue depth
settings across tag disab
l
e events
.
.
.
commit
|
commitdiff
|
tree
2007-11-28
Pete
r
A
v
a
l
os
Try to automatically scan an
d
att
a
ch luns
f
or modern
.
.
.
commit
|
commitdiff
|
tree
2007-11-28
Peter Ava
l
os
Again,
u
se offsetof() instead of a const
a
nt to en
h
ance
.
.
.
commit
|
commitdiff
|
tree
2007-11-28
Peter
Avalo
s
Use offseto
f
() instead of a hard-cod
e
d constant
for
.
.
.
commit
|
commitdiff
|
tree
2007-11-28
Peter Aval
o
s
Add necess
a
ry data struc
t
ures and defin
i
tions for the
.
.
.
commit
|
commitdiff
|
tree
2007-11-28
P
e
ter Avalos
R
emove the camnet swi and CA
M
_PERIPH_NET
.
It h
a
s never
.
.
.
commit
|
commitdiff
|
tree
2007-11-28
Peter
Avalos
Fix typo in commen
t
.
commit
|
commitdiff
|
tree
2007-11-28
Peter A
v
alos
When
p
rinting out a
n
u
n
k
n
own sense code
w
e should print
.
.
.
commit
|
commitdiff
|
tree
2007-11-28
Peter
Av
a
los
Sync er
r
or me
s
sa
g
e
s w/ FreeBSD
.
commit
|
commitdiff
|
tree
2007-11-28
Pet
e
r Av
a
l
os
Ma
k
e the module return EOP
N
O
T
S
UPP f
o
r unkno
w
n e
v
ents
.
commit
|
commitdiff
|
tree
2007-11-28
P
eter Avalos
Whites
p
ace to make comme
n
ts more
legible
.
commit
|
commitdiff
|
tree
2007-11-28
Peter
A
val
o
s
bzero th
e
C
C
B
head
e
r in getdevtree() and set the path
.
.
.
commit
|
commitdiff
|
tree
2007-11-28
Pe
t
er Avalos
Compare the *n
u
mber*
o
f patte
r
ns to zero,
n
ot th
e
poi
n
ter
.
.
.
commit
|
commitdiff
|
tree
2007-11-28
Peter A
v
alos
Spelling fix in comment
.
commit
|
commitdiff
|
tree
2007-11-28
Pe
t
er
Aval
o
s
SS_FATAL|ENXIO
rather tha
n
SS_RDEF for ill
e
gal track
.
.
.
commit
|
commitdiff
|
tree
2007-11-26
Peter Avalos
Don't
be so cha
t
ty when performing manual sense
.
commit
|
commitdiff
|
tree
2007-11-26
Peter Avalo
s
In c
a
mperiphdone(), make
s
ure we check for fatal errors
.
.
.
commit
|
commitdiff
|
tree
2007-11-26
Pe
t
er Avalo
s
(camperiphdone):
W
hen the cam_p
e
r
i
p
h
lay
e
r performs
.
.
.
commit
|
commitdiff
|
tree
2007-11-26
Peter Avalo
s
Onl
y
s
e
t
single i
n
i
ti
a
tor buffe
r
ed mode if
w
e've
rec
o
rded
.
.
.
commit
|
commitdiff
|
tree
2007-11-25
Peter
A
valos
M
i
nor d
e
bug output changes
.
commit
|
commitdiff
|
tree
2007-11-25
Peter
A
va
l
os
Remo
v
e unused
variables
.
commit
|
commitdiff
|
tree
2007-11-25
Pe
t
er Avalos
Remove unuse
d
v
ariable
.
commit
|
commitdiff
|
tree
2007-11-25
Peter
A
val
o
s
Use symbolic con
s
ta
n
ts
i
n
stead of "4"
.
commit
|
commitdiff
|
tree
2007-11-25
Peter Avalos
D
on't
u
s
e return(foo(
.
.
.
))
;
in a functi
o
n r
e
turning
.
.
.
commit
|
commitdiff
|
tree
2007-11-25
Pete
r
Ava
l
os
Remove unused ioctl routine
.
commit
|
commitdiff
|
tree
2007-11-25
Pe
t
er A
v
alo
s
M
e
rge from vendor bran
c
h LESS:
commit
|
commitdiff
|
tree
2007-11-25
P
e
ter Ava
l
os
Import l
e
ss
-
4
16
:
commit
|
commitdiff
|
tree
2007-11-25
Peter Avalos
Don't use
t
he devstat->busy_coun
t
for state
deci
s
ions
.
.
.
commit
|
commitdiff
|
tree
2007-11-25
P
e
ter Av
a
los
Fi
x
typo
.
commit
|
commitdiff
|
tree
2007-11-25
Pete
r
Avalos
panic
(
)
sh
o
uld
n
't have
a
\n
.
commit
|
commitdiff
|
tree
2007-11-25
Peter A
v
a
los
panic() shouldn't have
a \n
.
commit
|
commitdiff
|
tree
2007-11-25
Pe
t
er A
v
a
los
Use
pa
r
ens for
arguments i
n
macro
.
commit
|
commitdiff
|
tree
2007-11-24
P
e
t
er
A
valos
B
e
consiste
n
t about "static" funct
i
ons: if
t
he
f
u
n
ct
i
on
.
.
.
commit
|
commitdiff
|
tree
2007-11-24
Peter
Avalos
A SCS
I
_DEL
A
Y of z
e
ro is a legitimate value
t
o have
.
.
.
commit
|
commitdiff
|
tree
2007-11-24
P
eter Ava
l
os
Don't call dk
p
art() just to print th
e
result, it is
.
.
.
commit
|
commitdiff
|
tree
2007-11-24
Pe
t
e
r
Avalos
Document camcontrol
l
oad
.
commit
|
commitdiff
|
tree
2007-11-24
Peter Av
a
los
M
ake SCSI_DELAY setable at boot ti
m
e and
r
u
n
t
ime via the
commit
|
commitdiff
|
tree
2007-11-24
Pe
t
e
r Av
a
los
A
dd some \n's to kprintf()s
.
commit
|
commitdiff
|
tree
2007-11-24
Peter Avalos
If we boot verbose, t
h
en pr
i
nt out 'interesting' CAM
.
.
.
commit
|
commitdiff
|
tree
2007-11-24
Peter Avalos
Add
R
EPORT LUNS b
a
sic infrastructure
.
commit
|
commitdiff
|
tree
2007-11-24
P
e
t
e
r
Avalos
Do not +1
w
ith
M
AXPATHLEN
.
commit
|
commitdiff
|
tree
2007-11-24
Peter Avalos
Remove un
u
sed v
a
r
i
able
.
commit
|
commitdiff
|
tree
2007-11-24
Peter A
v
a
los
Rem
o
v
e extra sem
i
col
o
n
.
commit
|
commitdiff
|
tree
2007-11-24
P
e
ter
A
valos
R
e
m
o
ve com
m
ent that doesn't seem to apply any
mor
e
.
commit
|
commitdiff
|
tree
2007-11-24
Peter Avalos
S
taticise a debugging variable
.
commit
|
commitdiff
|
tree
2007-11-24
Pet
e
r A
v
a
l
os
Cons
t
'ify the C
D
B format
s
tring pa
s
sed to the CDB parsing
.
.
.
commit
|
commitdiff
|
tree
2007-11-24
P
e
ter Avalos
Fi
x
b
r
eakage in 'camcon
t
rol
defects' introduce
d
in
.
.
.
commit
|
commitdiff
|
tree
2007-11-24
Pet
e
r
Avalos
Be very generous wi
t
h timeouts fo
r
synchronize
c
ache
.
.
.
commit
|
commitdiff
|
tree
2007-11-22
Peter Ava
l
o
s
Fix bug
i
n scsi_read_
w
rite() whe
r
e
i
t m
i
ght use 6-byt
e
.
.
.
commit
|
commitdiff
|
tree
2007-11-22
P
ete
r
Avalos
F
ix typo
in
c
omment
.
commit
|
commitdiff
|
tree
2007-11-22
P
e
t
er Aval
o
s
Add interfaces for SCSI LOG
S
ELEC
T
and
L
OG
S
ENS
E
comma
n
d
s
.
commit
|
commitdiff
|
tree
2007-11-22
Peter
A
val
o
s
Mark some
f
unctions as __pr
i
ntf
l
ike()
.
commit
|
commitdiff
|
tree
2007-11-22
Peter Aval
o
s
K
ill
t
h
e
com
m
and
(d
o
n't rer
u
n it) i
f
we had an AUTOSENSE
.
.
.
commit
|
commitdiff
|
tree
2007-11-21
Pet
e
r A
v
alos
Propagate CAM_
D
IS_
D
ISC
O
N
NE
C
T o
n
throu
g
h:
commit
|
commitdiff
|
tree
2007-11-21
Pete
r
Avalos
Check the
v
o
i
d * argu
m
ent in
the AC_FOUND_DEV case
.
.
.
commit
|
commitdiff
|
tree
2007-11-21
P
e
t
e
r
Avalos
Cleanup some of the XPORT_
F
C code (
m
os
t
ly white
s
pace)
commit
|
commitdiff
|
tree
2007-11-21
Peter Avalos
Add a
transpor
t
settings va
r
i
ant fo
r
F
i
b
re Channe
l
.
commit
|
commitdiff
|
tree
2007-11-20
Peter Avalos
FC path i
n
q
uiry setti
n
gs
.
commit
|
commitdiff
|
tree
2007-11-19
Peter
A
valos
FC pat
h
i
nqu
i
ry set
t
i
n
g
s
.
commit
|
commitdiff
|
tree
2007-11-19
Peter
Avalos
Print out the
asc/ascq an
d
des
c
r
ipti
o
n even when bo
t
h
.
.
.
commit
|
commitdiff
|
tree
2007-11-18
Peter A
v
alos
A
d
d quirk
f
o
r SONY SMO drive
.
This (pr
e
SCSI-2) drive
.
.
.
commit
|
commitdiff
|
tree
2007-11-18
Peter
A
valos
Fix
u
p unit attention and se
l
ect
i
on timeo
u
t
handling
.
commit
|
commitdiff
|
tree
2007-11-18
Peter
Ava
l
os
Add sense key t
a
ble entries
f
or DATA PROT
E
CT and BLA
N
K
.
.
.
commit
|
commitdiff
|
tree
2007-11-18
Peter
Avalos
In
c
amp
e
riph
s
csise
n
seerror(), don't return an error
.
.
.
commit
|
commitdiff
|
tree
2007-11-18
Pe
t
er Ava
l
os
F
i
x ty
p
o
.
SS_
S
T
A
R
T is quite di
f
fere
n
t than SSS_
S
TART
.
commit
|
commitdiff
|
tree
2007-11-18
Peter Avalos
If we have an error and are booting verbosely,
don
.
.
.
commit
|
commitdiff
|
tree
2007-11-18
Peter Avalos
Fix typo
.
commit
|
commitdiff
|
tree
2007-11-18
Pete
r
Ava
l
os
Rewrite of
the CAM error re
c
overy code
.
commit
|
commitdiff
|
tree
2007-11-17
Peter Avalos
F
i
x inqu
i
ry
l
ength
d
e
t
ectio
n
for
the ses(4) driver
.
commit
|
commitdiff
|
tree
2007-11-17
Peter Avalos
Don't u
s
e /de
v
/
r
XXX name
s
.
commit
|
commitdiff
|
tree
2007-11-17
P
e
t
er Avalos
Cha
n
ge t
h
e periphera
l
driver list from a lin
k
er
s
et
.
.
.
commit
|
commitdiff
|
tree
2007-11-16
P
e
ter Avalos
Update for less-415
.
commit
|
commitdiff
|
tree
2007-11-16
Pet
e
r Ava
l
os
Import
l
ess-415:
commit
|
commitdiff
|
tree
2007-11-16
Pe
t
er A
v
a
lo
s
Merge from vendo
r
bra
n
ch LESS:
commit
|
commitdiff
|
tree
2007-11-14
Peter Avalos
Switch to sys/qu
e
ue
.
h
macros
.
commit
|
commitdiff
|
tree
2007-11-13
Peter Avalo
s
Remove unneeded i
n
c
l
udes
.
commit
|
commitdiff
|
tree
2007-11-12
Pete
r
Avalos
Remove dup
l
icate sys/proc
.
h
.
commit
|
commitdiff
|
tree
2007-11-12
Peter Ava
l
os
Av
o
id resource_
l
ocate()
.
commit
|
commitdiff
|
tree
2007-11-12
Peter Ava
l
o
s
Remove unneeded inclu
d
es
.
commit
|
commitdiff
|
tree
2007-11-12
Pe
t
er Avalos
Build CA
M
as a
module
.
commit
|
commitdiff
|
tree
2007-11-11
Peter Avalos
War
n
s cleanup
.
commit
|
commitdiff
|
tree
2007-11-11
Pete
r
Av
a
los
cdevs
w
-> dev_ops
.
commit
|
commitdiff
|
tree
2007-11-11
Pe
t
er Av
a
los
D
o
n
't
i
nclud
e
<sy
s
/buf
.
h>
t
wic
e
.
commit
|
commitdiff
|
tree
next