summaryrefslogtreecommitdiffstats
Commit message (Collapse)AuthorAgeFilesLines
...
* | | Put tslb_device structure in this file. Put a pointer to to primarymjacob2000-01-291-1/+13
| | | | | | | | | | | | CPU's structure.
* | | Clean up some compilation warnings and errors.mjacob2000-01-291-13/+2
| | |
* | | Remove (commented out and marked as broken) pseudo-device tb. This waspeter2000-01-293-12/+0
| | | | | | | | | | | | added in rev 1.205 (october 1995).
* | | Remove kern/tty_tb.c.peter2000-01-291-1/+0
| | |
* | | Remove sys/tablet.h and kern/tty_tb.c (the old RS232 CAD-style tabletpeter2000-01-292-466/+0
| | | | | | | | | | | | | | | | | | | | | | | | support code). It hasn't worked since at least October 1995, and probably has never worked in the FreeBSD 2.0+ tree. Obviously it's not a priority to many folks. Reviewed by: phk, sos
* | | Remove a warning from LINTn_hibma2000-01-291-1/+1
| | |
* | | Remove a bunch of unused (NO-OP) #if NFOO > 0 type includes and somepeter2000-01-2918-63/+0
| | | | | | | | | | | | #include "foo.h" headers.
* | | Fix this so LINT compiles. There is no way this could have worked ifpeter2000-01-291-5/+5
| | | | | | | | | | | | | | | | | | tested with LINT. I've put back netatm/kern_include.h and maked it with a fixme!, otherwise NETISR_ATM isn't defined as ATM_KERNEL isn't defined. Defining that exposes a whole bunch of other dependencies.. :-(
* | | Remove #if NFOO > 0 (it's not required in most cases) and also where itpeter2000-01-2914-61/+0
| | | | | | | | | | | | | | | isn't used as a result, remove #include "foo.h". Many of these drivers still use NFOO for softc struct sizing etc however.
* | | Don't build the wdc atapi attachments unless wdc is also present.peter2000-01-291-3/+3
| | |
* | | Unbreak LINT.n_hibma2000-01-291-1/+1
| | | | | | | | | | | | Pointed out by: Peter Wemm
* | | Dont confuse our users with this, the ata driver uses burncd.sos2000-01-292-88/+0
| | |
* | | Put a FYI in the compatability shims so that people are aware that theypeter2000-01-293-0/+3
| | | | | | | | | | | | | | | | | | | | | | | | | | | are using an old unconverted driver. Most (if not all) of the drivers for common hardware are newbus these days. However, we don't want to encourage people to take the easy way out and write new drivers using the shims. This is just passive "encouragement". Reviewed by: phk
* | | Increase the default msgbuf size from 8k to 32k. Boot -v easilypeter2000-01-291-1/+1
| | | | | | | | | | | | | | | | | | | | | | | | overflows the default buffer making it too hard to get a dmesg from a verbose boot. It's still changeable via an option, so if picobsd needs to set it to something else they still can. Reviewed by: phk, alfred
* | | This patch fixes a locking bug that can result in deadlock ifrwatson2000-01-292-4/+34
| | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | the codepath is followed. From the PR: vclean calls vrele leading to deadlock (if usecount > 0) vclean() calls vrele() if v_usecount of the node was higher than one. But before calling it, it sets the VXLOCK flag, which will make vn_lock called from vrele dead-lock. PR: kern/15117 Submitted by: Assar Westerlund <assar@stacken.kth.se> Reviewed by: rwatson Obtained from: NetBSD
* | | Use config's conditional compilation rather than using #ifdefs that makepeter2000-01-2929-166/+10
| | | | | | | | | | | | | | | modular compilation harder. I'm doing this because people seem to like cut/pasting examples of bad practices in existing code.
* | | Arrange for the following files to be compiled when the configurationpeter2000-01-292-4/+4
| | | | | | | | | | | | | | | | | | | | | conditions are met rather than having to resort to #if's in the code. > dev/syscons/scvgarndr.c optional sc vga > dev/syscons/scvesactl.c optional sc vga vesa > i386/isa/vesa.c optional vga vesa
* | | First part of the fix for ohci_hash_find_td panic.n_hibma2000-01-291-4/+21
| | | | | | | | | | | | | | | | | | | | | Some controllers submit bogus pointers to the Done queue. ohci_hash_find_td fails to find these in its hash and panics. Instead of panicing we now assume the whole done queue is lost and let the timeout code to clean up the mess after us.
* | | Remove #if NVX > 0 and #if NEISA > 0 (and #include "eisa.h") as it's notpeter2000-01-293-15/+0
| | | | | | | | | | | | needed.
* | | Remove #include "vga.h" and #if NVGA > 0 as it's implied by config.peter2000-01-291-5/+0
| | |
* | | Remove #include "splash.h" and #if NSPLASH > 0" - it's implied by config.peter2000-01-291-6/+0
| | |
* | | Remove #if NIE > 0 test, it's guaranteed to be true by config.peter2000-01-291-2/+0
| | |
* | | Add comments and debugging info.n_hibma2000-01-291-9/+20
| | |
* | | Remove #if NEN > 0 in the name of FreeBSD - it's not required as configpeter2000-01-291-5/+1
| | | | | | | | | | | | only compiles this file if it's true. NEN is still used though. :-(
* | | Remove #include "eisa.h" and #if NEISA > 0 as it's only ever compiledpeter2000-01-291-4/+0
| | | | | | | | | | | | if NEISA is > 0 as guaranteed by config.
* | | Synced with sys/isa/ppc.c rev 1.26.kato2000-01-292-8/+0
| | |
* | | Remove #if NCCD > 0 - it's guaranteed to be true by config if ccd.c ispeter2000-01-292-4/+0
| | | | | | | | | | | | being compiled. (NCCD is used elsewhere though :-( )
* | | Remove #include "eisa.h" and #if NEISA > 0 - this is guaranteed by config.peter2000-01-291-5/+0
| | |
* | | remove #include "eisa.h" and #if NEISA > 0 - this is guaranteed bypeter2000-01-291-7/+1
| | | | | | | | | | | | | | | config since ahc_eisa.c is "optional ahc eisa" meaning "only compile ahc_eisa if ahc and eisa are defined"
* | | Synced with sys/kern/subr_diskmbr.c rev 1.44.kato2000-01-291-48/+62
| | |
* | | The toggle carry bit is stored in the headp not the tailp.n_hibma2000-01-291-2/+2
| | |
* | | Fix for (amongst other things) the cross-compile case where a too-oldmarkm2000-01-291-1/+1
| | | | | | | | | | | | | | | | | | version of libperl was being found. Tested on: beast
* | | cosmetic changes only.sos2000-01-293-30/+9
| | |
* | | Remove #include "ppc.h" and #if NPPC > 0 - this is always true as it ispeter2000-01-292-8/+0
| | | | | | | | | | | | 'optional ppc' in conf/files*
* | | Synced with sys/kern/subr_diskmbr.c rev 1.43.kato2000-01-291-19/+18
| | |
* | | Fixed IEXTEN handling in raw mode again. The effect of IEXTEN whenbde2000-01-291-2/+9
| | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | ICANON is off is implementation-defined. Under BSD, IEXTEN is independent of ICANON, so it must be turned off to get "raw" mode. This was first fixed in rev.1.4 (1995/10/21) of libncurses/lib_raw.c, but the change was lost in the downgrade to the contrib version. The fix here is the same as in the old rev.1.4, less style bugs. A better fix would use cfmakeraw(3) to actually handle all of the complications for switching to raw mode.
* | | Add ip6fw.shin2000-01-2914-0/+3195
| | | | | | | | | | | | | | | | | | | | | | | | | | | | | | Yes it is almost code freeze, but as the result of many thought, now I think this should be added before 4.0... make world check, kernel build check is done. Reviewed by: green Obtained from: KAME project
* | | Remove a workaround for a gas bug. It couldn't assemble a certainpeter2000-01-292-6/+2
| | | | | | | | | | | | | | | lgdt instruction, but the binutils based one is fine and has been for ages.
* | | Synced with sys/boot/i386/btx/btx/btx.s rev 1.14.kato2000-01-292-2/+6
| | |
* | | fix breakage of make release.shin2000-01-291-3/+10
| | | | | | | | | | | | Confirmed by: German Tischler <tanis@gaspode.franken.de>
* | | Synced with sys/isa/ppc.c rev 1.25.kato2000-01-292-22/+54
| | | | | | | | | | | | Reminded by: nyan
* | | Fix our -mprofiler-epilogue code.obrien2000-01-293-46/+137
| | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | "The problem is that egcs/gcc-2.95's reorganisation of the prologue and epilogue code to use rtl instead of output_asm_insn() completely broke our hooks. rtl is emitted in a different order, only after optimisation, while output_asm_insn() is emitted immediately. rtl is presumably used so that the prologue and epilogue can be optimised. I couldn't find any good examples to copy. gcc's own FUNCTION_BLOCK_PROFILER still uses output_asm_insn() and seems to be completely broken. One of the XXX comments points to this. IIRC, the hacks here basically arrange to emit magic label names; then when the magic names are output, they are transformed into prologue and epilogue code." Submitted by: bde
* | | Undo the ill-conceived breakage of the previous commit and really fix:jasone2000-01-293-26/+28
| | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | For libc_r renamed syscalls, correct symbol naming from _thread_sys_foo() <-- _foo() to _thread_sys_foo() <-- _foo() <-- foo(). This is necessary for system calls which libc_r doesn't define foo(). Some weak symbols such as poll() are defined twice. From what I understand, depending on one weak symbol or the other to be used is a bad idea. All such weak symbols defined in the libc_r-specific code should therefore be made strong (non-weak?). Simplify PSEUDO() to not define any weak symbols, since they aren't ever needed. alpha/SYS.h: Correct reversed usage of WEAK_ALIAS(), which has reversed arguments from __weak_reference(). Also, fix reversal of symbols, so that syscall foo() is a weak alias for _foo(). Add WEAK_ALIAS() call to PRSYSCALL(), which unlike the i386 version of PRSYSCALL(), is not defined in terms of PSYSCALL(). Make PSEUDO() equivalent to the i386 version.
* | | Regen after pointing to the real setres[ug]id(). Remove dummy function.peter2000-01-295-23/+11
| | | | | | | | | | | | | | | (Note: getres[ug]id is still a dummy as it returns via pointers to a different sized integer and does need real wrappers.)
* | | Use the real setres[ug]id(2) rather than dummy stubs. Newer glibc'speter2000-01-292-8/+8
| | | | | | | | | | | | call this.
* | | "Rev.1.45 of cc_tools/Makefile was a wrong fix for a problem introducedobrien2000-01-291-3/+3
| | | | | | | | | | | | | | | | | | | | | | | | | | | in rev.1.44 (the egcs to gcc switch). The problem is that print-rtl.o is now needed to build some tools, but it wasn't added to the list of objects which are specially handled because they are prerequisites for tools." Submitted by: bde
* | | Revert to rev 1.6 until post 4.0-R. As probably 98% of i386 installsobrien2000-01-292-2/+4
| | | | | | | | | | | | | | | | | | happen with a keyboard and monitor the console change was not as needed in the i386 case as the Alpha case. IMO >50% of Alpha installs are using a serial console, the change matching rev 1.7 should not be backed out.
* | | Move the header installation down into `readline' which is the subsystemobrien2000-01-292-12/+8
| | | | | | | | | | | | the headers are part of.
* | | Mask off the last two bits before comparing. It might just be that somen_hibma2000-01-292-4/+9
| | | | | | | | | | | | hardware might leave those bits in the wrong state.
* | | Tripmine for bad hardware.n_hibma2000-01-291-0/+4
| | |
OpenPOWER on IntegriCloud