NetBSD-Bugs archive
[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index][Old Index]
Re: kern/40420
The following reply was made to PR kern/40420; it has been noted by GNATS.
From: Paul Goyette <paul%whooppee.com@localhost>
To: Takahiro HAYASHI <hash%abox3.so-net.ne.jp@localhost>
Cc: tkhr.hash%gmail.com@localhost, John Nemeth <jnemeth%netbsd.org@localhost>,
gnats-bugs%netbsd.org@localhost
Subject: Re: kern/40420
Date: Sun, 21 Feb 2010 19:38:10 -0800 (PST)
On Mon, 22 Feb 2010, Takahiro HAYASHI wrote:
> Hello,
>
> On Sun, 21 Feb 2010 10:24:03 -0800 (PST)
> Paul Goyette <paul%whooppee.com@localhost> wrote:
>
>>> I'm afraid that the name "smsc" will conflict with sys/dev/isa/smsc.c.
>>> That's why I name this driver "smsctemp".
>>> As you say, name of "smsctemp" may not be suitable, i think.
>>> How about "smschwmon"?
>>
>> Yes, I found that the hard way!
>>
>> I have taken the liberty of renaming it to smcsmon(4). I've made a few
>> other minor changes in the sources (most notably, I replaced the calls
>> to iic_exec() with calls to iic_smbus_{read,write}_byte()) and I've
>> written a basic smcsmon(4) man page. The rest of the code looked pretty
>> clean to me. (I personally don't like using the
>>
>> { member1 = value1, member2 = value2, ... }
>>
>> method of initializing the array of sensor descriptors, but it is done
>> that way in other drivers, so I left it alone.)
>
> I agree with the name smscmon. (I like short name.)
> Thank you for consideration and writing man page.
>
>> I have attached the revised files here - please let me know if this
>> meets with your approval, and I will commit.
>
> SYNOPSYS in smscmon.4 may be changed to:
>
> -.Cd "smscmon0 at iic? addr 0x2c"
> +.Cd "smscmon0 at iic? addr 0x2d"
>
> because on my D945GCLF board smscmon is seen at iic addr 0x2d.
> No other problems are found, please commit.
Great!
I think I will leave _both_ addresses in the man page, since the
datasheet states that the address is 101_110x where x is the state of
one of the input pins.
I will commit soon.
Thanks for submitting this driver!
-------------------------------------------------------------------------
| Paul Goyette | PGP DSS Key fingerprint: | E-mail addresses: |
| Customer Service | FA29 0E3B 35AF E8AE 6651 | paul at whooppee.com |
| Network Engineer | 0786 F758 55DE 53BA 7731 | pgoyette at juniper.net |
| Kernel Developer | | pgoyette at netbsd.org |
-------------------------------------------------------------------------
Home |
Main Index |
Thread Index |
Old Index