Current-Users archive

[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index][Old Index]

Re: seeprom(4) - MI or MD major?



On Feb 4, 2013, at 7:10 AM, Julian Coleman wrote:

> Hi,
> 
> Several models of Sun have parts with AT24C64 eeproms which are connected to
> an I2C bus.  I'd like to make these attach.  For example, on a Sun Blade 2000,
> I can have:
> 
> seeprom0 at iic0 addr 0x50: nvram
> seeprom1 at iic0 addr 0xd0: dimm-fru
>   ...
> seeprom9 at iic1 addr 0x50: cpu-fru
> 
> and I can retrieve, for example, the Sun part numbers from these devices.
> 
> The seeprom manual page states:
> 
> BUGS
>    A device major number is not assigned.
> 
> so I'd like to assign a major number to seeprom.  However, it seems that
> seeprom has been unused since NetBSD 2.0, so I don't know if it's worth
> adding an MI major (e.g. 206).  Therefore, I was planning to add a sparc64
> MD major.  Does this seem reasonable?

Make it an MI major since seeprom can be used on any platform with i2c.

We are trying to get away from MD majors.


Home | Main Index | Thread Index | Old Index