summaryrefslogtreecommitdiffstats
path: root/sys
Commit message (Collapse)AuthorAgeFilesLines
* Destaticize some variables to allow checking on them when exiting.grog1999-03-311-2/+2
|
* daemonq_return request: Clean up request queue and free all memorygrog1999-03-311-2/+8
| | | | before returning to die.
* free_drive: free the drive free list if it has one.grog1999-03-311-0/+2
|
* vinumattach: Remove some really old, dead cruft.grog1999-03-311-26/+18
| | | | | | | | | | | | | free_vinum: Wait for daemon to stop by checking the vinum_conf.flags & VF_DAEMONOPEN. vinum_modevent: When compiled with VINUMDEBUG, check if we have forgotten to free any memory, and log an error if we have. vinumopen: Allow open of an empty subdisk (otherwise we can't initialize it).
* Make <DEL> an alternative rubout character for command input; manyjoerg1999-03-312-4/+6
| | | | serial terminals use this as their default rubout key.
* Various bug fixes to make them actually work.grog1999-03-313-650/+5
|
* Insert ifmedia_set() that I forgot and put in the vtophys() hack forwpaul1999-03-314-5/+14
| | | | | | the alpha. Now the ThunderLAN driver works on the alpha (both my sample cards check out.) Update the alpha GENERIC config to include ThunderLAN driver now that I've tested it.
* Merge from RELENG_2_2, per luigi. Fixes the ntoh?() issue for thensayer1999-03-301-18/+22
| | | | | | | | firewall code when called from the bridge code. PR: 10818 Submitted by: nsayer Obtained from: luigi
* Merge from RELENG_2_2, per luigi. Fixes the ntoh?() issue for thensayer1999-03-301-3/+30
| | | | | | | | firewall code when called from the bridge code. PR: 10818 Submitted by: nsayer Obtained from: luigi
* Fix the oltr entries.eivind1999-03-302-8/+6
|
* SX ISA cards are only 32k wide in 8 bit mode (which is the onlynsayer1999-03-302-4/+4
| | | | | | | mode supported by the manufacturer). PR: 6255 Submitted by: nsayer
* Fix a line wrap bogon.wpaul1999-03-301-3/+4
|
* Various updates for the ThunderLAN driver:wpaul1999-03-302-129/+110
| | | | | | | | | | | | | | | | | | | - When trying to map ports, if mapping TL_PCI_LOIO or TL_PCI_LOMEM fails, try mapping the other one. Apparently, some ThunderLAN parts swap these two registers while others don't. - Add support for bitrate (non-MII) PHYs. If no MII-based PHY is found, program the chip for bitrate mode. This is required for the TNETE110 part, which doesn't have MII support. (It's also obsolete, but there are still some people out there who have them.) With this change and the change above, the Compaq Netflex-3/P 10baseT/BNC board works correctly. (Thanks to Matthew Dodd for getting me one of these cards.) - Convert to bus_space_foo() for register accesses. - Add changes to support FreeBSD/Alpha. I still have to actually test this in my Alpha box so I'm not going to update /sys/alpha/conf/GENERIC yet.
* rganize the various modes (CISCO/AUTO/DEMAND/LEASED) a little bit better,phk1999-03-302-30/+51
| | | | | | centralize the code. Remember to call TLF/TLS on the hardware in CISCO mode.
* Organize the various modes (CISCO/AUTO/DEMAND/LEASED) a little bit better,phk1999-03-307-68/+6
| | | | | | centralize the code. Remember to call TLF/TLS on the hardware in CISCO mode.
* Make ISA only systems compile again..sos1999-03-301-3/+4
|
* Reduce overhead of PPS when not active.phk1999-03-301-9/+11
| | | | Pointed out by: bde
* Specfic prototypes not needed.phk1999-03-301-11/+1
| | | | Patiently explained by: bde
* Add PPS-API support for DCD on serial ports.phk1999-03-301-3/+21
| | | | | Submitted by: jhay Slightly changed by: phk
* Even more unbogotification of prototypes.phk1999-03-301-8/+9
| | | | Not complained about by: bde
* Purging lint from the Bruce filter.phk1999-03-304-18/+25
|
* Add flag VF_CREATEDgrog1999-03-301-0/+1
|
* Change the lengths of many ioctl parameters, which occasionally causedgrog1999-03-301-7/+7
| | | | EFAULTS due to sloppy programming.
* Revise use of the vinum_conf variables drives_used, subdisks_used,grog1999-03-301-33/+33
| | | | | | | | | | | | plexes_used and volumes_used. Now these fields are only informative, and the <object>_allocated count is used for searches, etc. This also required checking the object state before doing things with the presumed object. Problems-reported-by: Kiril Mitev <kiril@ideaglobal.com> VINUM_<object>CONFIG: return ENXIO rather than EFAULT if an object doesn't exist.
* Revise use of the vinum_conf variables drives_used, subdisks_used,grog1999-03-301-75/+85
| | | | | | | | | | | plexes_used and volumes_used. Now these fields are only informative, and the <object>_allocated count is used for searches, etc. This also required checking the object state before doing things with the presumed object. Problems-reported-by: Kiril Mitev <kiril@ideaglobal.com> vinum_scandisk: increment drive use count when we find a good one.
* Revise use of the vinum_conf variables drives_used, subdisks_used,grog1999-03-301-120/+65
| | | | | | | | | | | | | | | | | | | | | | plexes_used and volumes_used. Now these fields are only informative, and the <object>_allocated count is used for searches, etc. This also required checking the object state before doing things with the presumed object. Problems-reported-by: Kiril Mitev <kiril@ideaglobal.com> Remove unused (and braindead) functions volume_index, plex_index, sd_index and drive_index. Add a flag VF_CREATED for volumes. VF_NEWBORN was being used in two capacities, and they clashed, my Lord, they clashed. find_object: restructure the search loop as a result of the change in variable use. Decrement object use count in the remove_<object> functions, not in the free_<object> functions, which are often called with partially initialized (and uncounted) objects.
* Revise use of the vinum_conf variables drives_used, subdisks_used,grog1999-03-302-24/+28
| | | | | | | | | plexes_used and volumes_used. Now these fields are only informative, and the <object>_allocated count is used for searches, etc. This also required checking the object state before doing things with the presumed object. Problems-reported-by: Kiril Mitev <kiril@ideaglobal.com>
* Delete all references to the "aic" driver. It isn't in the tree, andken1999-03-298-26/+10
| | | | | | may not show up for a while, and I'm tired of people asking about it. Perhaps this will eliminate some of the confusion.
* Make the splash screen alternate "fade out" and "fade in" action atyokota1999-03-292-10/+40
| | | | | | regular intervals, when the module is used as a screen saver. Submitted by: asami
* Another round of fix for palette loading.yokota1999-03-291-8/+39
| | | | | | - Don't try to change DAC width when unnecessary. - Convert 8 bit DAC data to 6 bit DAC data before unloading the vesa KLD module.
* Fix bug in the Promise code that resultet in PIO always being selected.sos1999-03-291-7/+8
|
* Spelling fixes.phk1999-03-293-12/+12
| | | | | PR: 10764 Submitted by: Chris Piazza <cpiazza@home.net>
* Add some useful functions to the device framework:dfr1999-03-295-49/+343
| | | | | | | | | | | | | | | * bus_setup_intr() as a wrapper for BUS_SETUP_INTR * bus_teardown_intr() as a wrapper for BUS_TEARDOWN_INTR * device_get_nameunit() which returns e.g. "foo0" for name "foo" and unit 0. * device_set_desc_copy() malloc a copy of the description string. * device_quiet(), device_is_quiet(), device_verbose() suppress probe message. Add one method to the BUS interface, BUS_CHILD_DETACHED() which is called after the child has been detached to allow the bus to clean up any memory which it allocated on behalf of the child. I also fixed a bug which corrupted the list of drivers in a devclass if a driver was added to more than one devclass.
* Fix a bug which prevented more than two clients from sharing a resource.dfr1999-03-291-2/+2
|
* Call ptrace_u_check with the right size.dfr1999-03-291-2/+2
|
* Ifdef declaration of a conditionally defined function "timezero".dt1999-03-283-3/+9
|
* Fix syntax error. While I am here, comment out a negative option and adddt1999-03-283-6/+12
| | | | another two commented out negative options.
* Back out half of 1.32: don't print a message on every failed mount attempt.dt1999-03-282-6/+2
| | | | | It is too chatty and hardly useful. 2 mesages in somewhat usual cases are left for now.
* 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.
OpenPOWER on IntegriCloud