puccn.h revision 1.1
11.1Sjeffs/* $Id: */
21.1Sjeffs
31.1Sjeffs/*
41.1Sjeffs * Derived from  pci.c
51.1Sjeffs * Copyright (c) 2000 Geocast Networks Systems.  All rights reserved.
61.1Sjeffs *
71.1Sjeffs * Copyright (c) 1995, 1996, 1997, 1998
81.1Sjeffs *     Christopher G. Demetriou.  All rights reserved.
91.1Sjeffs * Copyright (c) 1994 Charles M. Hannum.  All rights reserved.
101.1Sjeffs *
111.1Sjeffs * Redistribution and use in source and binary forms, with or without
121.1Sjeffs * modification, are permitted provided that the following conditions
131.1Sjeffs * are met:
141.1Sjeffs * 1. Redistributions of source code must retain the above copyright
151.1Sjeffs *    notice, this list of conditions and the following disclaimer.
161.1Sjeffs * 2. Redistributions in binary form must reproduce the above copyright
171.1Sjeffs *    notice, this list of conditions and the following disclaimer in the
181.1Sjeffs *    documentation and/or other materials provided with the distribution.
191.1Sjeffs * 3. All advertising materials mentioning features or use of this software
201.1Sjeffs *    must display the following acknowledgement:
211.1Sjeffs *	This product includes software developed by Charles M. Hannum.
221.1Sjeffs * 4. The name of the author may not be used to endorse or promote products
231.1Sjeffs *    derived from this software without specific prior written permission.
241.1Sjeffs *
251.1Sjeffs * THIS SOFTWARE IS PROVIDED BY THE AUTHOR ``AS IS'' AND ANY EXPRESS OR
261.1Sjeffs * IMPLIED WARRANTIES, INCLUDING, BUT NOT LIMITED TO, THE IMPLIED WARRANTIES
271.1Sjeffs * OF MERCHANTABILITY AND FITNESS FOR A PARTICULAR PURPOSE ARE DISCLAIMED.
281.1Sjeffs * IN NO EVENT SHALL THE AUTHOR BE LIABLE FOR ANY DIRECT, INDIRECT,
291.1Sjeffs * INCIDENTAL, SPECIAL, EXEMPLARY, OR CONSEQUENTIAL DAMAGES (INCLUDING, BUT
301.1Sjeffs * NOT LIMITED TO, PROCUREMENT OF SUBSTITUTE GOODS OR SERVICES; LOSS OF USE,
311.1Sjeffs * DATA, OR PROFITS; OR BUSINESS INTERRUPTION) HOWEVER CAUSED AND ON ANY
321.1Sjeffs * THEORY OF LIABILITY, WHETHER IN CONTRACT, STRICT LIABILITY, OR TORT
331.1Sjeffs * (INCLUDING NEGLIGENCE OR OTHERWISE) ARISING IN ANY WAY OUT OF THE USE OF
341.1Sjeffs * THIS SOFTWARE, EVEN IF ADVISED OF THE POSSIBILITY OF SUCH DAMAGE.
351.1Sjeffs */
361.1Sjeffs
371.1Sjeffs
381.1Sjeffs/*
391.1Sjeffs * Machine independent support for PCI serial console support.
401.1Sjeffs *
411.1Sjeffs * Platform code should provide cpu_comcnprobe() that fills
421.1Sjeffs * in the pci_attach_args.  This allows the console can be
431.1Sjeffs * used before the normal PCI bus initialization.
441.1Sjeffs */
451.1Sjeffs
461.1Sjeffsint cpu_comcnprobe(struct consdev *cn, struct pci_attach_args *pa);
47