Skip to contentSkip to conversation

Grub support in DiskOnChip.

DISCUSSION David Woodhouse 3 participants 5 messages Sep 5, 2000 – Sep 7, 2000 Memory technology devices (MTD)

lore
Share & tools
lore
#1 lore raw

Naming of functions in 'mtdcore.c'

For the 'register_mtd_user' and 'unregister_mtd_user' functions would renaming them to something like 'add_mtd_notify_callbacks' and 'del_mtd_notify_callbacks' be more understandable? At a first read it would to me. Comments?

-Steve

Signature · 7 lines
 Steven J. Hill - Embedded SW Engineer
 Public Key: 'finger [email protected]'
 FPR1: E124 6E1C AF8E 7802 A815
 FPR2: 7D72 829C 3386 4C4A E17D


To unsubscribe, send "unsubscribe mtd" to [email protected]
#2 lore raw

Re: Naming of functions in 'mtdcore.c'

Quoted 4 lines · [email protected] said:

For the 'register_mtd_user' and 'unregister_mtd_user' functions would renaming them to something like 'add_mtd_notify_callbacks' and 'del_mtd_notify_callbacks' be more understandable? At a first read it would to me. Comments?

You may be right. I already changed it from {un,}register_mtd_notifier to what it is at the moment because I thought it made it clearer. But I'm not really the right person to judge.

Now it's in 2.4 like that, though, it may be best to leave it as-is.

--
dwmw2

To unsubscribe, send "unsubscribe mtd" to [email protected]

#3 lore raw
In reply to David Woodhouse

David Woodhouse writes ("Grub support in DiskOnChip."):

Quoted 2 lines

Grub patches to support NFTL properly have just been contributed. See mtd/patches/grub* and send virtual beer to [email protected]

Does this mean that grub can boot DoC?

Signature · 7 lines
Dvir Oren               <[email protected]>
Lucid VON Ltd.     <http://www.lucidvon.com>
9 Saloniki St.,        Tel-Aviv       Israel
Tel:  +972 3 644 3038  Fax:  +972 3 644 3039


To unsubscribe, send "unsubscribe mtd" to [email protected]