Re: [PATCH 3/7] au1xmmc: remove db1x00 board-specific functions from driver

Previous message: [thread] [date] [author]
Next message: [thread] [date] [author]
From: Manuel Lauss
Date: Wednesday, May 14, 2008 - 1:37 am

Hello Sergei,


Okay...



Okay...



Gone (leftovers from debugging MMC and other non-working cards)



Good point, I'll add named constants for other values as well.



It did-- but since I was just shuffling code around I was hesitant to do
these changes as well in this particular patch (the i2c maintainer for
instance wants functional and cosmetic changes in separate patches;
and every maintainer has different preferences, so I left those lines
untouched to not add additional noise).



Yes you're right (but this line never triggered while testing so it's
harmless).



I like the renamed function, but again, I was just shuffling code around
(more or less) so I didn't touch the name(s).
For the time being, I'll leave it as-is, and if someday Au1100 DMA is added
the functions can be renamed or beautified with tons of ifdefs.
What do you think?



Okay...



Based on HOST_F_ACTIVE the driver determines if it is possible that there's
a card in the socket.  Again, I just did code shuffling here. 



Okay...



Okay...



Are global vars initialized to zero on module load?  Then it can go away of
course.



Too much to type for my taste, but okay, changed.



The db1200 board stuff references the ->id member to determine which BCSR
bits it should pay attention to.  It can go into the driver code if you are
okay with adding platform data for every one of both SD controllers on the
PB1200 (which means lots of duplicated code which only differs in BCSR
constants).  I'm okay with eiher solution, which do you prefer?



Thanks for having a look!
	Manuel Lauss
--
Previous message: [thread] [date] [author]
Next message: [thread] [date] [author]

Messages in current thread:
[PATCH 0/7] au1xmmc updates, #2, Manuel Lauss, (Thu May 8, 1:00 am)
[PATCH 5/7] au1xmmc: 4 bit transfer mode, Manuel Lauss, (Thu May 8, 1:04 am)
[PATCH 6/7] au1xmmc: wire up SDIO interrupt, Manuel Lauss, (Thu May 8, 1:04 am)
[PATCH 7/7] au1xmmc: codingstyle tidying, Manuel Lauss, (Thu May 8, 1:05 am)
Re: [PATCH 3/7] au1xmmc: remove db1x00 board-specific func ..., Manuel Lauss, (Wed May 14, 1:37 am)