summaryrefslogtreecommitdiffstats
path: root/sys
Commit message (Collapse)AuthorAgeFilesLines
* Fixed parenthesization botch in previous commit. Async update of inodesbde1999-01-292-2/+2
| | | | was broken.
* Removed a bogus cast to v_caddr_t. This is part of terminatingbde1999-01-292-4/+4
| | | | | | | v_caddr_t with extreme prejudice. Here the bogons were originally the same as for c_caddr_t (half-baked K&R support), but rev.1.95 changed one wrong cast and one harmless cast to 2 wrong casts, and rev.1.96 only fixed the originally wrong cast.
* Fixed comment and whitespace lossage in recent commits. The -W flagbde1999-01-291-7/+14
| | | | | | is not implied by -Wall as claimed by gcc.1. Adding it causes a measly 7193 new warnings for LINT, mostly for "unused parameter" and "comparison between signed and unsigned".
* Sync with sys/i386/i386/machdep.c revision 1.323.kato1999-01-292-2/+22
|
* Cast to `const char *' instead of to c_caddr_t. This is part ofbde1999-01-292-10/+10
| | | | | | terminating c_caddr_t with extreme prejudice. Here we depended on the "opaque" type c_caddr_t being precisely `const char *' to do unportable pointer arithmetic.
* More -Wall / -Wcast-qual cleanup. Also, EXEC_SET can't usedillon1999-01-298-24/+28
| | | | | C_DECLARE_MODULE due to the linker_file_sysinit() function making modifications to the data.
* Removed bogus casts to c_caddr_t. This is part of terminatingbde1999-01-294-12/+10
| | | | | | c_caddr_t with extreme prejudice. Here the original casts to caddr_t were to support K&R compilers (or missing prototypes), but the relevant source files require an ANSI compiler.
* Commit a solution for the SYSINIT vs C_SYSINIT conundrum. Thedillon1999-01-291-20/+28
| | | | | | | | problem and solution is outlined in the comments, but basically we needed a way to allow the SYSINIT mechanism to handle const void * arguments and function pointers as well as non-const arguments and function pointers while still maintaining the compiler's ability to issue warnings if you try to use a bad combination.
* Removed a bogus cast to c_caddr_t. This is part of terminatingbde1999-01-291-2/+2
| | | | | | | | | | | | | | | | c_caddr_t with extreme prejudice. Here the point of the original cast to caddr_t was to break the warning about the const mismatch between write(2)'s `const void *buf' and `struct uio's `char *iov_base' (previous bitrot gave a gratuitous dependency on caddr_t being char *). Compiling with -Wcast-qual made the cast a full no-op. This change has no effect on the warning for discarding `const' on assignment to iov_base. The warning should not be fixed by splitting `struct iovec' into a non-const version for read() and a const version for write(), since correct const poisoning would affect all pointers to i/o addresses. Const'ness should probably be forgotten by not declaring it in syscalls.master.
* cleanup warnings by propogating const char pointers properly.dillon1999-01-291-3/+3
|
* Removed a bogus cast to c_caddr_t. This is part of terminatingbde1999-01-292-4/+16
| | | | | | | | | c_caddr_t with extreme prejudice. Here we want to convert from `const char *' to `const char *'. Casting through c_caddr_t is not the way to do this. The original cast to caddr_t was apparently to break warnings about const mismatches in other versions of BSD (in 4.4BSDLite2, the conversion is from `const char *path' to plain caddr_t).
* Have EXEC_SET use C_DECLARE_MODULE instead of DECLARE_MODULE.dillon1999-01-292-5/+9
| | | | | | | | Add C_DECLARE_MODULE - same as DECLARE_MODULE but uses C_SYSINIT instead of SYSINIT. The C_ items are going to be used for items passing const data to sysinit.
* Cleanup bsd.kern.mk after last commit.dillon1999-01-291-14/+4
|
* Check size of partition before using it.rnordier1999-01-292-4/+6
|
* Include .gdbinit for debugginggrog1999-01-292-1/+664
|
* Allow the interrupt allocated to the PCIC to be tuned from the kernelmsmith1999-01-291-1/+13
| | | | | environment by setting the variable machdep.pccard.pcic_irq. If the IRQ is invalid, the PCIC will run in polled mode.
* Change multiline comments to start with a lone /* and end with a */,grog1999-01-2920-379/+723
| | | | | | apparently in accordance with style(9). Complained-about-by: bde
* Document the machdep.pccard.pcic_irq tunable, which allows the user to tunemsmith1999-01-291-0/+8
| | | | | | the interrupt which will be given to the PCIC. If the value supplied is illegal or not available, interrupts will be turned off and polled mode used instead.
* Change multiline comments to start with a lone /* and end with a */,grog1999-01-291-17/+26
| | | | | | | | | | | apparently in accordance with style(9). Complained-about-by: bde vinumopen: Change check for root user to a call to suser(9) vinumclose: Remove check for root user. Nitpicked-by: phk
* Support for MSP3410D / MSP3415D Stereo/Mono audio using the audio formatroger1999-01-282-32/+712
| | | | | | | | | | | | | | | Auto Detection Mode. This leaves MSP3400C owners still unsupported. Thanks to Gerd Knorr <kraxel@cs.tu-berlin.de> for providing some early assistance and sample code in the linux bttv driver. Nicolas Souchu <nsouch@freebsd.org> ported the msp_read/write/reset functions to smbus/iicbus. METEOR_INPUT_DEV2 now selects a composite camera on the SVIDEO port. For true SVIDEO, use METEOR_INPUT_DEV_SVIDEO. If you get a monochrome image from the SVIDEO port, you have seleted the wrong input type. Tested by: Johan Larsson<gozer@ludd.luth.se>
* Fix warnings related to -Wall -Wcast-qualdillon1999-01-2815-29/+35
|
* Clarify the SYSINIT problem by breaking SYSINIT's up into a void *dillon1999-01-282-9/+37
| | | | | | | | | version and a const void * version. Currently the const void * version simply calls the void * version ( i.e. no 'fix' is in place ). A solution needs to be found for the C_SYSINIT ( etc...) family of macros that allows const void * without generating a warning, but does not allow non-const void *.
* Added METEOR_DEV2 and METEOR_DEV3roger1999-01-283-6/+9
|
* Submitted by: Nicolas Souchu <nsouch@freebsd.org>roger1999-01-281-1/+50
| | | | | Updated to support bt848 driver and MSP3400 audio chip. This adds changes made in 1.4.2.1 and 1.4.2.2 from RELENG_3
* Submitted by: Nicolas Souchu <nsouch@freebsd.org>roger1999-01-281-3/+6
| | | | | Updated to support bt848 driver MSP34xx audio chip. This adds changes made in 1.3.2.1 and 1.3.2.2 from RELENG_3
* Submitted by: Nicolas Souchu <nsouch@freebsd.org>roger1999-01-281-2/+2
| | | | Added support required by bt848 driver for MSP34xx audio chip
* Oops, added parentheses after `else'.kato1999-01-281-1/+2
| | | | Submitted by: Takahashi Yoshihiro <nyan@dd.catv.ne.jp>
* Sun Bug ID 1251858 (on http://sunsolve1.sun.com) discusses the way thatnewton1999-01-284-6/+28
| | | | | | | | | | | | Sun implemented iBCS2 compatibility on Solaris >= 2.6: The emulator runs in user-mode, patching the LDT so that client programs making syscalls through the old iBCS2 call gate get handled by the emulator process. Unemulated syscalls therefore need their own call-gate that bypasses the emulator. Sun chose LDT entry 4 to implement this, which is what we've been using as LUDATA_SEL, so we need to change LUDATA_SEL if we want to run Solaris executables. Discussed with: Mike Smith
* The "easy" fixe for compiling the kernel -Wunused: remove unreferencedkato1999-01-283-3/+9
| | | | local variable.
* The "easy" fixes for compiling the kernel -Wunused: remove unreferenced statickato1999-01-287-18/+42
| | | | and local variables, goto labels, and functions declared but not defined.
* - Fixed the bug which always ignored Ctrl-Pause/Break on the AT 101yokota1999-01-283-72/+157
| | | | | | | | | keyboard. - Translate some keycode for the 84 keyboard so that the 84 keyboard and the 101 keyboard become more compatible in terms of keycodes. - Updated the built-in keymaps so that it is in line with the recent changes in share/syscons/keymaps. - Added some comment on the Pause/Break key on the 101 keyboard.
* Sync with sys/i386/isa/wd.c revision 1.187.kato1999-01-281-6/+7
|
* Sync with sys/i386/isa/if_ed.c revision 1.149.kato1999-01-281-3/+3
|
* Sync with sys/i386/isa/diskslice_machdep.c revision 1.33.kato1999-01-282-10/+10
|
* Sync with sys/i386/i386/userconfig.c revision 1.127.kato1999-01-281-14/+18
|
* Sync with sys/i386/conf/GENERIC revision 1.144.kato1999-01-282-2/+4
|
* build_write_request: only fail if all plexes are down, instead of ifgrog1999-01-281-1/+4
| | | | | | any of them are down. Reported-by: dg
* Fix some format breakage before bde finds outgrog1999-01-281-156/+106
| | | | | | | | vinum_scandisk: check not only drive error, but also drive state, before accessing the drive. drivecmp: Remove warning messages by Backing out overly constant declarations in revision 1.9.
* Make builtin's state-aware in loader.jkh1999-01-281-14/+106
| | | | | Submitted by: Daniel C. Sobral PR: 9663
* Correct test in poll loop for determining that the mailbox is free togibbs1999-01-282-14/+4
| | | | accept a new command.
* Fix warnings in preparation for adding -Wall -Wcast-qual to thedillon1999-01-282-4/+4
| | | | kernel compile
* Fix warnings in preparation for adding -Wall -Wcast-qual to thedillon1999-01-2853-398/+402
| | | | kernel compile
* Fix parenthesization, but the code still looks wrong.dillon1999-01-282-4/+14
|
* Fix warnings in preparation for adding -Wall -Wcast-qual to thedillon1999-01-2854-223/+228
| | | | kernel compile
* Fix but in devfs_strategy(). Switch cases were falling throughdillon1999-01-271-1/+3
| | | | | instead of breaking out, so a VCHR devices would run the VCHR routine and then fall through and run the VBLK routine. Fixed.
* Fix warnings in preparation for adding -Wall -Wcast-qual to thedillon1999-01-2729-127/+139
| | | | | | | kernel compile. This commit includes significant work to proper handle const arguments for the DDB symbol routines.
* Turn on -Wall and -Wcast-qualdillon1999-01-271-5/+11
|
* Fix nasty bug in nfs_access(). A conditional was if (a = b) instead ofdillon1999-01-272-4/+4
| | | | if (a == b).
* Fix warnings in preparation for adding -Wall -Wcast-qual to thedillon1999-01-272-12/+12
| | | | kernel compile
* Fix warnings in preparation for adding -Wall -Wcast-qual to thedillon1999-01-2772-282/+315
| | | | kernel compile
OpenPOWER on IntegriCloud