11-14-2002
Good Try
Some parts of it move a little to quickly to me. Swish is good! I have it myself
4 More Discussions You Might Find Interesting
1. Post Here to Contact Site Administrators and Moderators
New submission for flash intro:
What do you think? (2 Replies)
Discussion started by: Neo
2 Replies
2. Tips and Tutorials
So you want to learn a unix scripting language that you'll be able to use in any situation? Perl is your answer !
This is a little intro to installing CPAN modules. If you don't know what CPAN is, check out http://search.cpan.org/. Basicly, it is a massive archive of perl libraries that will... (0 Replies)
Discussion started by: obitus
0 Replies
3. What is on Your Mind?
Houdy everyone!
yes I'm a newbie here
I'm a big fan of the BSD's, in particular NetBSD. Don't have much use for Linux or the various "distro's" of it ( no flame intended ). I'm going to try Solaris 10 on an i386 box real soon.
By day I'm a CAD tech for a local government entity, by night... (0 Replies)
Discussion started by: Mark Thomas
0 Replies
4. What is on Your Mind?
Hey,
I had been working in UNIX environments from 1997 to 2007.
From 1997 - 1999 I worked as an Operator in a Solaris environment.
From 1999 - March 2007 I worked mostly in HP-UX, some SCO, some RedHat Linux as an Operator/Programmer(scripter)/Admin.
No luck finding work, so I am going... (0 Replies)
Discussion started by: uwoodyjk
0 Replies
FLASH(9) BSD Kernel Developer's Manual FLASH(9)
NAME
flash -- subsystem for flash-like memory devices
SYNOPSIS
#include <dev/flash/flash.h>
device_t
flash_attach_mi(const struct flash_interface *fl, device_t dev);
DESCRIPTION
Flash-like devices can register themselves to the flash layer with the flash_hw_if structure. This structure has function pointers and other
fields.
The attachment can be done by calling flash_attach_mi() with this structure and the device's device_t as an argument. Return value is the
flash layer device. The flash_interface structure is shown below.
struct flash_interface {
int (*erase) (device_t, struct flash_erase_instruction *);
int (*read) (device_t, off_t, size_t, size_t *, uint8_t *);
int (*write) (device_t, off_t, size_t, size_t *, const uint8_t *);
int (*block_markbad)(device_t, uint64_t);
int (*block_isbad)(device_t, uint64_t);
int (*sync) (device_t);
int (*submit)(device_t, struct buf *);
/* storage for partition info */
struct flash_partition partition;
/* total size of mtd */
flash_addr_t size;
uint32_t page_size;
uint32_t erasesize;
uint32_t writesize;
uint32_t minor;
uint8_t type;
};
SEE ALSO
flash(4), nand(9)
AUTHORS
Adam Hoka <ahoka@NetBSD.org>
BSD
March 31, 2011 BSD