#define CONFIG_MAX_PHYSICAL_CPUS CONFIG_MAX_CPUS
#endif
+#if CONFIG_FS_STREAM == 1
+extern int filo(struct lb_memory *);
+#endif
+
/* The processor map.
* Now that SMP is in linuxbios, and Linux counts on us
* giving accurate information about processors, we need a map
return uart8250_rx_byte(TTYS0_BASE);
}
-int ttyS0_tst_byte(unsigned char data)
+int ttyS0_tst_byte(void)
{
return uart8250_can_rx_byte(TTYS0_BASE);
}
extern void assign_resources(struct bus *bus);
extern void enable_resources(struct device *dev);
extern void enumerate_static_device(void);
+extern void enumerate_static_devices(void);
extern const char *dev_path(device_t dev);
extern void compact_resources(device_t dev);
extern struct resource *get_resource(device_t dev, unsigned index);
#include <stdlib.h>
+#include <string.h>
#include <console/console.h>
#if 0
#include <ppc.h>
#include <arch/io.h>
#include <printk.h>
+#include <uart8250.h>
void pnp_output(char address, char data)
{
void
board_init(void)
{
- unsigned char reg8;
-
/*
* Configure FLASH
*/
PC_CKS_RANGE_END,PC_CKS_LOC);
if (invalid || cmos_invalid || checksum_invalid) {
- int i;
printk_warning("RTC:%s%s%s zeroing cmos\n",
invalid?" Clear requested":"",
cmos_invalid?" Power Problem":"",
static void
w83c553_init(struct device *dev)
{
- unsigned char reg8;
-
printk_info("Configure W83C553F ISA Bridge (Function 0)\n");
#if 0
{
unsigned char reg;
- struct superio_NSC_pc97307_config *conf = (struct superio_NSC_pc97307_config *)chip->chip_info;
switch (pass) {
case CONF_PASS_PRE_PCI: