lists.openwall.net   lists  /  announce  owl-users  owl-dev  john-users  john-dev  passwdqc-users  yescrypt  popa3d-users  /  oss-security  kernel-hardening  musl  sabotage  tlsify  passwords  /  crypt-dev  xvendor  /  Bugtraq  Full-Disclosure  linux-kernel  linux-netdev  linux-ext4  linux-hardening  linux-cve-announce  PHC 
Open Source and information security mailing list archives
 
Hash Suite: Windows password security audit tool. GUI, reports in PDF.
[<prev] [next>] [<thread-prev] [thread-next>] [day] [month] [year] [list]
Date:	Wed, 30 Jan 2008 21:15:22 +0800
From:	"Bryan Wu" <cooloney.lkml@...il.com>
To:	"Robin Getz" <rgetz@...ckfin.uclinux.org>
Cc:	"Jiri Slaby" <jirislaby@...il.com>,
	"Bryan Wu" <bryan.wu@...log.com>, linux-kernel@...r.kernel.org,
	"Mike Frysinger" <michael.frysinger@...log.com>
Subject: Re: [PATCH 1/1] [Blackfin] char driver for Blackfin on-chip OTP memory

On Jan 30, 2008 8:39 PM, Robin Getz <rgetz@...ckfin.uclinux.org> wrote:
> On Wed 30 Jan 2008 06:00, Jiri Slaby pondered:
> > On 01/30/2008 11:36 AM, Bryan Wu wrote:
> > > From: Mike Frysinger <michael.frysinger@...log.com>
> > >
> > > initial char driver for otp memory
> > > (only read supported atm ... needs real examples/docs for write support)
> > >
> > > Signed-off-by: Mike Frysinger <michael.frysinger@...log.com>
> > > Signed-off-by: Bryan Wu <bryan.wu@...log.com>
>
> > > +   bfin_otp_class = class_create(THIS_MODULE, "otp");
> > > +   device_create(bfin_otp_class, NULL, bfin_otp_dev_node, "otp");
> >
> > Anyway, wouldn't be easier/better to use misc.c functionality here
> > (misc_register() et al.)?
>
> OTP (one time programmable) memory are not registers, they are small blocks
> (8k bytes) of non violate on chip memory, for storing things that you don't
> want other people to look at via a PCB level probe. (like keys), or things
> that are just helpful - like MAC addresses.
>

Jiri means this OTP char driver can use misc character driver
interface as misc_register().

And one question for Jiri, what is the difference between misc char
driver with other char drivers.
Because we got some other char drivers locally, maybe some day send them out.

Thanks
-Bryan
--
To unsubscribe from this list: send the line "unsubscribe linux-kernel" in
the body of a message to majordomo@...r.kernel.org
More majordomo info at  http://vger.kernel.org/majordomo-info.html
Please read the FAQ at  http://www.tux.org/lkml/

Powered by blists - more mailing lists

Powered by Openwall GNU/*/Linux Powered by OpenVZ