Skip to contentSkip to conversation

libata: allocate ap separately from shost

PATCH Jeff Garzik 1 participant 1 message Apr 17, 2007 1 message not in the archive libata

lore
Share & tools
lore

A message that is not in the archive (sent off-list or not yet received): [email protected]

Jeff Garzik

author Applied
#1 lore raw
Quoted 9 lines · Tejun Heo

Don't embed ap inside shost. Allocate it separately and point it back from shosts's hostdata. This makes port allocation more flexible and allows regular ATA and SAS share host alloc/init paths.

---
 drivers/ata/libata-core.c |   19 ++++++++++++++-----
 include/linux/libata.h    |    2 +-
 2 files changed, 15 insertions(+), 6 deletions(-)

applied patches 1-12 to #upstream.

Yay, libata init model is finally clean!

Thanks,

Jeff