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
Peter Avalos
Guard against di
v
ide-by-zer
o
.
commit
|
commitdiff
|
tree
2007-12-02
P
e
ter A
v
alos
CA
M
_NE
W
_TRAN_C
O
DE pla
c
eholders
for SAS su
p
port
.
commit
|
commitdiff
|
tree
2007-12-02
Peter Avalos
Make
sure ioc
t
l
d
oe
s
n't get swallowed (fit
i
n 8 bi
t
s)
.
commit
|
commitdiff
|
tree
2007-12-02
Peter Aval
o
s
Incorporate the O_NO
N
BLOCK open semanti
c
s of Linux
.
.
.
commit
|
commitdiff
|
tree
2007-12-02
P
e
ter Avalos
When
deregist
e
ring a bus, attemp
t
t
o
flush o
u
t all
.
.
.
commit
|
commitdiff
|
tree
2007-12-01
Pe
t
er Avalo
s
There should be n
o
need to re
t
ry when
t
he CCB status
.
.
.
commit
|
commitdiff
|
tree
2007-12-01
Peter Ava
l
os
Make the exp
l
oring
of all luns
s
u
p
p
orted by an HBA
.
.
.
commit
|
commitdiff
|
tree
2007-12-01
Peter Avalos
Fine-grained malloc statistics
-
r
eplace som
e
M_DEVBU
F
.
.
.
commit
|
commitdiff
|
tree
2007-11-29
P
e
te
r
A
v
a
l
o
s
F
i
xing a
m
e
mory lea
k
in xpt
_
rel
e
ase
_
devic
e
()
.
commit
|
commitdiff
|
tree
2007-11-29
Peter Avalos
Do not initialize path
v
ariable
with use
l
e
s
s valu
e
.
.
.
commit
|
commitdiff
|
tree
2007-11-29
Peter
A
valos
Ma
k
e sure we look
at
t
he correct s
u
b op c
o
des wh
e
n
commit
|
commitdiff
|
tree
2007-11-29
Peter Avalos
P
rot
e
ct against dividing by zero
.
commit
|
commitdiff
|
tree
2007-11-29
P
eter Avalos
avoid use after free
commit
|
commitdiff
|
tree
2007-11-29
Peter Av
a
los
a
v
oid use afte
r
free
commit
|
commitdiff
|
tree
2007-11-29
Pe
t
er Avalo
s
Fix a problem with the cd(4) driver -- the C
A
MGETPA
S
STHRU
.
.
.
commit
|
commitdiff
|
tree
2007-11-29
Peter Ava
l
o
s
Add "repo
r
t only" f
u
nctionality to 'c
a
mcontrol format
.
.
.
commit
|
commitdiff
|
tree
2007-11-29
P
ete
r
Avalos
Fix a
p
lace where we were
r
e
f
erencing a
p
ointer after
.
.
.
commit
|
commitdiff
|
tree
2007-11-29
P
eter Avalos
R
e
store qu
e
ue
d
epth settin
g
s
acro
s
s tag
d
is
a
ble events
.
.
.
commit
|
commitdiff
|
tree
2007-11-28
Peter Avalos
Try t
o
a
utom
a
tically sc
a
n and attach luns for modern
.
.
.
commit
|
commitdiff
|
tree
2007-11-28
Peter Avalos
Ag
a
in, use offsetof() instea
d
o
f
a constant to enhance
.
.
.
commit
|
commitdiff
|
tree
2007-11-28
Peter Avalos
Use offsetof() i
n
s
tead of a hard-coded constant for
.
.
.
commit
|
commitdiff
|
tree
2007-11-28
Peter Ava
l
os
Add necess
a
ry data structur
e
s
a
nd d
e
fini
t
ions for
the
.
.
.
commit
|
commitdiff
|
tree
2007-11-28
Peter Avalos
Rem
o
v
e
the camnet
swi and CAM_PERIPH_NET
.
It has
n
ever
.
.
.
commit
|
commitdiff
|
tree
2007-11-28
Peter Avalos
Fi
x
typo
i
n co
m
ment
.
commit
|
commitdiff
|
tree
2007-11-28
P
e
ter
Av
a
los
When pri
n
t
ing out an u
n
kn
o
wn sens
e
code we should p
r
int
.
.
.
commit
|
commitdiff
|
tree
2007-11-28
Peter Ava
l
os
Sy
n
c
error messa
g
es w/ FreeB
S
D
.
commit
|
commitdiff
|
tree
2007-11-28
P
eter Avalos
Make the module return EOPNOTS
U
P
P
f
o
r unknown events
.
commit
|
commitdiff
|
tree
2007-11-28
Pe
t
er Aval
o
s
W
hitespace to make
c
omments more legib
l
e
.
commit
|
commitdiff
|
tree
2007-11-28
Pet
e
r Av
a
l
os
b
z
ero the
C
CB hea
d
e
r
in get
d
evtr
e
e
()
a
nd set th
e
path
.
.
.
commit
|
commitdiff
|
tree
2007-11-28
P
eter Av
a
los
Comp
a
re the *n
u
mber* of
p
atterns to z
e
r
o
, not the
p
o
i
n
te
r
.
.
.
commit
|
commitdiff
|
tree
2007-11-28
P
e
ter Ava
l
o
s
Spelli
n
g fix in comment
.
commit
|
commitdiff
|
tree
2007-11-28
Peter Av
a
los
SS_FATAL|ENXIO
rath
e
r than
S
S_RDEF
fo
r
illeg
a
l
t
r
ack
.
.
.
commit
|
commitdiff
|
tree
2007-11-26
Peter Avalo
s
Don'
t
be so chatty
when
p
erforming manual sense
.
commit
|
commitdiff
|
tree
2007-11-26
Peter Avalos
In
c
ampe
r
iphdone(), make
s
ure we check for f
a
tal
e
rrors
.
.
.
commit
|
commitdiff
|
tree
2007-11-26
P
eter Avalos
(campe
r
iphdon
e
):
W
hen the cam_periph layer performs
.
.
.
commit
|
commitdiff
|
tree
2007-11-26
Peter
A
valos
Only set s
i
ngle initiator
buff
e
red mode if we'
v
e
r
ecorded
.
.
.
commit
|
commitdiff
|
tree
2007-11-25
Pe
t
er Avalos
M
i
no
r
debug out
p
ut changes
.
commit
|
commitdiff
|
tree
2007-11-25
Peter Ava
l
o
s
Rem
o
ve unused
v
a
riab
l
es
.
commit
|
commitdiff
|
tree
2007-11-25
Peter
A
val
o
s
Remove
unuse
d
va
r
i
abl
e
.
commit
|
commitdiff
|
tree
2007-11-25
Peter Avalos
U
s
e symboli
c
c
o
nstants i
n
s
t
ead o
f
"4"
.
commit
|
commitdiff
|
tree
2007-11-25
Peter A
v
alo
s
D
o
n
't
u
se return
(
foo(
.
.
.
)); in
a
function r
e
turni
n
g
.
.
.
commit
|
commitdiff
|
tree
2007-11-25
Peter
A
val
o
s
Remove unused ioctl rou
t
i
n
e
.
commit
|
commitdiff
|
tree
2007-11-25
Pet
e
r
Av
a
los
Merge
f
rom vendor
branch LESS:
commit
|
commitdiff
|
tree
2007-11-25
Peter Avalos
Import less-4
1
6:
commit
|
commitdiff
|
tree
2007-11-25
Peter Ava
l
os
Don't use the devstat-
>
busy_
c
ou
n
t fo
r
sta
t
e decisio
n
s
.
.
.
commit
|
commitdiff
|
tree
2007-11-25
P
eter
A
valos
Fix typo
.
commit
|
commitdiff
|
tree
2007-11-25
P
e
ter
A
v
alos
p
an
i
c() shou
l
d
n
'
t have
a
\n
.
commit
|
commitdiff
|
tree
2007-11-25
Pete
r
Avalos
pan
i
c() shoul
d
n't
h
a
ve a
\
n
.
commit
|
commitdiff
|
tree
2007-11-25
P
e
ter Avalos
Use pa
r
ens
f
or arguments in macro
.
commit
|
commitdiff
|
tree
2007-11-24
Peter Avalos
Be consis
t
e
nt about "st
a
tic" fu
n
ctio
n
s: if the functio
n
.
.
.
commit
|
commitdiff
|
tree
2007-11-24
Pe
t
er Aval
o
s
A SC
S
I_DE
L
A
Y of zero is
a
l
egitimate value to
h
ave
.
.
.
commit
|
commitdiff
|
tree
2007-11-24
Pe
t
er A
v
alo
s
Don't call dkpart(
)
just to p
r
int the re
s
ult, it is
.
.
.
commit
|
commitdiff
|
tree
2007-11-24
Pe
t
er Avalos
Do
c
u
ment camcontrol
lo
a
d
.
commit
|
commitdiff
|
tree
2007-11-24
Peter
Avalos
Make SCS
I
_D
E
L
AY setabl
e
at boot tim
e
and runtime via th
e
commit
|
commitdiff
|
tree
2007-11-24
Peter Avalos
A
d
d some \n's to kprintf()
s
.
commit
|
commitdiff
|
tree
2007-11-24
P
e
ter Avalos
I
f
we boot verbos
e
,
then pri
n
t out 'intere
s
ting'
C
A
M
.
.
.
commit
|
commitdiff
|
tree
2007-11-24
Peter Avalos
Add REPOR
T
LUNS basic infrastructure
.
commit
|
commitdiff
|
tree
2007-11-24
Peter Avalos
Do
n
ot
+1 wi
t
h MAX
P
ATHLEN
.
commit
|
commitdiff
|
tree
2007-11-24
Pe
t
er Avalos
R
e
move unused variable
.
commit
|
commitdiff
|
tree
2007-11-24
Pe
t
er Av
a
los
R
e
m
ove
ext
r
a semicolon
.
commit
|
commitdiff
|
tree
2007-11-24
Pet
e
r Avalos
Remove comm
e
nt
t
hat d
o
es
n
't se
e
m to apply any more
.
commit
|
commitdiff
|
tree
2007-11-24
P
eter Avalos
Statici
s
e a
d
ebuggi
n
g variable
.
commit
|
commitdiff
|
tree
2007-11-24
Peter Avalos
Const'ify the CDB
f
o
rmat string passed
t
o the
CD
B
p
a
rsi
n
g
.
.
.
commit
|
commitdiff
|
tree
2007-11-24
Peter Avalos
Fix bre
a
kage in 'cam
c
ontr
o
l defe
c
t
s'
i
n
troduced
in
.
.
.
commit
|
commitdiff
|
tree
2007-11-24
Pet
e
r Avalos
Be
ve
r
y
g
enerous with
t
i
m
eouts for synchron
i
ze ca
c
h
e
.
.
.
commit
|
commitdiff
|
tree
2007-11-22
Peter Aval
o
s
Fix bug in scsi_re
a
d_wri
t
e(
)
wher
e
it m
i
ght use 6-byte
.
.
.
commit
|
commitdiff
|
tree
2007-11-22
P
eter
Avalos
Fix
t
ypo in
comment
.
commit
|
commitdiff
|
tree
2007-11-22
P
ete
r
Avalos
Add inte
r
faces fo
r
SCSI LOG S
E
LECT and LOG SENSE
commands
.
commit
|
commitdiff
|
tree
2007-11-22
Pe
t
er Aval
o
s
Mark
s
ome functions
as __printflike()
.
commit
|
commitdiff
|
tree
2007-11-22
Peter Av
a
los
Kill the
c
omma
n
d
(
don'
t
rerun it) if we had an
A
U
T
OSENSE
.
.
.
commit
|
commitdiff
|
tree
2007-11-21
Peter Avalos
Propagate CAM_DIS_DIS
C
ONNE
C
T on through:
commit
|
commitdiff
|
tree
2007-11-21
Peter
A
valos
Check the v
o
i
d * argum
e
nt i
n
the
AC_FOUND_DEV
c
a
se
.
.
.
commit
|
commitdiff
|
tree
2007-11-21
Pete
r
Avalos
C
l
eanup some
o
f
t
h
e
X
PORT_FC code (mostly whitespace)
commit
|
commitdiff
|
tree
2007-11-21
Peter Avalos
Add
a tran
s
p
o
rt se
t
tings varian
t
for Fibre Channel
.
commit
|
commitdiff
|
tree
2007-11-20
Peter A
v
alos
FC
p
ath inquiry
s
ettings
.
commit
|
commitdiff
|
tree
2007-11-19
P
e
ter Avalos
F
C
p
a
t
h
i
nqui
r
y set
t
ings
.
commit
|
commitdiff
|
tree
2007-11-19
Peter
A
valos
Print out the
asc
/
as
c
q a
n
d d
e
scription even when
bo
t
h
.
.
.
commit
|
commitdiff
|
tree
2007-11-18
Peter Avalos
A
d
d q
u
irk for S
O
N
Y
S
MO drive
.
This
(
p
re SCS
I
-2
)
drive
.
.
.
commit
|
commitdiff
|
tree
2007-11-18
P
eter Avalos
Fix up
unit attention and selection
timeout h
a
ndling
.
commit
|
commitdiff
|
tree
2007-11-18
Peter Aval
o
s
Add sense key table entries for DATA PROTECT and BLANK
.
.
.
commit
|
commitdiff
|
tree
2007-11-18
Peter Avalos
In camperiphscsisen
s
eerror(), don't retur
n
an error
.
.
.
commit
|
commitdiff
|
tree
2007-11-18
Peter
A
valos
Fi
x
typo
.
SS_START is qu
i
te
different t
h
an
S
SS_START
.
commit
|
commitdiff
|
tree
2007-11-18
P
eter Av
a
lo
s
If we have an error a
n
d ar
e
b
o
oti
n
g ve
r
bos
e
l
y,
d
on
.
.
.
commit
|
commitdiff
|
tree
2007-11-18
Peter A
v
alos
Fix ty
p
o
.
commit
|
commitdiff
|
tree
2007-11-18
P
eter Av
a
los
Rewrite of the
C
AM error recovery co
d
e
.
commit
|
commitdiff
|
tree
2007-11-17
Peter Ava
l
o
s
Fix inquiry length
d
etecti
o
n for the ses
(
4) drive
r
.
commit
|
commitdiff
|
tree
2007-11-17
Peter Avalos
Don
'
t use
/dev/rXXX names
.
commit
|
commitdiff
|
tree
2007-11-17
Peter Avalos
C
hange the per
i
pheral driver l
i
st from
a
l
inker set
.
.
.
commit
|
commitdiff
|
tree
2007-11-16
P
e
ter Aval
o
s
Up
d
a
te
f
or less-415
.
commit
|
commitdiff
|
tree
2007-11-16
Peter Avalos
Import les
s
-
415
:
commit
|
commitdiff
|
tree
2007-11-16
Pe
t
er
Avalo
s
M
erge from vendor bra
n
ch LESS:
commit
|
commitdiff
|
tree
2007-11-14
Peter Avalos
S
witch t
o
sys/queue
.
h macros
.
commit
|
commitdiff
|
tree
2007-11-13
Peter Avalos
Remove
unneeded includes
.
commit
|
commitdiff
|
tree
2007-11-12
Peter Avalos
R
e
move duplicate sys/pr
o
c
.
h
.
commit
|
commitdiff
|
tree
2007-11-12
Peter Avalos
Avoid re
s
ou
r
ce_locate()
.
commit
|
commitdiff
|
tree
2007-11-12
P
eter Av
a
los
Remove
unneeded includes
.
commit
|
commitdiff
|
tree
2007-11-12
Peter Avalos
Build CA
M
as a m
o
dul
e
.
commit
|
commitdiff
|
tree
2007-11-11
Peter
A
v
alos
Warns cleanup
.
commit
|
commitdiff
|
tree
2007-11-11
Peter Avalos
cdevsw -
>
dev_op
s
.
commit
|
commitdiff
|
tree
2007-11-11
Peter Avalos
D
o
n
't incl
u
de <sys/buf
.
h> twi
c
e
.
commit
|
commitdiff
|
tree
next