spi.h (95ee2897e98f5d444f26ed2334cc7c439f9c16c6) | spi.h (62aa7ab939ea0f9187336ea5f91b954da0cbd4c7) |
---|---|
1/*- 2 * Copyright (c) 2006 M. Warner Losh <imp@FreeBSD.org> 3 * 4 * Redistribution and use in source and binary forms, with or without 5 * modification, are permitted provided that the following conditions 6 * are met: 7 * 1. Redistributions of source code must retain the above copyright 8 * notice, this list of conditions and the following disclaimer. --- 32 unchanged lines hidden (view full) --- 41 42#define SPI_CHIP_SELECT_HIGH 0x1 /* Chip select high (else low) */ 43 44#ifdef FDT 45#define SPIBUS_FDT_PNP_INFO(t) FDTCOMPAT_PNP_INFO(t, spibus) 46#else 47#define SPIBUS_FDT_PNP_INFO(t) 48#endif | 1/*- 2 * Copyright (c) 2006 M. Warner Losh <imp@FreeBSD.org> 3 * 4 * Redistribution and use in source and binary forms, with or without 5 * modification, are permitted provided that the following conditions 6 * are met: 7 * 1. Redistributions of source code must retain the above copyright 8 * notice, this list of conditions and the following disclaimer. --- 32 unchanged lines hidden (view full) --- 41 42#define SPI_CHIP_SELECT_HIGH 0x1 /* Chip select high (else low) */ 43 44#ifdef FDT 45#define SPIBUS_FDT_PNP_INFO(t) FDTCOMPAT_PNP_INFO(t, spibus) 46#else 47#define SPIBUS_FDT_PNP_INFO(t) 48#endif |
49 50#ifdef DEV_ACPI 51#define SPIBUS_ACPI_PNP_INFO(t) ACPICOMPAT_PNP_INFO(t, spibus) 52#else 53#define SPIBUS_ACPI_PNP_INFO(t) 54#endif |
|