dc68054305
- Restore 29 recipe symlinks (libdrm, qtbase, dbus, sddm, pipewire, etc.) - Restore 33 patches (KDE, libdrm, mesa, pipewire, sddm, wireplumber) - Restore 20+ local/scripts (audit, lint, test, build helpers) - Restore src/cook/scheduler.rs, status.rs, gnu-config/ - Restore scripts/patch-inclusion-gate.sh, run_mini1.sh, validate-collision-log.sh - Recover TLC source from HEAD (was overwritten by 0.2.3 checkout) - Recover 11 local/docs plans from HEAD (were overwritten) - Recover qt6-wayland-smoke symlink from HEAD - Fix MOTD: remove garbled ASCII art, use clean text - Update version: 0.2.0 -> 0.2.4 in os-release, motd, config - Reduce filesystem_size: 1536 -> 512 MiB - Add ABSOLUTE RULE to AGENTS.md: never delete/ignore packages - Reduce pcid scheme log verbosity: info -> debug
51 lines
846 B
C
51 lines
846 B
C
/* SPDX-License-Identifier: GPL-2.0-or-later */
|
|
/*
|
|
* Common Definitions for Janz MODULbus devices
|
|
*
|
|
* Copyright (c) 2010 Ira W. Snyder <iws@ovro.caltech.edu>
|
|
*/
|
|
|
|
#ifndef JANZ_H
|
|
#define JANZ_H
|
|
|
|
struct janz_platform_data {
|
|
/* MODULbus Module Number */
|
|
unsigned int modno;
|
|
};
|
|
|
|
/* PLX bridge chip onboard registers */
|
|
struct janz_cmodio_onboard_regs {
|
|
u8 unused1;
|
|
|
|
/*
|
|
* Read access: interrupt status
|
|
* Write access: interrupt disable
|
|
*/
|
|
u8 int_disable;
|
|
u8 unused2;
|
|
|
|
/*
|
|
* Read access: MODULbus number (hex switch)
|
|
* Write access: interrupt enable
|
|
*/
|
|
u8 int_enable;
|
|
u8 unused3;
|
|
|
|
/* write-only */
|
|
u8 reset_assert;
|
|
u8 unused4;
|
|
|
|
/* write-only */
|
|
u8 reset_deassert;
|
|
u8 unused5;
|
|
|
|
/* read-write access to serial EEPROM */
|
|
u8 eep;
|
|
u8 unused6;
|
|
|
|
/* write-only access to EEPROM chip select */
|
|
u8 enid;
|
|
};
|
|
|
|
#endif /* JANZ_H */
|