summaryrefslogtreecommitdiff
Commit message (Collapse)AuthorAgeFilesLines
* More support for Alpha installs.Jordan K. Hubbard1999-01-293-4/+76
| | | | | | | Submitted by: dfr Notes: svn path=/head/; revision=43393
* More support for Alpha installs.Jordan K. Hubbard1999-01-297-16/+104
| | | | | | | Submitted by: dfr Notes: svn path=/head/; revision=43392
* Removed a bogus cast to v_caddr_t. This is part of terminatingBruce Evans1999-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. Notes: svn path=/head/; revision=43391
* Fixed comment and whitespace lossage in recent commits. The -W flagBruce Evans1999-01-292-14/+28
| | | | | | | | | 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". Notes: svn path=/head/; revision=43390
* Sync with sys/i386/i386/machdep.c revision 1.323.KATO Takenori1999-01-292-2/+22
| | | | Notes: svn path=/head/; revision=43389
* Cast to `const char *' instead of to c_caddr_t. This is part ofBruce Evans1999-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. Notes: svn path=/head/; revision=43388
* More -Wall / -Wcast-qual cleanup. Also, EXEC_SET can't useMatthew Dillon1999-01-298-24/+28
| | | | | | | | C_DECLARE_MODULE due to the linker_file_sysinit() function making modifications to the data. Notes: svn path=/head/; revision=43387
* Removed bogus casts to c_caddr_t. This is part of terminatingBruce Evans1999-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. Notes: svn path=/head/; revision=43386
* Commit a solution for the SYSINIT vs C_SYSINIT conundrum. TheMatthew Dillon1999-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. Notes: svn path=/head/; revision=43385
* Removed a bogus cast to c_caddr_t. This is part of terminatingBruce Evans1999-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. Notes: svn path=/head/; revision=43384
* cleanup warnings by propogating const char pointers properly.Matthew Dillon1999-01-291-3/+3
| | | | Notes: svn path=/head/; revision=43383
* Removed a bogus cast to c_caddr_t. This is part of terminatingBruce Evans1999-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). Notes: svn path=/head/; revision=43382
* Have EXEC_SET use C_DECLARE_MODULE instead of DECLARE_MODULE.Matthew 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. Notes: svn path=/head/; revision=43381
* Cleanup bsd.kern.mk after last commit.Matthew Dillon1999-01-292-28/+8
| | | | Notes: svn path=/head/; revision=43376
* If vfs.nfs.diskless_valid does not exist, the conditional failsMatthew Dillon1999-01-291-2/+3
| | | | | | | | | and spews an error message we'd rather not spew. Fixed. Submitted by: Kevin Street <street@iname.com> Notes: svn path=/head/; revision=43375
* Check size of partition before using it.Robert Nordier1999-01-292-4/+6
| | | | Notes: svn path=/head/; revision=43374
* Include .gdbinit for debuggingGreg Lehey1999-01-292-1/+664
| | | | Notes: svn path=/head/; revision=43373
* Add section on debugging configuration problems and panics.Greg Lehey1999-01-291-0/+204
| | | | Notes: svn path=/head/; revision=43371
* Allow the interrupt allocated to the PCIC to be tuned from the kernelMike Smith1999-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. Notes: svn path=/head/; revision=43370
* Change multiline comments to start with a lone /* and end with a */,Greg Lehey1999-01-2920-379/+723
| | | | | | | | | apparently in accordance with style(9). Complained-about-by: bde Notes: svn path=/head/; revision=43369
* Document the machdep.pccard.pcic_irq tunable, which allows the user to tuneMike Smith1999-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. Notes: svn path=/head/; revision=43368
* Change multiline comments to start with a lone /* and end with a */,Greg Lehey1999-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 Notes: svn path=/head/; revision=43367
* Reflect syslog(8)'s acceptance of either tabs or spaces.Bill Fumerola1999-01-282-10/+2
| | | | | | | | PR: docs/9660 Submitted by: Kris Kennaway <kkennawa@physics.adelaide.edu.au> Notes: svn path=/head/; revision=43364
* Fix nasty bug where getpackagesite() will return an integer if it doesn'tBill Fumerola1999-01-281-2/+2
| | | | | | | | know what revision of FreeBSD is being run. This case should never happen, but just in case. Notes: svn path=/head/; revision=43359
* Now that newsyslog is capable of doing this at a specific time,Garrett Wollman1999-01-282-14/+6
| | | | | | | | | | let it rotate /var/log/wtmp again, and update monthly/200.accounting to take this into account. (Some sites might want to change the parameters of the rotation; it's easier to do this when it's all centralized in newsyslog.conf.) Notes: svn path=/head/; revision=43358
* jkoshy forgot up update the heading date on the man page.Garrett Wollman1999-01-281-2/+2
| | | | Notes: svn path=/head/; revision=43356
* Typo.Bill Fumerola1999-01-281-2/+2
| | | | | | | | PR: docs/9752 Submitted by: horikawa@jp.FreeBSD.org Notes: svn path=/head/; revision=43354
* Support for MSP3410D / MSP3415D Stereo/Mono audio using the audio formatRoger Hardiman1999-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> Notes: svn path=/head/; revision=43353
* Fix synopsis to match 1003.2. Add text describing the way in whichGarrett Wollman1999-01-281-10/+19
| | | | | | | | our implementation does not meet 1003.2 (rather than the now outdated ``is expected to comply' language). Notes: svn path=/head/; revision=43352
* Fix warnings related to -Wall -Wcast-qualMatthew Dillon1999-01-2815-29/+35
| | | | Notes: svn path=/head/; revision=43351
* Clarify the SYSINIT problem by breaking SYSINIT's up into a void *Matthew 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 *. Notes: svn path=/head/; revision=43350
* Added METEOR_DEV2 and METEOR_DEV3Roger Hardiman1999-01-283-6/+9
| | | | Notes: svn path=/head/; revision=43348
* Submitted by: Nicolas Souchu <nsouch@freebsd.org>Roger Hardiman1999-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 Notes: svn path=/head/; revision=43347
* Submitted by: Nicolas Souchu <nsouch@freebsd.org>Roger Hardiman1999-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 Notes: svn path=/head/; revision=43346
* Submitted by: Nicolas Souchu <nsouch@freebsd.org>Roger Hardiman1999-01-281-2/+2
| | | | | | | Added support required by bt848 driver for MSP34xx audio chip Notes: svn path=/head/; revision=43345
* MAINTAINER=brian@FreeBSD.orgBrian Somers1999-01-281-1/+3
| | | | Notes: svn path=/head/; revision=43344
* Oops, added parentheses after `else'.KATO Takenori1999-01-281-1/+2
| | | | | | | Submitted by: Takahashi Yoshihiro <nyan@dd.catv.ne.jp> Notes: svn path=/head/; revision=43341
* Sun Bug ID 1251858 (on http://sunsolve1.sun.com) discusses the way thatMark Newton1999-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 Notes: svn path=/head/; revision=43340
* The "easy" fixe for compiling the kernel -Wunused: remove unreferencedKATO Takenori1999-01-283-3/+9
| | | | | | | local variable. Notes: svn path=/head/; revision=43339
* The "easy" fixes for compiling the kernel -Wunused: remove unreferenced staticKATO Takenori1999-01-287-18/+42
| | | | | | | and local variables, goto labels, and functions declared but not defined. Notes: svn path=/head/; revision=43338
* - Fixed the bug which always ignored Ctrl-Pause/Break on the AT 101Kazutaka YOKOTA1999-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. Notes: svn path=/head/; revision=43337
* Update example to match new builtin behavior.Jordan K. Hubbard1999-01-281-3/+6
| | | | | | | | Submitted by: Daniel C. Sobral <dcs@newsguy.com> PR: 9744 Notes: svn path=/head/; revision=43336
* - Fix errors in some keymap files.Kazutaka YOKOTA1999-01-2847-356/+750
| | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | - The numpad * key should always generate *. - The numpad - is fkey52 and should not generate a control code (0x1f). - The numpad 5 is fkey54, not fkey61. - The numpad 6 is fkey55 and should not generate a control code (0x1e). - Fix Spanish keymap. PR: i386/9532 Submitted by jose@we.lc.ehu.es. - Added Croatian keymap. It is the same as the Slovenian keymap. PR: misc/9706 Pointed out by: Damjan Marion - Addef Finnish keymap. It is the same as the Swedish keymap. PR: bin/9632 Submitted by: Martti Kuparinen - Assign special functions consistently in all keymap files. 101 keyboard 84 keyboard function ------------------------------------------------------------------------ Ctrl-Alt-Delete Ctrl-Alt-Delete reboot Ctrl-Alt-Esc Ctrl-Alt-Esc debug Ctrl-Alt-Space Ctrl-Alt-Space susp ScrollLock ScrollLock slock PrintScreen Shift-(Numpad *)/PrintScreen nscr Ctrl-PrintScreen Shift-Ctrl-(Numpad *)/PrintScreen debug Alt-PrintScreen/SysRq SysRq nop Pause Ctrl-NumLock slock Shift-Pause Shift-Ctrl-NumLock saver Alt-Pause Alt-Ctrl-NumLock susp Ctrl-Pause/Break Ctrl-ScrollLock/Break nop Left W*ndow key NA fkey62 Right W*ndow key NA fkey63 Menu NA fkey64 NOTE: us.unix.kbd and us.emacs.kbd are very much different from the other keymaps, thus, I didn't touch them. Notes: svn path=/head/; revision=43334
* Version 2.0 > 2.1 to reflection RADIUS additions.Brian Somers1999-01-281-3/+3
| | | | Notes: svn path=/head/; revision=43333
* Sync with sys/i386/isa/wd.c revision 1.187.KATO Takenori1999-01-281-6/+7
| | | | Notes: svn path=/head/; revision=43332
* Sync with sys/i386/isa/if_ed.c revision 1.149.KATO Takenori1999-01-281-3/+3
| | | | Notes: svn path=/head/; revision=43331
* Sync with sys/i386/isa/diskslice_machdep.c revision 1.33.KATO Takenori1999-01-282-10/+10
| | | | Notes: svn path=/head/; revision=43330
* Sync with sys/i386/i386/userconfig.c revision 1.127.KATO Takenori1999-01-281-14/+18
| | | | Notes: svn path=/head/; revision=43329
* Sync with sys/i386/conf/GENERIC revision 1.144.KATO Takenori1999-01-282-2/+4
| | | | Notes: svn path=/head/; revision=43328
* build_write_request: only fail if all plexes are down, instead of ifGreg Lehey1999-01-281-1/+4
| | | | | | | | | any of them are down. Reported-by: dg Notes: svn path=/head/; revision=43323