psycho.c (107658) | psycho.c (108470) |
---|---|
1/* 2 * Copyright (c) 1999, 2000 Matthew R. Green 3 * All rights reserved. 4 * Copyright 2001 by Thomas Moestl <tmm@FreeBSD.org>. All rights reserved. 5 * 6 * Redistribution and use in source and binary forms, with or without 7 * modification, are permitted provided that the following conditions 8 * are met: --- 14 unchanged lines hidden (view full) --- 23 * LOSS OF USE, DATA, OR PROFITS; OR BUSINESS INTERRUPTION) HOWEVER CAUSED 24 * AND ON ANY THEORY OF LIABILITY, WHETHER IN CONTRACT, STRICT LIABILITY, 25 * OR TORT (INCLUDING NEGLIGENCE OR OTHERWISE) ARISING IN ANY WAY 26 * OUT OF THE USE OF THIS SOFTWARE, EVEN IF ADVISED OF THE POSSIBILITY OF 27 * SUCH DAMAGE. 28 * 29 * from: NetBSD: psycho.c,v 1.39 2001/10/07 20:30:41 eeh Exp 30 * | 1/* 2 * Copyright (c) 1999, 2000 Matthew R. Green 3 * All rights reserved. 4 * Copyright 2001 by Thomas Moestl <tmm@FreeBSD.org>. All rights reserved. 5 * 6 * Redistribution and use in source and binary forms, with or without 7 * modification, are permitted provided that the following conditions 8 * are met: --- 14 unchanged lines hidden (view full) --- 23 * LOSS OF USE, DATA, OR PROFITS; OR BUSINESS INTERRUPTION) HOWEVER CAUSED 24 * AND ON ANY THEORY OF LIABILITY, WHETHER IN CONTRACT, STRICT LIABILITY, 25 * OR TORT (INCLUDING NEGLIGENCE OR OTHERWISE) ARISING IN ANY WAY 26 * OUT OF THE USE OF THIS SOFTWARE, EVEN IF ADVISED OF THE POSSIBILITY OF 27 * SUCH DAMAGE. 28 * 29 * from: NetBSD: psycho.c,v 1.39 2001/10/07 20:30:41 eeh Exp 30 * |
31 * $FreeBSD: head/sys/sparc64/pci/psycho.c 107658 2002-12-06 13:16:52Z tmm $ | 31 * $FreeBSD: head/sys/sparc64/pci/psycho.c 108470 2002-12-30 21:18:15Z schweikh $ |
32 */ 33 34/* 35 * Support for `psycho' and `psycho+' UPA to PCI bridge and 36 * UltraSPARC IIi and IIe `sabre' PCI controllers. 37 */ 38 39#include "opt_psycho.h" --- 492 unchanged lines hidden (view full) --- 532 PSR_TC0); 533 } 534 535 /* 536 * Setup IOMMU and PCI configuration if we're the first 537 * of a pair of psycho's to arrive here. 538 * 539 * We should calculate a TSB size based on amount of RAM | 32 */ 33 34/* 35 * Support for `psycho' and `psycho+' UPA to PCI bridge and 36 * UltraSPARC IIi and IIe `sabre' PCI controllers. 37 */ 38 39#include "opt_psycho.h" --- 492 unchanged lines hidden (view full) --- 532 PSR_TC0); 533 } 534 535 /* 536 * Setup IOMMU and PCI configuration if we're the first 537 * of a pair of psycho's to arrive here. 538 * 539 * We should calculate a TSB size based on amount of RAM |
540 * and number of bus controllers and number an type of | 540 * and number of bus controllers and number and type of |
541 * child devices. 542 * 543 * For the moment, 32KB should be more than enough. 544 */ 545 sc->sc_is = malloc(sizeof(struct iommu_state), M_DEVBUF, 546 M_NOWAIT); 547 if (sc->sc_is == NULL) 548 panic("psycho_attach: malloc iommu_state failed"); --- 850 unchanged lines hidden --- | 541 * child devices. 542 * 543 * For the moment, 32KB should be more than enough. 544 */ 545 sc->sc_is = malloc(sizeof(struct iommu_state), M_DEVBUF, 546 M_NOWAIT); 547 if (sc->sc_is == NULL) 548 panic("psycho_attach: malloc iommu_state failed"); --- 850 unchanged lines hidden --- |