summaryrefslogtreecommitdiffstats
path: root/sys
Commit message (Collapse)AuthorAgeFilesLines
* Fourth update to the new ATA/ATAPI driver:sos1999-03-2812-233/+851
| | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | Well, better late than newer, but things has been hectic around here, sorry for the long delay. DMA support has been added to the ATA disk driver. This only works on Intel PIIX3/4, Acer Aladdin and Promise controllers. The promise support works without the BIOS on the board, and timing modes are set to support up to UDMA speed. This solves the problems with having more than one promise controller in the same system. There is support for "generic" DMA, that might work on other controllers, but now you have been warned :) More chipset specific code will come soon, I have to find testers with the approbiate HW, more on that when I have it ready. The system now uses its own major numbers, please run MAKEDEV with the devices you need (ad?, acd?, afd?, ast?). For now the disk driver will also attach to the old wd major so one can at least boot without this step, but be warned, this will eventually go away. The bootblocks will have to be changed before one can boot directly from an "ad" device though. Fixed problems: All known hang problems should be solved The probe code has been sligthly changed, this should solve the reports I have lying around (I hope). Hangs when accessing ata & atapi device on the same channel simultaniously. A real braino in ata_start caused this, fixed. As usual USE AT YOUR OWN RISK!!, this is still pre alpha level code. Especially the DMA support can hose your disk real bad if anything goes wrong, agaiin you have been warned :) But please tell me how it works for you! Enjoy! -Søren
* Fix some warnings.dfr1999-03-281-11/+1
|
* Fix a few warnings.dfr1999-03-281-11/+15
|
* Remove trigraph.dfr1999-03-281-2/+2
|
* Restructure the .gdbinit files:grog1999-03-284-1/+804
| | | | | | | | | | | | | | | | | | | .gdbinit.crash contains a top-level .gdbinit suitable for debugging crash dumps .gdbinit.serial contains a top-level .gdbinit suitable for serial debugging Each of these two files reads the following files: .gdbinit.kernel: This file contains general macros suitable for kernel debugging. It is not related to vinum .gdbinit.vinum: This file contains macros specific to debugging vinum. .gdbinit.paths: Contains information about the location of the source and object files on the system.
* Restructure the .gdbinit files:grog1999-03-281-644/+3
| | | | | | | | | | | | | | | | | | | .gdbinit.crash contains a top-level .gdbinit suitable for debugging crash dumps .gdbinit.serial contains a top-level .gdbinit suitable for serial debugging Each of these two files reads the following files: .gdbinit.kernel: This file contains general macros suitable for kernel debugging. It is not related to vinum .gdbinit.vinum: This file contains macros specific to debugging vinum. .gdbinit.paths: Contains information about the location of the source and object files on the system.
* Add definition LongJmp for longjmp if -DVINUMDEBUG.grog1999-03-281-6/+9
| | | | Change some comment texts
* set_sd_state: Handle sd_empty correctly. In particular, requiregrog1999-03-281-72/+80
| | | | | | | force to bring a subdisk of a RAID-5 plex out of this state. update_plex_state: Rewrite yet again.
* Put some \ns in some log messages.grog1999-03-281-3/+3
|
* Add function LongJmp which checks the parameters before callinggrog1999-03-281-7/+48
| | | | | | longjmp. I suspect that the occasional double panic may be the result of incorrect parameters to longjmp. This happens, of course, like the entire file, only with -DVINUMDEBUG.
* Remove longjmp declaration.grog1999-03-282-14/+2
|
* Add declaration for forceup () (in vinumstate.c)grog1999-03-281-1/+9
| | | | Add declarations for setjmp, cmd_buf and longjmp.
* Remove longjmp declaration.grog1999-03-281-87/+150
| | | | | | | | | | | | | | | | | | | | | | | | | | | | give_sd_to_plex: Don't set Raid-5 subdisk state here. config_subdisk: handle the name parameter correctly when the subdisk was referenced in a previous plex definition. The name parameter must come first. Handle autosizing relatively correctly. There is still a danger of losing drive space if problems occur with an autosized subdisk. Set state to empty, not up, when complete. This also solves a nagging problem about enforcing the need to initialize RAID-5 plexes. config_plex: handle the name parameter correctly when the plex was referenced in a previous volume definition. The name parameter must come first. Handle initial state better. update_plex_config: Calculate the trim factor for RAID-5 plexes correctly. Set the number of down subdisks correctly when reading from disk config.
* Remove longjmp declaration.grog1999-03-281-9/+6
| | | | free_vinum: Put a timeout on waiting for the daemon to die.
* Add 'referenced' states to subdisks and plexes.grog1999-03-282-2/+9
|
* Add support for SiS 5591/5595 chipset.grog1999-03-281-3/+224
| | | | | | | | | | | | | Contributed-by: "Richard Seaman, Jr." <dick@tar.com> Tested-by: Chris Piazza <cpiazza@home.net> Tugrul Galatali <tugrul@ianai.BlackSun.org> grog This code includes lots of stuff for verbose probing. I'm not 100% sure that the output of the verbose probe is correct, but everything else works fine, and -CURRENT was broken for the 5591 before, so I'm committing it anyway.
* Mainly, eliminate the comments about share maps. (We don't have share mapsalc1999-03-271-33/+7
| | | | | any more.) Also, eliminate an incorrect comment that says that we don't coalesce vm_map_entry's. (We do.)
* Cleaning up of code, remove unneeded cruft and maken_hibma1999-03-274-254/+180
| | | | code more compact.
* Fixed line counting error.n_hibma1999-03-271-1/+3
|
* Added pread and pwrite. These functions are defined by the X/Openalc1999-03-278-8/+159
| | | | | | Threads Extension. (Note: We use the same syscall numbers as NetBSD.) Submitted by: John Plevyak <jplevyak@inktomi.com>
* Make the xl and pn drivers work on FreeBSD/alpha and add them towpaul1999-03-276-66/+124
| | | | | | | | | | | | | | | sys/alpha/conf/GENERIC. Note: the PNIC ignores the lower few bits of the RX buffer DMA address, which means we have to add yet another kludge to make it happy. Since we can't offset the packet data, we copy the first few bytes of the received data into a separate mbuf with proper alignment. This puts the IP header where it needs to be to prevent unaligned accesses. Also modified the PNIC driver to use a non-interrupt driven TX strategy. This improves performance somewhat on x86/SMP systems where interrupt delivery doesn't seem to be as fast with an SMP kernel as with a UP kernel.
* Bump __FreeBSD_version to denote that we now have a functionalsteve1999-03-271-2/+2
| | | | | | dladdr(3) implementation. Discussed with: jdp, nate
* Remove incorrect lock specs for vop_whiteout (introduced by Lite/2).eivind1999-03-271-5/+9
| | | | | | | The lock specs are for vnodes only. Add (hopefully correct) lock specs for vop_strategy, vop_getpages and vop_putpages.
* Correct a comment.eivind1999-03-271-2/+2
|
* Changed vn_read/write such that fp->f_offset isn't touchedalc1999-03-261-4/+15
| | | | | | | | | if uio->uio_offset != -1. This fixes a problem with aio_read/write and permits a straightforward implementation of pread/pwrite. PR: kern/8669 Submitted by: John Plevyak <jplevyak@inktomi.com> Reviewed by: Matthew Dillon <dillon@apollo.backplane.com>
* Use the correct length from the mbuf header instead of the one fromluigi1999-03-261-9/+9
| | | | | | | | the IP header (this would not work for bridged packets). This has been fixed long ago in the 2.2 branch. Problem noticed by: a few people Fix suggested by: Remy Nonnenmacher
* Annoying little nigglet- apparently *some* Qlogic temporarily ignoremjacob1999-03-261-2/+10
| | | | | | settings you've just sent them and return random values if you follow the set by a get. This causes problems when you latter run a Tag-enabled command when you've command tagged mode off.
* - Made the setting of the machdep.pccard.pcic_irq from the boot config filenate1999-03-261-5/+6
| | | | | | actually work. Reviewed by: "Sean O'Connell" <sean@stat.Duke.EDU>, msmith
* enable 1080 LVD supportmjacob1999-03-252-42/+38
|
* Add in 1080 LVD support and some basis also for the 1240. The port databasemjacob1999-03-256-302/+413
| | | | printout is now enabled.
* roll internal tag levelmjacob1999-03-251-3/+2
|
* roll internal tag levelmjacob1999-03-252-4/+4
|
* Sync with sys/i386/isa/wd.c revision 1.190.kato1999-03-251-2/+4
|
* Sync with sys/i386/isa/sio.c revision up to 1.231.kato1999-03-252-2/+6
|
* Sync with sys/i386/conf/majors.i386 revision 1.69.kato1999-03-251-2/+3
|
* PacketAliasProxyRule takes a const char *brian1999-03-251-1/+1
| | | | Reminded by: bde
* Add Turtle Beach Malibu soundcard (and a sample config) to CARDS aschuckr1999-03-251-0/+6
| | | | | a real example of a CS4237 soundcard. Luigi said all contributions like this were welcome in this file.
* Add support for Cardinal MVP288IV PnP modem.steve1999-03-251-1/+2
| | | | Submitted by: Alex Zepeda <garbanzo@hooked.net>
* Implement TUNSIFMODE and TUNSLMODE.des1999-03-243-3/+47
| | | | Submitted by: Alfred Perlstein <bright@cygnus.rush.net>
* Add a ``const'' and remove some inconsistent prototype args.brian1999-03-243-4/+4
|
* Add support for the USR3090 PnP modem.steve1999-03-241-1/+2
| | | | | PR: 10773 Submitted by: Mike Durian <durian@boulderlabs.com>
* add missing #include "opt_bdg.h"luigi1999-03-241-1/+2
|
* Added a number of device names: Konica, Microsoft, Macallyn_hibma1999-03-242-0/+39
|
* Update Specialix download microcode for the transputer based serial hostpeter1999-03-242-4284/+4492
| | | | | | | cards from the 3.0-beta to 3.0.4 release. Submitted-by: Nick Sayer <nsayer@quack.kfu.com> PR: 10674
* Correct the text of an obscure error message.grog1999-03-241-2/+2
|
* Remove duplicate line.billf1999-03-231-1/+0
| | | | Reviewed by: eivind
* Check whether the PIRQD enable bit is set in LegSup and if not, set it.n_hibma1999-03-232-16/+34
| | | | | On my PIIX4 chip rev 1 this is required. Have not had any complaints from other people so it might be a problem with this stepping.
* 1) clean up debugging outputn_hibma1999-03-232-12/+6
| | | | | | 2) remove erroneous querying of PCI LegSup register while it should be fetched from PCI config space 3) change name of define for this register
* Call the module's unload handler before removing the device from thedfr1999-03-231-19/+26
| | | | | | | cdevsw list. This allows a handler to veto the load without losing its place in the list. PR: kern/10653
* Add a sysctl variable which can help stop chroot(2) escapes.phk1999-03-232-2/+90
| | | | | | | | | | | | | | | kern.chroot_allow_open_directories = 0 chroot(2) fails if there are open directories. kern.chroot_allow_open_directories = 1 (default) chroot(2) fails if there are open directories and the process is subject of a previous chroot(2). kern.chroot_allow_open_directories = anything else filedescriptors are not checked. (old behaviour). I'm very interested in reports about software which breaks when running with the default setting.
OpenPOWER on IntegriCloud