[BACK]Return to autoconf.h CVS log [TXT][DIR] Up to [local] / sys / arch / hppa64 / include

Annotation of sys/arch/hppa64/include/autoconf.h, Revision 1.1.1.1

1.1       nbrk        1: /*     $OpenBSD: autoconf.h,v 1.2 2005/05/22 01:38:09 mickey Exp $     */
                      2:
                      3: /*
                      4:  * Copyright (c) 2005 Michael Shalayeff
                      5:  * All rights reserved.
                      6:  *
                      7:  * Permission to use, copy, modify, and distribute this software for any
                      8:  * purpose with or without fee is hereby granted, provided that the above
                      9:  * copyright notice and this permission notice appear in all copies.
                     10:  *
                     11:  * THE SOFTWARE IS PROVIDED "AS IS" AND THE AUTHOR DISCLAIMS ALL WARRANTIES
                     12:  * WITH REGARD TO THIS SOFTWARE INCLUDING ALL IMPLIED WARRANTIES OF
                     13:  * MERCHANTABILITY AND FITNESS. IN NO EVENT SHALL THE AUTHOR BE LIABLE FOR
                     14:  * ANY SPECIAL, DIRECT, INDIRECT, OR CONSEQUENTIAL DAMAGES OR ANY DAMAGES
                     15:  * WHATSOEVER RESULTING FROM LOSS OF MIND, USE, DATA OR PROFITS, WHETHER IN
                     16:  * AN ACTION OF CONTRACT, NEGLIGENCE OR OTHER TORTIOUS ACTION, ARISING OUT
                     17:  * OF OR IN CONNECTION WITH THE USE OR PERFORMANCE OF THIS SOFTWARE.
                     18:  */
                     19:
                     20: #include <machine/bus.h>
                     21: #include <machine/pdc.h>
                     22:
                     23: struct confargs {
                     24:        const char      *ca_name;       /* device name/description */
                     25:        struct iodc_data ca_type;       /* iodc-specific type descrition */
                     26:        bus_space_tag_t ca_iot;         /* io tag */
                     27:        bus_dma_tag_t   ca_dmatag;      /* DMA tag */
                     28:        hppa_hpa_t      ca_hpa;         /* module HPA */
                     29:        u_int           ca_hpasz;       /* module HPA size (if avail) */
                     30:        int             ca_mod;         /* this module */
                     31: };
                     32:
                     33: /* this is used for hppa_knownmodules table
                     34:  * describing known to this port modules,
                     35:  * system boards, cpus, fpus and busses
                     36:  */
                     37: struct hppa_mod_info {
                     38:        int     mi_type;
                     39:        int     mi_sv;
                     40:        const char *mi_name;
                     41: };
                     42:
                     43: extern void (*cold_hook)(int);
                     44: #define        HPPA_COLD_COLD  0
                     45: #define        HPPA_COLD_HOT   1
                     46: #define        HPPA_COLD_OFF   2
                     47:
                     48: struct device;
                     49:
                     50: const char *hppa_mod_info(int, int);
                     51: void   pdc_scan(struct device *, struct confargs *);
                     52: int    mbprint(void *, const char *);
                     53:
                     54: void   dumpconf(void);

CVSweb