aboutsummaryrefslogtreecommitdiffstats
path: root/drivers/scsi
diff options
context:
space:
mode:
authorMaciej Trela <maciej.trela@intel.com>2012-03-12 19:29:30 -0400
committerDan Williams <dan.j.williams@intel.com>2012-05-17 15:27:28 -0400
commit08e73be56b6b2e5459638481a54b755ed562ada8 (patch)
treef3ebe335019d247222b6b404177669d3d583814e /drivers/scsi
parent6119908f0fe3737bba2f64eff70599c3e41d522e (diff)
isci: enable BCN in sci_port_add_phy()
Ensure we enable receiving BCN's from the hardware when adding phy to isci_port. Otherwise if we get BCN before the port is created we won't see any BCN Signed-off-by: Maciej Trela <maciej.trela@intel.com> Reported-by: Richard Boyd <richard.g.boyd@intel.com> Signed-off-by: Dan Williams <dan.j.williams@intel.com>
Diffstat (limited to 'drivers/scsi')
-rw-r--r--drivers/scsi/isci/port.c2
1 files changed, 2 insertions, 0 deletions
diff --git a/drivers/scsi/isci/port.c b/drivers/scsi/isci/port.c
index 6ef4bd910f33..0a3aec118097 100644
--- a/drivers/scsi/isci/port.c
+++ b/drivers/scsi/isci/port.c
@@ -1199,6 +1199,8 @@ enum sci_status sci_port_add_phy(struct isci_port *iport,
1199 enum sci_status status; 1199 enum sci_status status;
1200 enum sci_port_states state; 1200 enum sci_port_states state;
1201 1201
1202 sci_port_bcn_enable(iport);
1203
1202 state = iport->sm.current_state_id; 1204 state = iport->sm.current_state_id;
1203 switch (state) { 1205 switch (state) {
1204 case SCI_PORT_STOPPED: { 1206 case SCI_PORT_STOPPED: {