summaryrefslogtreecommitdiffstats
Commit message (Collapse)AuthorAgeFilesLines
...
* Remove old grunge, including references to sys/disk.h (which is goinggrog1999-05-0714-58/+15
| | | | | | away). Submitted-by: phk
* Remove old grungegrog1999-05-071-1/+0
| | | | Submitted-by: phk
* Use id_ointr for setting the pnp interrupt handler, it uses the oldstylepeter1999-05-063-12/+12
| | | | int unit argument still.
* ``fix'' the devfs_add_devswf() calls, the printf string wasn't factoringpeter1999-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.
* Undo excess staticization - these two are meant to be callable frompeter1999-05-061-2/+4
| | | | DDB.
* ahatimeout is static..peter1999-05-061-2/+2
|
* Use consistant function definitions which also silences a warning.peter1999-05-062-40/+16
|
* Ensure prototype for pnp_configure() is visible.peter1999-05-062-14/+4
|
* GC unused variablepeter1999-05-063-6/+3
|
* Pull in prototype for splq().peter1999-05-061-1/+2
|
* Fix a static/extern conflict. Put extra brackets to ensure thepeter1999-05-061-3/+3
| | | | tsleep() priority is clear and not parsed incorrectly.
* Put the old-style isa interrupt handlers in id_ointr to avoid warnings.peter1999-05-061-4/+4
|
* Fix a warning - make sure the register is read regardless of the debuggingpeter1999-05-061-1/+2
| | | | options.
* Fix two warnings; and note a problem where a pointer is stored in anpeter1999-05-061-4/+4
| | | | int variable - this can't work on an Alpha.
* One too many vfsops..peter1999-05-062-4/+2
|
* Add brackets to silence egcs and help clarity.peter1999-05-061-3/+3
|
* Fix a goof on my part; s/struct moduledata */struct module */peter1999-05-064-12/+12
|
* Fix some variable naming confusionpeter1999-05-061-3/+2
|
* GC unused pps_drvinit() declarationpeter1999-05-061-2/+1
|
* Add Cyrix (NatSemi) 5520 and 5530 PCI-ISA bridges.julian1999-05-061-1/+7
|
* The base transfer speed for the parallel port bus is 93K/sec, not 3.3MB/sec.ken1999-05-061-2/+2
| | | | Submitted by: Nick Hibma <hibma@skylink.it>
* Take out calls to cam_sim_set_basexfer_speed(), the base transfer speed isken1999-05-062-5/+1
| | | | | | now returned in the path inquiry CCB. Submitted by: Nick Hibma <hibma@skylink.it>
* Add new member for XPT_PATH_INQ, follows recent changes inn_hibma1999-05-061-0/+1
| | | | version v1.2 of cam_sim.h.
* Fix confusing sentence, the PR noticed the sentence, I rewrote the sentence.billf1999-05-062-4/+4
| | | | | PR: docs/11257 Submitted by: Motomichi Matsuzaki <mzaki@e-mail.ne.jp>
* Add a number of interrelated CAM feature enhancements and bug fixes.ken1999-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)
* remove b_proc from struct buf, it's (now) unused.phk1999-05-0628-95/+77
| | | | Reviewed by: dillon, bde
* Oops, forgot this bit: don't use <sys/disk.h>phk1999-05-061-2/+5
|
* Added details of PCI network cards which work by emulating the NE2000.roger1999-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.
* don't use <sys/disk.h>phk1999-05-061-2/+1
|
* Don't use <sys/disk.h>phk1999-05-062-68/+54
|
* Nuke bogus prototypes which have bogotified ccd and vinumphk1999-05-061-9/+1
| | | | (who shouldn't really use this file in the first place!)
* Fix 'signed char as array index' warnings and an unused variable.peter1999-05-064-14/+11
|
* Missing 'int' in declaration of variables.peter1999-05-067-13/+13
|
* Fix a precedence bug in the atapi tape driver. I think it could eitherpeter1999-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 &.
* Fix up a few easy 'assignment used as truth value' and 'suggest parenspeter1999-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.
* The joypart() macro had a precedence bug. Add seatbelts for UNIT() too.peter1999-05-063-6/+6
|
* Missing 'int' declaration in devsw_installed variable.peter1999-05-061-2/+2
|
* Add sufficient braces to keep egcs happy about potentially ambiguouspeter1999-05-0645-126/+157
| | | | if/else nesting.
* Add missing comment characters from wi driver description.peter1999-05-063-9/+9
|
* Remove unused fields from struct buf:phk1999-05-063-18/+3
| | | | | | | | b_savekva b_validoff b_validend Reviewed by: dillon, bde
* Modify wicontrol(8) and wi(4) to allow setting the frequency of thewpaul1999-05-066-19/+75
| | | | | | | WaveLAN's radio modem. The default is whatever the NIC uses since NICs sold in different countries may default to different frequencies. (The Lose95/LoseNT software doesn't let you select the channel so it's probably not really meant to be changed.)
* Tweak the Macronix driver to hopefully make it more reliable:wpaul1999-05-068-84/+63
| | | | | | | | | | | | | | | | | | | | | | | | | - Change to the same transmit scheme as the PNIC driver. - Dynamically set the cache alignment, and set burst size the same as the PNIC driver in mx_init(). - Enable 'store and forward' mode by default. This is the slowest option and it does reduce 100Mbps performance somewhat, but it's the most reliable setting I can find. I'm more interested in having the driver work reliably than trying to squeeze the best performance out of it. The reason I'm doing this is that on *some* systems you may see a lot of transmit underruns (which I can't explain: these are *fast* test systems) and these errors seem to cause unusual and decidedly non-tulip-like behavior. In normal 10Mbps mode, performance is fine (you can easily saturate a 10Mbps link). Also tweak some of the other drivers: - Increase the size of the TX ring for the Winbond, ASIX, VIA Rhine and PNIC drivers. - Set a larger value for ifq_maxlen in the ThunderLAN driver. The setting of TL_TX_LIST_CNT - 1 is too low (the ThunderLAN driver only allocates 20 transmit descriptors, and I don't want to fiddle with that now because the ThunderLAN's descriptor structure is an oddball size compared to the others).
* readklog(): rename variable 'l' to 'len', to avoid possible confusion with 'i'dt1999-05-061-11/+11
| | | | | | and '1'. Requested by: mckay
* Added USB HID devices major number.n_hibma1999-05-062-2/+4
| | | | Submitted by: MAEKAWA Masahide
* Move the proc0 init before the driver probe/attach etc since machdep.cpeter1999-05-061-5/+5
| | | | | doesn't set curproc anymore, and certain drivers like to tsleep() during probes, usb for example.
* I'm not sure why the #ifdef SMP became #if 1 (this overrode the npx probepeter1999-05-063-15/+9
| | | | | and always succeeded as is required on SMP). Anyway, reverting this still compiles and appears ok.
* Fix spelling and typos.jkoshy1999-05-061-6/+8
| | | | | PR: docs/11506 Submitted by: Norihiro Kumagai <kuma@jp.freebsd.org>
* Fix typos and -mdoc usage.jkoshy1999-05-061-4/+6
| | | | | PR: docs/11537 Submitted by: Motomichi Matsuzaki <mzaki@e-mail.ne.jp>
* revert premature DHCP commitjkh1999-05-062-8/+6
|
* Argh, those last two commits snuck in with the other one by mistake.jkh1999-05-062-2/+6
| | | | Disable the non-working dhcp client code I just committed by mistake.
OpenPOWER on IntegriCloud