Commit 76d0b039 authored by Adam Belay's avatar Adam Belay

[PNPBIOS] Move low level code into a separate file

This patch moves the low level bios calls to a separate file, 
"bioscalls.c".  It is a cleanup that will improve organization of the
pnpbios driver code.
parent 74557fe3
...@@ -4,4 +4,4 @@ ...@@ -4,4 +4,4 @@
pnpbios-proc-$(CONFIG_PROC_FS) = proc.o pnpbios-proc-$(CONFIG_PROC_FS) = proc.o
obj-y := core.o rsparser.o $(pnpbios-proc-y) obj-y := core.o bioscalls.o rsparser.o $(pnpbios-proc-y)
This diff is collapsed.
This diff is collapsed.
...@@ -6,3 +6,6 @@ extern int pnpbios_parse_data_stream(struct pnp_dev *dev, struct pnp_bios_node * ...@@ -6,3 +6,6 @@ extern int pnpbios_parse_data_stream(struct pnp_dev *dev, struct pnp_bios_node *
extern int pnpbios_read_resources_from_node(struct pnp_resource_table *res, struct pnp_bios_node * node); extern int pnpbios_read_resources_from_node(struct pnp_resource_table *res, struct pnp_bios_node * node);
extern int pnpbios_write_resources_to_node(struct pnp_resource_table *res, struct pnp_bios_node * node); extern int pnpbios_write_resources_to_node(struct pnp_resource_table *res, struct pnp_bios_node * node);
extern void pnpid32_to_pnpid(u32 id, char *str); extern void pnpid32_to_pnpid(u32 id, char *str);
extern void pnpbios_print_status(const char * module, u16 status);
extern int pnpbios_probe_installation(void);
...@@ -146,6 +146,7 @@ extern int pnp_bios_get_stat_res (char *info); ...@@ -146,6 +146,7 @@ extern int pnp_bios_get_stat_res (char *info);
extern int pnp_bios_isapnp_config (struct pnp_isa_config_struc *data); extern int pnp_bios_isapnp_config (struct pnp_isa_config_struc *data);
extern int pnp_bios_escd_info (struct escd_info_struc *data); extern int pnp_bios_escd_info (struct escd_info_struc *data);
extern int pnp_bios_read_escd (char *data, u32 nvram_base); extern int pnp_bios_read_escd (char *data, u32 nvram_base);
extern int pnp_bios_dock_station_info(struct pnp_docking_station_info *data);
#if needed #if needed
extern int pnp_bios_get_event (u16 *message); extern int pnp_bios_get_event (u16 *message);
extern int pnp_bios_send_message (u16 message); extern int pnp_bios_send_message (u16 message);
......
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