« Previous | Next » 

Revision 76b523db

ID76b523db0074aaf489cb80ccd0943b69ea67e30b

Added by Hannes Reinecke over 11 years ago

megasas: static SAS addresses

This patch introduces a new property 'sas_address' which
allows the user to specify the SAS address for the HBA.
The default address is following the NAA locally assigned
identifier format with the locally assigned address
0x525400 as used eg for the MAC addresses.
The lower bytes are set to the pci address which
will ensure uniqueness for the local machine.

The port addresses are now calculated based on the magic
number 0x1221 (which is found in real hardware, too) plus
the device number.

Signed-off-by: Hannes Reinecke <>
Cc: Paolo Bonzini <>
Cc: Andreas Faerber <>
Cc: Anthony Liguori <>
Cc: Alexander Graf <>
Signed-off-by: Paolo Bonzini <>

Files

  • added
  • modified
  • copied
  • renamed
  • deleted

View differences