Commit 299b664a authored by Linus Torvalds's avatar Linus Torvalds

Merge bk://gkernel.bkbits.net/misc-2.6

into ppc970.osdl.org:/home/torvalds/v2.6/linux
parents 1e6ad211 36377f61
......@@ -92,10 +92,12 @@ static void amd_cleanup(void);
static unsigned int amd_data_present (void);
static u32 amd_data_read (void);
#ifdef __i386__
static int __init via_init(struct pci_dev *dev);
static void via_cleanup(void);
static unsigned int via_data_present (void);
static u32 via_data_read (void);
#endif
struct rng_operations {
int (*init) (struct pci_dev *dev);
......@@ -137,8 +139,10 @@ static struct rng_operations rng_vendor_ops[] = {
/* rng_hw_amd */
{ amd_init, amd_cleanup, amd_data_present, amd_data_read, 4 },
#ifdef __i386__
/* rng_hw_via */
{ via_init, via_cleanup, via_data_present, via_data_read, 1 },
#endif
};
/*
......@@ -341,6 +345,7 @@ static void amd_cleanup(void)
/* FIXME: twiddle pmio, also? */
}
#ifdef __i386__
/***********************************************************************
*
* VIA RNG operations
......@@ -456,6 +461,7 @@ static void via_cleanup(void)
{
/* do nothing */
}
#endif
/***********************************************************************
......
Markdown is supported
0%
or
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment