summaryrefslogtreecommitdiffstats
path: root/sys
Commit message (Collapse)AuthorAgeFilesLines
* Moved pc98_system_parameter from .text to .data to make ELF kernelkato1999-01-304-31/+29
| | | | work.
* Distinguish EPP address/data register. Add EPP address register access to ppi.nsouch1999-01-3014-100/+129
| | | | | | | | Change microseq offsets. Previously, offsets of the program counter where added to the index of the current microinstruction. Make them rely on the index of the next executed microinstruction. Suggested by: Luigi Rizzo <luigi@labinfo.iet.unipi.it>
* Put a comment here about using suser() to determine super-user-ness.phk1999-01-301-1/+4
| | | | | | | | Using suser() means that the p_acflag will (can) be set, to show that a process used super-powers during execution. It also makes it easier to restrict roots we don't trust later on. Reviewed by: bde
* Use suser() to determine super-user-ness.phk1999-01-302-52/+32
| | | | | | Collapse some duplicated checks. Reviewed by: bde
* Use suser() to determine super-user-ness.phk1999-01-302-34/+30
| | | | | | Don't pretend we can mount RW. Reviewed by: bde
* Use suser() to determine super-user-ness, don't examine cr_uid directly.phk1999-01-308-30/+45
|
* Use suser() to check for super user rather than examining cr_uid directly.phk1999-01-3028-55/+77
| | | | | | Use TTYDEF_SPEED rather than 9600 a couple of places. Reviewed by: bde, with a few grumbles.
* Oops - Ripped out a bit of debugging code which will stop certain bitsnewton1999-01-302-2/+2
| | | | of networking from working for people without DEC Tulip ethernet cards.
* Nuked the "hello, world!" program from this directory (it hasnewton1999-01-301-0/+0
| | | | been teleported to share/examples/svr4).
* Implement and use Fast Posting for both parallel && fibre. Redo a bit ofmjacob1999-01-307-205/+410
| | | | | | | the startup code. Implement a call to outer framework function so that asynchronous events can be handled (e.g., speed negotiation, target mode). Roll internal release tags.
* Grrr.. Do the *correct* and *usable* 1.31 firmware. You have to powermjacob1999-01-301-1135/+3100
| | | | | | | | | | cycle to get rid of the old 1.31 firmware. *@!$&^@&$!&^&^!!!!! But anyway comment it out and use new SBus 7.55 firmware. We get fast posting with this as well as 32 luns and target mode support. (not that this is used yet in FreeBSD, but it's ready for FreeBSD-sparc whenever it happens....)
* roll internal release tagmjacob1999-01-301-2/+2
|
* roll internal release tagmjacob1999-01-302-4/+4
|
* Added a "README" file containing text taken from the message I sentnewton1999-01-301-0/+33
| | | | to -current explaining how to use this sucker.
* Activate svr4 modulenewton1999-01-301-2/+2
|
* Add streams pseudo-devicenewton1999-01-303-3/+9
|
* Emulator KLD for SysVR4 executables grabbed from NetBSD.newton1999-01-30120-0/+28894
| | | | | See http://www.freebsd.org/~newton/freebsd-svr4 for limitations, capabilities, history and TO-DO list.
* New pseudo-device to provide for a way of obtaining a socket by open()ingnewton1999-01-301-0/+1
| | | | | | something in /dev. Obtained from: Christos Zoulas (NetBSD)
* New pseudo-device to provide for a way of obtaining a socket by open()ingnewton1999-01-301-0/+427
| | | | | something in /dev. Obtained from: Christos Zoulas, with FreeBSD modifications
* Changed struct socket to include a new field (at the end, so as notnewton1999-01-301-1/+2
| | | | | | | | | | to break existing software) acting as a pointer to emulator-specific state data that some emulators may (or may not) need to maintain about a socket. Used by the svr4 module as a place for maintaining STREAMS emulation state. Discussed with: Mike Smith, Garrett Wollman back in Sept 98
* Unstaticized routines which are needed by the svr4 KLD and the streamsnewton1999-01-303-12/+12
| | | | garbage needed to support SysVR4 networking.
* Add MAINTAINERgrog1999-01-301-0/+1
|
* More const fixes for -Wall, -Wcast-qualdillon1999-01-297-16/+16
|
* *_execsw static structures cannot be const due to the way they interactdillon1999-01-294-8/+8
| | | | | | with EXEC_SET, DECLARE_MODULE, and module_register. Specifically, module_register. We may eventually be able to make these const, but not now.
* 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
OpenPOWER on IntegriCloud