Deleted Added
full compact
ppc.c (28987) ppc.c (35256)
1/*-
2 * Copyright (c) 1997 Nicolas Souchu
3 * All rights reserved.
4 *
5 * Redistribution and use in source and binary forms, with or without
6 * modification, are permitted provided that the following conditions
7 * are met:
8 * 1. Redistributions of source code must retain the above copyright

--- 9 unchanged lines hidden (view full) ---

18 * FOR ANY DIRECT, INDIRECT, INCIDENTAL, SPECIAL, EXEMPLARY, OR CONSEQUENTIAL
19 * DAMAGES (INCLUDING, BUT NOT LIMITED TO, PROCUREMENT OF SUBSTITUTE GOODS
20 * OR SERVICES; LOSS OF USE, DATA, OR PROFITS; OR BUSINESS INTERRUPTION)
21 * HOWEVER CAUSED AND ON ANY THEORY OF LIABILITY, WHETHER IN CONTRACT, STRICT
22 * LIABILITY, OR TORT (INCLUDING NEGLIGENCE OR OTHERWISE) ARISING IN ANY WAY
23 * OUT OF THE USE OF THIS SOFTWARE, EVEN IF ADVISED OF THE POSSIBILITY OF
24 * SUCH DAMAGE.
25 *
1/*-
2 * Copyright (c) 1997 Nicolas Souchu
3 * All rights reserved.
4 *
5 * Redistribution and use in source and binary forms, with or without
6 * modification, are permitted provided that the following conditions
7 * are met:
8 * 1. Redistributions of source code must retain the above copyright

--- 9 unchanged lines hidden (view full) ---

18 * FOR ANY DIRECT, INDIRECT, INCIDENTAL, SPECIAL, EXEMPLARY, OR CONSEQUENTIAL
19 * DAMAGES (INCLUDING, BUT NOT LIMITED TO, PROCUREMENT OF SUBSTITUTE GOODS
20 * OR SERVICES; LOSS OF USE, DATA, OR PROFITS; OR BUSINESS INTERRUPTION)
21 * HOWEVER CAUSED AND ON ANY THEORY OF LIABILITY, WHETHER IN CONTRACT, STRICT
22 * LIABILITY, OR TORT (INCLUDING NEGLIGENCE OR OTHERWISE) ARISING IN ANY WAY
23 * OUT OF THE USE OF THIS SOFTWARE, EVEN IF ADVISED OF THE POSSIBILITY OF
24 * SUCH DAMAGE.
25 *
26 * $Id: ppc.c,v 1.1 1997/08/14 14:01:35 msmith Exp $
26 * $Id: ppc.c,v 1.2 1997/09/01 02:08:41 bde Exp $
27 *
28 */
29#include "ppc.h"
30
31#if NPPC > 0
32
33#include <sys/param.h>
34#include <sys/systm.h>

--- 664 unchanged lines hidden (view full) ---

699 */
700 if (!(dvp->id_flags & 0x10))
701 ppc->ppc_irq = (dvp->id_irq);
702
703 ppcdata[ppc->ppc_unit] = ppc;
704 nppc ++;
705
706 /*
27 *
28 */
29#include "ppc.h"
30
31#if NPPC > 0
32
33#include <sys/param.h>
34#include <sys/systm.h>

--- 664 unchanged lines hidden (view full) ---

699 */
700 if (!(dvp->id_flags & 0x10))
701 ppc->ppc_irq = (dvp->id_irq);
702
703 ppcdata[ppc->ppc_unit] = ppc;
704 nppc ++;
705
706 /*
707 * Try to detect the chipset and it's mode.
707 * Try to detect the chipset and its mode.
708 */
709 if (ppc_detect(ppc, dvp->id_flags & 0x7))
710 goto error;
711
712end_probe:
713
714 return (1);
715

--- 41 unchanged lines hidden ---
708 */
709 if (ppc_detect(ppc, dvp->id_flags & 0x7))
710 goto error;
711
712end_probe:
713
714 return (1);
715

--- 41 unchanged lines hidden ---