#
fdafd315 |
|
24-Nov-2023 |
Warner Losh <imp@FreeBSD.org> |
sys: Automated cleanup of cdefs and other formatting Apply the following automated changes to try to eliminate no-longer-needed sys/cdefs.h includes as well as now-empty blank lines in a row. Remove /^#if.*\n#endif.*\n#include\s+<sys/cdefs.h>.*\n/ Remove /\n+#include\s+<sys/cdefs.h>.*\n+#if.*\n#endif.*\n+/ Remove /\n+#if.*\n#endif.*\n+/ Remove /^#if.*\n#endif.*\n/ Remove /\n+#include\s+<sys/cdefs.h>\n#include\s+<sys/types.h>/ Remove /\n+#include\s+<sys/cdefs.h>\n#include\s+<sys/param.h>/ Remove /\n+#include\s+<sys/cdefs.h>\n#include\s+<sys/capsicum.h>/ Sponsored by: Netflix
|
#
685dc743 |
|
16-Aug-2023 |
Warner Losh <imp@FreeBSD.org> |
sys: Remove $FreeBSD$: one-line .c pattern Remove /^[\s*]*__FBSDID\("\$FreeBSD\$"\);?\s*\n/
|
#
4d846d26 |
|
10-May-2023 |
Warner Losh <imp@FreeBSD.org> |
spdx: The BSD-2-Clause-FreeBSD identifier is obsolete, drop -FreeBSD The SPDX folks have obsoleted the BSD-2-Clause-FreeBSD identifier. Catch up to that fact and revert to their recommended match of BSD-2-Clause. Discussed with: pfg MFC After: 3 days Sponsored by: Netflix
|
#
24e8823e |
|
27-Jul-2022 |
Dimitry Andric <dim@FreeBSD.org> |
Adjust function definition in isa's pnp.c to avoid clang 15 warning With clang 15, the following -Werror warning is produced: sys/isa/pnp.c:118:24: error: a function declaration without a prototype is deprecated in all versions of C [-Werror,-Wstrict-prototypes] pnp_send_initiation_key() ^ void This is because pnp_send_initiation_key() is declared with a (void) argument list, but defined with an empty argument list. Make the definition match the declaration. MFC after: 3 days
|
#
be275086 |
|
06-May-2022 |
John Baldwin <jhb@FreeBSD.org> |
isa: Remove unused devclass arguments to DRIVER_MODULE.
|
#
7dcb3b12 |
|
23-Dec-2017 |
Warner Losh <imp@FreeBSD.org> |
Warn when nonPNP ISA devices are attached in GENERIC that they are being removed from GENERIC in 12. Always print PNP info for ISA when it exists: it doesn't depend on ISAPNP. Add PNP ID to orm and vga to prevent us from warning about them since those devices aren't being removed from GENERIC. PNP devices will be removed from GENERIC too, but they will be automatically loaded, so need no warning. We don't warn for non-GENERIC kernels because people running them are presumed to know what they are doing. MFC After: 2 weeks
|
#
fe267a55 |
|
27-Nov-2017 |
Pedro F. Giffuni <pfg@FreeBSD.org> |
sys: general adoption of SPDX licensing ID tags. Mainly focus on files that use BSD 2-Clause license, however the tool I was using misidentified many licenses so this was mostly a manual - error prone - task. The Software Package Data Exchange (SPDX) group provides a specification to make it easier for automated tools to detect and summarize well known opensource licenses. We are gradually adopting the specification, noting that the tags are considered only advisory and do not, in any way, superceed or replace the license texts. No functional change intended.
|
#
2b375b4e |
|
27-Jan-2017 |
Yoshihiro Takahashi <nyan@FreeBSD.org> |
Remove pc98 support completely. I thank all developers and contributors for pc98. Relnotes: yes
|
#
55b05458 |
|
03-May-2016 |
Pedro F. Giffuni <pfg@FreeBSD.org> |
sys/isa: minor spelling fixes. No functional change.
|
#
d9ca4bc0 |
|
14-Apr-2016 |
Pedro F. Giffuni <pfg@FreeBSD.org> |
isa/pnp: for pointers replace 0 with NULL. These are mostly cosmetical, no functional change. Found with devel/coccinelle.
|
#
94203d0a |
|
28-Mar-2011 |
John Baldwin <jhb@FreeBSD.org> |
- Enable an extra debugging bootverbose printf when probing ISA PNP cards listing each card as it is found on non-PC98 (PC98 already had this). - Increase the length of the DELAY() used before timing out while reading PNP resource data. Tested by: Steven Nikkel steven_nikkel ertyu org MFC after: 1 week
|
#
a7d5f7eb |
|
19-Oct-2010 |
Jamie Gritton <jamie@FreeBSD.org> |
A new jail(8) with a configuration file, to replace the work currently done by /etc/rc.d/jail.
|
#
7733cf8f |
|
11-Feb-2010 |
Matt Jacob <mjacob@FreeBSD.org> |
MFC a number of changes from head for ISP (203478,203463,203444,202418,201758, 201408,201325,200089,198822,197373,197372,197214,196162). Since one of those changes was a semicolon cleanup from somebody else, this touches a lot more.
|
#
c2ede4b3 |
|
07-Jan-2010 |
Martin Blapp <mbr@FreeBSD.org> |
Remove extraneous semicolons, no functional changes. Submitted by: Marc Balmer <marc@msys.ch> MFC after: 1 week
|
#
132580b5 |
|
02-Nov-2008 |
Warner Losh <imp@FreeBSD.org> |
MFp4: Make the ISA bus keep track of more PNP details. Plus a minor style fix while I'm here. More could be done here, but except for some SBCs that don't have ACPI, there's limited value to anybody in doing so.
|
#
d7f03759 |
|
19-Oct-2008 |
Ulf Lilleengen <lulf@FreeBSD.org> |
- Import the HEAD csup code which is the basis for the cvsmode work.
|
#
c7974ff1 |
|
28-Sep-2005 |
Marius Strobl <marius@FreeBSD.org> |
Fix an endianness issue in pnp_eisaformat(). This corrects printing PnP IDs on big-endian archs like sparc64, e.g.: uart0: <16550 or compatible> at port 0x3f8-0x3ff irq 43 pnpid @HEd041 on isa0 is now correctly printed as: uart0: <16550 or compatible> at port 0x3f8-0x3ff irq 43 pnpid PNP0501 on isa0 There are probably other endianness issues lurking in the PnP code which however aren't exhibited on sparc64 as the PnP devices there are sort of PnP BIOS devices rather than ISA PnP devices. Tested on: i386, sparc64 MFC after: 1 week
|
#
934bd5ed |
|
24-Dec-2004 |
Warner Losh <imp@FreeBSD.org> |
Make the other pnp messages more explicit as well...
|
#
2e63992f |
|
24-Dec-2004 |
Warner Losh <imp@FreeBSD.org> |
Note when we're done probing PNP. There's been several reports over the years of hangs that turned out to be in the PNP code. Add an explicit end marker so such hangs are more apparent.
|
#
7a83aa63 |
|
24-Dec-2004 |
Warner Losh <imp@FreeBSD.org> |
Various style(9) items before of some more extensive work: o return (value); o u_intXX_t -> uintXX_t o break lines o consistantly use 8 space tab stops o minor grammar nits in a few printfs
|
#
b4e9316e |
|
24-Dec-2004 |
Warner Losh <imp@FreeBSD.org> |
GC #if 0'd code. It can go away now...
|
#
8c9bbf48 |
|
10-Jun-2003 |
David E. O'Brien <obrien@FreeBSD.org> |
Use __FBSDID().
|
#
30f5ad0f |
|
31-May-2003 |
Poul-Henning Kamp <phk@FreeBSD.org> |
Remove unused variable(s). Mark a non-critical memoryleak with XXX comment Found by: FlexeLint
|
#
8b7f9bdc |
|
16-Oct-2002 |
Poul-Henning Kamp <phk@FreeBSD.org> |
Put an XXX: comment here to point out a couple of free() issues on pnp_read_bytes(). Spotted by: FlexeLint
|
#
7698537b |
|
29-Sep-2002 |
Yoshihiro Takahashi <nyan@FreeBSD.org> |
Added some buggy PC-98 PnP cards support.
|
#
38b968c3 |
|
04-Feb-2002 |
Seigo Tanimura <tanimura@FreeBSD.org> |
- Do not hang if the resource allocation fails. - Add another quirk entry of SB AWE64. PR: kern/32530 Submitted by: Magnus Backstrom <b@etek.chalmers.se>
|
#
d117cb4e |
|
15-Sep-2001 |
Kazutaka YOKOTA <yokota@FreeBSD.org> |
Handle "identifier strings" right. Each ISA PnP card must have a mandatory "card" identifier string. A logical devices on the ISA PnP card may optionally have a "device" identifier string. Do not confuse them. The "card" identifier string is assigned to a logical device as the default description string when the device is found. (If the "card" identifier string has not been found, use the EISA PnP ID string. Strictly speaking, this is an error.) We will override it when a "device" identifier string is found later.
|
#
c3959391 |
|
04-Sep-2001 |
Kazutaka YOKOTA <yokota@FreeBSD.org> |
Rework the ISA PnP driver pnp and the PnP resource parser to fix the following bugs. - When constructing a resource configuration, respect the order in which resource descriptors are read, in order to establish the correct mapping between the descriptors and configuration registers. "Plug and Play ISA Specification, Version 1.0a", Sec 4.6.1, May 5, 1994. "Clarifications to the Plug and Play ISA Specification, Version 1.0a", Sec 6.2.1, Dec. 10, 1994. - Do not ignore null (empty) descriptors; they are valid descriptors acting as filler. "Clarifications to the Plug and Play ISA Specification, Version 1.0a", Sec 6.2.1. - Correctly set up logical device configuration registers for null resources. "Clarifications to the Plug and Play ISA Specification, Version 1.0a" - Handle null resources properly in the resource allocator for the ISA bus.
|
#
db7e3af1 |
|
15-Oct-2000 |
Poul-Henning Kamp <phk@FreeBSD.org> |
Remove unneeded #include <machine/clock.h>
|
#
08764b84 |
|
08-Oct-2000 |
Mike Smith <msmith@FreeBSD.org> |
Resolve the inconsistency between "the number of resources of a particular kind we can manage in a set of configurations" and "the number of resources of a particular kind that can be programmed into an ISA PnP adapter". Submitted by: Motomichi Matsuzaki <mzaki@e-mail.ne.jp> Submitted by: Hirokazu WATANABE <gwna@geocities.co.jp>
|
#
21c3015a |
|
28-Aug-2000 |
Doug Rabson <dfr@FreeBSD.org> |
* Completely rewrite the alpha busspace to hide the implementation from the drivers. * Remove legacy inx/outx support from chipset and replace with macros which call busspace. * Rework pci config accesses to route through the pcib device instead of calling a MD function directly. With these changes it is possible to cleanly support machines which have more than one independantly numbered PCI busses. As a bonus, the new busspace implementation should be measurably faster than the old one.
|
#
fb0ef528 |
|
11-Jul-2000 |
Seigo Tanimura <tanimura@FreeBSD.org> |
Finally merge newmidi. (I had been busy for my own research activity until the last weekend) Supported devices: SB Midi Port (sbc + midi) SB OPL3 (sbc + midi) 16550 UART (midi, needs a trick in your hint) CS461x Midi Port (csa + midi) OSS-compatible sequencer (seq) Supported playing software: playmidi (We definitely need more) Notes: /dev/midistat now reports installed midi drivers. /dev/sndstat reports only pcm drivers. We need the new name(pcmstat?). EMU8000(SB AWE) does not sound yet but does get probed so that the OPL3 synth on an AWE card works. TODO: MSS/PCI bridge drivers Midi-tty interface to support general serial devices Modules
|
#
bb2b9030 |
|
14-Oct-1999 |
Doug Rabson <dfr@FreeBSD.org> |
* Add some verbose logging to the PnP parser and fix a couple of bugs. * Move pnp_eisaformat() to pnp.c, declared in <isa/pnpvar.h>. * Turn the pnpbios code into an enumerator for the isa bus. This allows all devices known to the bios to be probed automatically. Currently the pnpbios code is dependant on the PNPBIOS option. As the code is tested more and when more drivers are converted this will be made the default. I have PnP changes in the wings for fdc, atkbd, psm, pcaudio, and joy. Sio already works with pnpbios.
|
#
5b45337d |
|
09-Oct-1999 |
Doug Rabson <dfr@FreeBSD.org> |
Factor out the PnP resource parser so that it can be re-used by pnpbios and acpi. Reviewed by: msmith
|
#
336dd186 |
|
17-Sep-1999 |
Doug Rabson <dfr@FreeBSD.org> |
Parse resource descriptions which don't have START_DEPENDANT tags correctly. This fixes resource allocation for various PnP ed cards but there are other problems which prevent that driver from working right.
|
#
48ab255e |
|
01-Sep-1999 |
Peter Wemm <peter@FreeBSD.org> |
s/LOGIGAL/LOGICAL/
|
#
4249382d |
|
01-Sep-1999 |
Doug Rabson <dfr@FreeBSD.org> |
This represents essentially a complete rewrite of the ISA PnP code. The new system is integrated with the ISA bus code more cleanly and allows the future addition of more enumerators such as PnPBIOS and ACPI. This commit also enables the new pcm driver since it is somewhat tied to the new PnP code.
|