Exploit databaseDownload repository ZIP
GH-9a497cc26994d431b276e9e3b7a8f75c
satheesh575555/linux-4.19.72_cve-2023-0386
Sources for CVE-2023-0386
20 sourcesPreferred order: Exploit-DB, Metasploit, then GitHub repositories by stars. Open preferred source
Repository files43
satheesh575555/linux-4.19.72_cve-2023-0386Revision ef9a4a9fbf2b
- ↑..Parent directory
- Kconfig
- Makefile
- hopper_cards.c
- hopper_vp3028.c
- hopper_vp3028.h
- mantis_ca.c
- mantis_ca.h
- mantis_cards.c
- mantis_common.h
- mantis_core.c
- mantis_core.h
- mantis_dma.c
- mantis_dma.h
- mantis_dvb.c
- mantis_dvb.h
- mantis_evm.c
- mantis_hif.c
- mantis_hif.h
- mantis_i2c.c
- mantis_i2c.h
- mantis_input.c
- mantis_input.h
- mantis_ioc.c
- mantis_ioc.h
- mantis_link.h
- mantis_pci.c
- mantis_pci.h
- mantis_pcmcia.c
- mantis_reg.h
- mantis_uart.c
- mantis_uart.h
- mantis_vp1033.c
- mantis_vp1033.h
- mantis_vp1034.c
- mantis_vp1034.h
- mantis_vp1041.c
- mantis_vp1041.h
- mantis_vp2033.c
- mantis_vp2033.h
- mantis_vp2040.c
- mantis_vp2040.h
- mantis_vp3030.c
- mantis_vp3030.h
Files from this repository share one source choice. Supporting files may cover other vulnerabilities.
drivers/media/pci/mantis/mantis_uart.h
Text · 1,638 bytes/*
Mantis PCI bridge driver
Copyright (C) Manu Abraham ([email protected])
This program is free software; you can redistribute it and/or modify
it under the terms of the GNU General Public License as published by
the Free Software Foundation; either version 2 of the License, or
(at your option) any later version.
This program is distributed in the hope that it will be useful,
but WITHOUT ANY WARRANTY; without even the implied warranty of
MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE. See the
GNU General Public License for more details.
You should have received a copy of the GNU General Public License
along with this program; if not, write to the Free Software
Foundation, Inc., 675 Mass Ave, Cambridge, MA 02139, USA.
*/
#ifndef __MANTIS_UART_H
#define __MANTIS_UART_H
#define MANTIS_UART_CTL 0xe0
#define MANTIS_UART_RXINT (1 << 4)
#define MANTIS_UART_RXFLUSH (1 << 2)
#define MANTIS_UART_RXD 0xe8
#define MANTIS_UART_BAUD 0xec
#define MANTIS_UART_STAT 0xf0
#define MANTIS_UART_RXFIFO_DATA (1 << 7)
#define MANTIS_UART_RXFIFO_EMPTY (1 << 6)
#define MANTIS_UART_RXFIFO_FULL (1 << 3)
#define MANTIS_UART_FRAME_ERR (1 << 2)
#define MANTIS_UART_PARITY_ERR (1 << 1)
#define MANTIS_UART_RXTHRESH_INT (1 << 0)
enum mantis_baud {
MANTIS_BAUD_9600 = 0,
MANTIS_BAUD_19200,
MANTIS_BAUD_38400,
MANTIS_BAUD_57600,
MANTIS_BAUD_115200
};
enum mantis_parity {
MANTIS_PARITY_NONE = 0,
MANTIS_PARITY_EVEN,
MANTIS_PARITY_ODD,
};
struct mantis_pci;
extern int mantis_uart_init(struct mantis_pci *mantis);
extern void mantis_uart_exit(struct mantis_pci *mantis);
#endif /* __MANTIS_UART_H */