cesa.c (232883) | cesa.c (238873) |
---|---|
1/*- 2 * Copyright (C) 2009-2011 Semihalf. 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 --- 25 unchanged lines hidden (view full) --- 34 * +------------------------+ <= sc->sc_sram_base + CESA_DATA(0) 35 * | struct cesa_sa_data | 36 * +------------------------+ 37 * | struct cesa_sa_hdesc | 38 * +------------------------+ <= sc->sc_sram_base 39 */ 40 41#include <sys/cdefs.h> | 1/*- 2 * Copyright (C) 2009-2011 Semihalf. 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 --- 25 unchanged lines hidden (view full) --- 34 * +------------------------+ <= sc->sc_sram_base + CESA_DATA(0) 35 * | struct cesa_sa_data | 36 * +------------------------+ 37 * | struct cesa_sa_hdesc | 38 * +------------------------+ <= sc->sc_sram_base 39 */ 40 41#include <sys/cdefs.h> |
42__FBSDID("$FreeBSD: head/sys/dev/cesa/cesa.c 232883 2012-03-12 19:29:35Z scottl $"); | 42__FBSDID("$FreeBSD: head/sys/dev/cesa/cesa.c 238873 2012-07-28 21:56:24Z hrs $"); |
43 44#include <sys/param.h> 45#include <sys/systm.h> 46#include <sys/bus.h> 47#include <sys/endian.h> 48#include <sys/kernel.h> 49#include <sys/lock.h> 50#include <sys/mbuf.h> --- 949 unchanged lines hidden (view full) --- 1000 device_printf(dev, "could not setup SRAM\n"); 1001 return (error); 1002 } 1003 1004 soc_id(&d, &r); 1005 1006 switch (d) { 1007 case MV_DEV_88F6281: | 43 44#include <sys/param.h> 45#include <sys/systm.h> 46#include <sys/bus.h> 47#include <sys/endian.h> 48#include <sys/kernel.h> 49#include <sys/lock.h> 50#include <sys/mbuf.h> --- 949 unchanged lines hidden (view full) --- 1000 device_printf(dev, "could not setup SRAM\n"); 1001 return (error); 1002 } 1003 1004 soc_id(&d, &r); 1005 1006 switch (d) { 1007 case MV_DEV_88F6281: |
1008 case MV_DEV_88F6282: |
|
1008 sc->sc_tperr = 0; 1009 break; 1010 case MV_DEV_MV78100: 1011 case MV_DEV_MV78100_Z0: 1012 sc->sc_tperr = CESA_ICR_TPERR; 1013 break; 1014 default: 1015 return (ENXIO); --- 595 unchanged lines hidden --- | 1009 sc->sc_tperr = 0; 1010 break; 1011 case MV_DEV_MV78100: 1012 case MV_DEV_MV78100_Z0: 1013 sc->sc_tperr = CESA_ICR_TPERR; 1014 break; 1015 default: 1016 return (ENXIO); --- 595 unchanged lines hidden --- |