aboutsummaryrefslogtreecommitdiff
Commit message (Collapse)AuthorAgeFilesLines
* Introduce two functions: physread() and physwrite() and use these directlyPoul-Henning Kamp1999-05-0738-526/+95
| | | | | | | | | in *devsw[] rather than the 46 local copies of the same functions. (grog will do the same for vinum when he has time) Notes: svn path=/head/; revision=46625
* Generalize to allow any serial port to be used as the GDB port.Kirk McKusick1999-05-074-56/+154
| | | | | | | | | | | | Mark the GDB port in the config file with flags 0x80. Currently only the sio driver checks these flags and sets up a GDB port, but adding similar code to other serial drivers would be easy. For backward compatibility, if an sio port is marked as the console and no port is marked as the gdb port, the GDB port will be mapped to the console port. This hack should go away at some point. Notes: svn path=/head/; revision=46624
* There seems to be a problem (most likely when there is no hosts.allow)Mark Murray1999-05-071-2/+2
| | | | | | | with wrapping the internal services, so do not wrap them for now. Notes: svn path=/head/; revision=46622
* Use a more correct filesystem type name if given a "UFS" mountpoint that'sJordan K. Hubbard1999-05-072-4/+20
| | | | | | | | | not really UFS. PR: 10711 Notes: svn path=/head/; revision=46621
* Null commit.Joseph Koshy1999-05-074-4/+4
| | | | | | | | | | > PR: bin/6399 > Submitted by: David Malone <dwmalone@maths.tcd.ie> Also reviewed by: bde Notes: svn path=/head/; revision=46620
* 1. Enhanced syntax for mount(8). The -o option now supports two 'meta'Joseph Koshy1999-05-074-78/+310
| | | | | | | | | | | | | | | | | | | | | | | | | | | | | options: -o fstab brings in filesystem options specified in /etc/fstab -o current incorporates the current set of options for the file system The rightmost option wins in the case of conflicting options being specified. E.g.:- # mount -u -o current,nosuid /home will preserve the current mount options while adding the 'nosuid' flag. 2. Rewording of manual page to be hopefully clearer; small -Wall cleanups. Thanks to David Malone for his patience and willingness to work multiple patches on request. PR: bin/6399 Submitted by: David Malone <dwmalone@maths.tcd.ie> Notes: svn path=/head/; revision=46619
* Whitespace cleanup.Kirk McKusick1999-05-073-6/+6
| | | | Notes: svn path=/head/; revision=46618
* Commit a more general version of the last patch; don't do any back-fillingJordan K. Hubbard1999-05-072-36/+42
| | | | | | | of values more than once. User might want to override them. Notes: svn path=/head/; revision=46617
* Get rid of random debugging cruft; sync up with latest version.Kirk McKusick1999-05-073-114/+30
| | | | Notes: svn path=/head/; revision=46616
* 1. Silence warning.Jordan K. Hubbard1999-05-075-7/+10
| | | | | | | 2. Deal with potential whitespace evil early (PR#7455). Notes: svn path=/head/; revision=46615
* My 5520 turned out to be a 5510 in disguise.. correct the probe message.Julian Elischer1999-05-071-2/+2
| | | | Notes: svn path=/head/; revision=46612
* Add support to wicontrol(8) and wi(4) for enabling and configuringBill Paul1999-05-076-11/+105
| | | | | | | | | | power management. This will only work on newer firmware revisions; older firmware will silently ignore the attempts to turn power management on. Patches supplied by: Brad Karp <karp@eecs.harvard.edu> Notes: svn path=/head/; revision=46611
* Remove the last trace of disk.hGreg Lehey1999-05-071-109/+0
| | | | | | | Put-up-to-it-by: phk Notes: svn path=/head/; revision=46610
* Severe slowdowns have been reported when creating or removing manyKirk McKusick1999-05-073-324/+870
| | | | | | | | | | | | | | | | | | | | | | | | | files at once on a filesystem running soft updates. The root of the problem is that soft updates limits the amount of memory that may be allocated to dependency structures so as to avoid hogging kernel memory. The original algorithm just waited for the disk I/O to catch up and reduce the number of dependencies. This new code takes a much more aggressive approach. Basically there are two resources that routinely hit the limit. Inode dependencies during periods with a high file creation rate and file and block removal dependencies during periods with a high file removal rate. I have attacked these problems from two fronts. When the inode dependency limits are reached, I pick a random inode dependency, UFS_UPDATE it together with all the other dirty inodes contained within its disk block and then write that disk block. This trick usually clears 5-50 inode dependencies in a single disk I/O. For block and file removal dependencies, I pick a random directory page that has at least one remove pending and VOP_FSYNC its directory. That releases all its removal dependencies to the work queue. To further hasten things along, I also immediately start the work queue process rather than waiting for its next one second scheduled run. Notes: svn path=/head/; revision=46609
* Remove old grunge, including references to sys/disk.h (which is goingGreg Lehey1999-05-0714-58/+15
| | | | | | | | | away). Submitted-by: phk Notes: svn path=/head/; revision=46608
* Remove old grungeGreg Lehey1999-05-071-1/+0
| | | | | | | Submitted-by: phk Notes: svn path=/head/; revision=46607
* Use id_ointr for setting the pnp interrupt handler, it uses the oldstylePeter Wemm1999-05-063-12/+12
| | | | | | | int unit argument still. Notes: svn path=/head/; revision=46605
* ``fix'' the devfs_add_devswf() calls, the printf string wasn't factoringPeter Wemm1999-05-061-10/+10
| | | | | | | | in the unit number. I'm not so sure about this at all, the SVR4 systems I have access to have a mixture of names and often %03d format units. Notes: svn path=/head/; revision=46604
* Undo excess staticization - these two are meant to be callable fromPeter Wemm1999-05-061-2/+4
| | | | | | | DDB. Notes: svn path=/head/; revision=46603
* ahatimeout is static..Peter Wemm1999-05-061-2/+2
| | | | Notes: svn path=/head/; revision=46602
* Use consistant function definitions which also silences a warning.Peter Wemm1999-05-062-40/+16
| | | | Notes: svn path=/head/; revision=46601
* Ensure prototype for pnp_configure() is visible.Peter Wemm1999-05-062-14/+4
| | | | Notes: svn path=/head/; revision=46600
* GC unused variablePeter Wemm1999-05-063-6/+3
| | | | Notes: svn path=/head/; revision=46599
* Pull in prototype for splq().Peter Wemm1999-05-061-1/+2
| | | | Notes: svn path=/head/; revision=46598
* Fix a static/extern conflict. Put extra brackets to ensure thePeter Wemm1999-05-061-3/+3
| | | | | | | tsleep() priority is clear and not parsed incorrectly. Notes: svn path=/head/; revision=46597
* Put the old-style isa interrupt handlers in id_ointr to avoid warnings.Peter Wemm1999-05-061-4/+4
| | | | Notes: svn path=/head/; revision=46596
* Fix a warning - make sure the register is read regardless of the debuggingPeter Wemm1999-05-061-1/+2
| | | | | | | options. Notes: svn path=/head/; revision=46595
* Fix two warnings; and note a problem where a pointer is stored in anPeter Wemm1999-05-061-4/+4
| | | | | | | int variable - this can't work on an Alpha. Notes: svn path=/head/; revision=46594
* One too many vfsops..Peter Wemm1999-05-062-4/+2
| | | | Notes: svn path=/head/; revision=46593
* Add brackets to silence egcs and help clarity.Peter Wemm1999-05-061-3/+3
| | | | Notes: svn path=/head/; revision=46592
* Fix a goof on my part; s/struct moduledata */struct module */Peter Wemm1999-05-064-12/+12
| | | | Notes: svn path=/head/; revision=46591
* Fix some variable naming confusionPeter Wemm1999-05-061-3/+2
| | | | Notes: svn path=/head/; revision=46590
* GC unused pps_drvinit() declarationPeter Wemm1999-05-061-2/+1
| | | | Notes: svn path=/head/; revision=46589
* Add Cyrix (NatSemi) 5520 and 5530 PCI-ISA bridges.Julian Elischer1999-05-061-1/+7
| | | | Notes: svn path=/head/; revision=46587
* The base transfer speed for the parallel port bus is 93K/sec, not 3.3MB/sec.Kenneth D. Merry1999-05-061-2/+2
| | | | | | | Submitted by: Nick Hibma <hibma@skylink.it> Notes: svn path=/head/; revision=46586
* Take out calls to cam_sim_set_basexfer_speed(), the base transfer speed isKenneth D. Merry1999-05-062-5/+1
| | | | | | | | | now returned in the path inquiry CCB. Submitted by: Nick Hibma <hibma@skylink.it> Notes: svn path=/head/; revision=46585
* Add new member for XPT_PATH_INQ, follows recent changes inNick Hibma1999-05-061-0/+1
| | | | | | | version v1.2 of cam_sim.h. Notes: svn path=/head/; revision=46584
* Fix confusing sentence, the PR noticed the sentence, I rewrote the sentence.Bill Fumerola1999-05-062-4/+4
| | | | | | | | PR: docs/11257 Submitted by: Motomichi Matsuzaki <mzaki@e-mail.ne.jp> Notes: svn path=/head/; revision=46582
* Add a number of interrelated CAM feature enhancements and bug fixes.Kenneth D. Merry1999-05-0624-226/+1400
| | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | NOTE: These changes will require recompilation of any userland applications, like cdrecord, xmcd, etc., that use the CAM passthrough interface. A make world is recommended. camcontrol.[c8]: - We now support two new commands, "tags" and "negotiate". - The tags commands allows users to view the number of tagged openings for a device as well as a number of other related parameters, and it allows users to set tagged openings for a device. - The negotiate command allows users to enable and disable disconnection and tagged queueing, set sync rates, offsets and bus width. Note that not all of those features are available for all controllers. Only the adv, ahc, and ncr drivers fully support all of the features at this point. Some cards do not allow the setting of sync rates, offsets and the like, and some of the drivers don't have any facilities to do so. Some drivers, like the adw driver, only support enabling or disabling sync negotiation, but do not support setting sync rates. - new description in the camcontrol man page of how to format a disk - cleanup of the camcontrol inquiry command - add support in the 'devlist' command for skipping unconfigured devices if -v was not specified on the command line. - make use of the new base_transfer_speed in the path inquiry CCB. - fix CCB bzero cases cam_xpt.c, cam_sim.[ch], cam_ccb.h: - new flags on many CCB function codes to designate whether they're non-immediate, use a user-supplied CCB, and can only be passed from userland programs via the xpt device. Use these flags in the transport layer and pass driver to categorize CCBs. - new flag in the transport layer device matching code for device nodes that indicates whether a device is unconfigured - bump the CAM version from 0x10 to 0x11 - Change the CAM ioctls to use the version as their group code, so we can force users to recompile code even when the CCB size doesn't change. - add + fill in a new value in the path inquiry CCB, base_transfer_speed. Remove a corresponding field from the cam_sim structure, and add code to every SIM to set this field to the proper value. - Fix the set transfer settings code in the transport layer. scsi_cd.c: - make some variables volatile instead of just casting them in various places - fix a race condition in the changer code - attach unless we get a "logical unit not supported" error. This should fix all of the cases where people have devices that return weird errors when they don't have media in the drive. scsi_da.c: - attach unless we get a "logical unit not supported" error scsi_pass.c: - for immediate CCBs, just malloc a CCB to send the user request in. This gets rid of the 'held' count problem in camcontrol tags. scsi_pass.h: - change the CAM ioctls to use the CAM version as their group code. adv driver: - Allow changing the sync rate and offset separately. adw driver - Allow changing the sync rate and offset separately. aha driver: - Don't return CAM_REQ_CMP for SET_TRAN_SETTINGS CCBs. ahc driver: - Allow setting offset and sync rate separately bt driver: - Don't return CAM_REQ_CMP for SET_TRAN_SETTINGS CCBs. NCR driver: - Fix the ultra/ultra 2 negotiation bug - allow setting both the sync rate and offset separately Other HBA drivers: - Put code in to set the base_transfer_speed field for XPT_GET_TRAN_SETTINGS CCBs. Reviewed by: gibbs, mjacob (isp), imp (aha) Notes: svn path=/head/; revision=46581
* remove b_proc from struct buf, it's (now) unused.Poul-Henning Kamp1999-05-0628-95/+77
| | | | | | | Reviewed by: dillon, bde Notes: svn path=/head/; revision=46580
* Oops, forgot this bit: don't use <sys/disk.h>Poul-Henning Kamp1999-05-061-2/+5
| | | | Notes: svn path=/head/; revision=46579
* Added details of PCI network cards which work by emulating the NE2000.Roger Hardiman1999-05-064-6/+16
| | | | | | | | | | RealTek 8029, NetVin 5000, Winbond W89C940, Surecom NE-34, VIA VT86C926. (checked with Bill Paul) Mention the Brooktree Bt878 is supported by the Bt848 driver. Notes: svn path=/head/; revision=46578
* don't use <sys/disk.h>Poul-Henning Kamp1999-05-061-2/+1
| | | | Notes: svn path=/head/; revision=46577
* Don't use <sys/disk.h>Poul-Henning Kamp1999-05-062-68/+54
| | | | Notes: svn path=/head/; revision=46576
* Nuke bogus prototypes which have bogotified ccd and vinumPoul-Henning Kamp1999-05-061-9/+1
| | | | | | | (who shouldn't really use this file in the first place!) Notes: svn path=/head/; revision=46575
* Fix 'signed char as array index' warnings and an unused variable.Peter Wemm1999-05-064-14/+11
| | | | Notes: svn path=/head/; revision=46574
* Missing 'int' in declaration of variables.Peter Wemm1999-05-067-13/+13
| | | | Notes: svn path=/head/; revision=46573
* Fix a precedence bug in the atapi tape driver. I think it could eitherPeter Wemm1999-05-062-4/+4
| | | | | | | | write a filemark where it wasn't needed, or neglect to write one at all, depending on how the boolean converted to an int value for the &. Notes: svn path=/head/; revision=46572
* Fix up a few easy 'assignment used as truth value' and 'suggest parensPeter Wemm1999-05-0629-114/+173
| | | | | | | | around && within ||' type warnings. I'm pretty sure I have not masked any problems here, I've committed real problem fixes seperately. Notes: svn path=/head/; revision=46571
* The joypart() macro had a precedence bug. Add seatbelts for UNIT() too.Peter Wemm1999-05-063-6/+6
| | | | Notes: svn path=/head/; revision=46570