Hi, Right now the S3C2443's AC97_ver2.0 controller driver isn't flexible enough to handle newer SoCs. In order to prepare ground for supporting 64xx and S5Pxxxx the extant driver needs to be reformed, and that is what i am planning to do next.
I plan to do the following:- 1) User platform_driver structure to detect and manage AC97 controller platform devices. 2) Remove hardcoded parameters(DMA, IO address, IRQ etc) and pass via platform resources. 3) Initialize platform specific stuff by callback pointers to platform code(cfg_gpio)
Objections, suggestions welcome.
------------------------------- Jaswinder Singh Brar Senior Engineer Linux OS Team Application Processor Development System LSI Division SAMSUNG Electronics Co., Ltd. --------------------------------