summaryrefslogtreecommitdiffstats
path: root/sys
Commit message (Collapse)AuthorAgeFilesLines
...
* Test commit of first Netgraph filejulian1999-10-211-0/+7
|
* A tentative agreement has been reached in regards to a proceduredillon1999-10-202-14/+0
| | | | | | | | | | | | | | | | | | | to remove 'b'lock devices. The agreement is, essentially, that block devices will be collapsed into character devices as a first step (though I don't particularly agree), and raw device names 'rxxx' will become simply 'xxx' in devfs in the second step (i.e. no 'rxxx' names will exist). The renaming will not effect the original /dev and the expectation is that devfs will eventually (but not immediately) become the standard way to access devices in the system. If it is determined that a reimplementation of block device access characteristics is beneficial, a number of alternatives will be possible that do not involve resurrecting the 'b'lock device class. For example, an ioctl() that might be made on an open character device descriptor or a generic buffered overlay device. This commit removes the blockdev disablement sysctl which does not apply to the solution that was reached.
* Remove pccard attachment stub, this caused pccard unit 0 to be allocatedpeter1999-10-194-20/+0
| | | | | | | and unusable by the pccard system since pccard doesn't attach to the nexus any more. This was stopping my 3c589D from working as pccard unit 0 is used directly for resource allocation and this fails when unit 0 isn't actually attached to anything.
* Make the "machine" target a prequisite to all source files.dcs1999-10-191-0/+4
| | | | Hinted-at by: bde
* Increase the timeout to be 3*hz. This recalibrates the timeout so thatgallatin1999-10-181-1/+1
| | | | | | | | | it has the same value on all platforms. Previously it was just under 3 seconds on x86 (typically hz<=128) and just under 1/3 of a second on alpha (typically hz>=1024). This covers up a race between ad_interrupt() and ad_timeout() which is being looked into. reviewd by: sos
* Change the default for the vfs.bdev_buffered sysctl to zero.phk1999-10-182-2/+2
| | | | | | | | | | | | | | | This means that access to block devices nodes will act the same as char device nodes for disk-like devices. If you encounter problems after this, where programs accessing disks directly fail to operate, please use the following command to revert to previous behaviour: sysctl -w vfs.bdev_buffered=1 And verify that this was indeed the cause of your trouble. See the mail-archives of the arch@FreeBSD.org list for background.
* Append missing newline to log() message for permanent ARP modificationsheldonh1999-10-181-1/+1
| | | | | | | attempt warning, which was added in rev 1.48 . PR: 14371 Submitted by: sec@pi.musin.de (Stefan `Sec` Zehl)
* This fixes the problem with SMC NE2000 cards hanging the box onmdodd1999-10-181-0/+1
| | | | | | | | | | | | bootup. Somehow my backout of an abortaive attempt at shared memory autoconfiguration included this line: sc->mem_shared = 1; Which is fairly important as it turns out. Since I performed my pre-commit testing on a different box with a generic NE2000 I didn't catch this. Pointy hat.
* sdio_done:grog1999-10-171-8/+8
| | | | | | Set the errors in the correct buffer header. Inspection-provoked-by: Bernd Walter <ticso@cicely.de>
* launch_requests:grog1999-10-171-4/+4
| | | | | | | Put splbio protection around the main launch loop. We've seen cases where the bottom half was cutting off the branch on which we're sitting. Experienced-by: Michael Reifenberger <root@nihil.plaut.de>
* Add in inclusion of machine/md_var.h (so alpha_scsi_bus_register or whatmjacob1999-10-172-44/+118
| | | | | | | have you is prototyped). Removed code versions in md struct- not used any more. Allocate transfer dma maps and xflist stuff in mbxdmasetup based upon isp->isp_maxcmds. Allow for multiple calls to mbxdmasetup (for isp_reset cases).
* Remove some target mode stuff. It will get re-introduced in a differentmjacob1999-10-171-815/+166
| | | | | | | | | | | | | | | | | | file later. Do some pencil-sharpening types of minor changes. Change how active commands are remembered (using new inline functions to get handles, etc..). Now do a GET FIRMWARE STATUS after firing up the f/w as outgoing mailbox 2 will tell you the f/w's notion of the max commands that can be supported. Attempt to retrieve loop topology. Add in the appropriate SWIZZLE/UNSWIZZLE macros calls (this is a no-op on Little Endian machines but is needed for sparc (on other platforms)). Move the temp port database we use to find out where things have moved to after a LIP to the softc and off the kernel stack. Follow Qlogic's hint and don't bother setting a tag for commands that don't have this enabled (presumably the f/w will do it's own selection then). Use an INT_PENDING macro to check for an interrupt. The call to ISP_DMAFREE now just takes the handle- not the 'handle-1' which was a layering violation. Use CFGPRINTF in a couple of places to make things less chatty if not booting verbose, or CAMDEBUG compiles, etc..
* Add in isp_debug variable. It defaults to zero unless CAMDEBUG is definedmjacob1999-10-171-26/+15
| | | | | | where it defaults to one. Change simq width allocation to the max number of commands supported by the HBA after f/w fires up- not the constant MAXISPREQUEST value. Do some stylistic changes.
* Roll platform major && minor (major now tracks FreeBSD major release).mjacob1999-10-171-94/+18
| | | | | | Add in null SWIZZLE definitions. Add in CFGPRINTF define. Change default debug level to refer to an external isp_debug variable. Remove inline functions as they're now in isp_inline.h and include that file.
* Roll core version number. Do some stylistic changes. Ensure thatmjacob1999-10-171-112/+49
| | | | | | | | | | | the result queue length is never less than 64. Move (ick) temp port database used for post-LIP merging off the kernel stack and put it into the softc. Remove some target mode stuff which will come back later in a different file. Change how the list of outstanding commands are stored (now allocated at mailbox setup time to be just enough for the max for a specific HBA which can vary). Keep a rotating seed of the last index for this in the softc. Increase the count of active commands from 10 to 16 bits.
* add in an INT_PENDING macromjacob1999-10-171-1/+2
|
* Remove target mode definitions (they'll come back later inmjacob1999-10-171-376/+0
| | | | a different file).
* Add a file where inline functions for the Qlogic isp cards can go. This reducesmjacob1999-10-171-0/+220
| | | | duplication in all the platform specific header files.
* roll 10[24]0 and 1080/12X0 f/wmjacob1999-10-171-3703/+4322
|
* Remove unnecessary includes.newton1999-10-174-40/+0
| | | | | | | | phk's script walked through .c and .h files, but some of the ones on the list are actually derived from sys/svr4/syscalls.master. Make the necessary changes here and the others will implicitly follow... Submitted by: phk
* Remove unnecessary includes.newton1999-10-1730-110/+8
| | | | Submitted by: phk
* Add support for the PCI version of the Digi SYNC/570i cards.jhay1999-10-178-517/+1681
|
* Correct a stupid type which prevented us from working with any devicedfr1999-10-172-2/+2
| | | | which needed port resources.
* Put an upper bound on the number of BUSY status retries we'll do (use themjacob1999-10-161-8/+11
| | | | | | | | retry count for the ccb). This is probably not quite the right thing, but it is better than silently hanging on (possibly broken) h/w which is what we do now. Reviewed by:Justin/Ken: they weren't entirely happy about it but didn't say no.
* Protect xpt_run_dev_sendq in xpt_release_devq_device with splsoftcam. Thismjacob1999-10-161-3/+5
| | | | | | seems to handle the case of timeouts firing during probe but after a device has gone away. It really does help. Obtained from:gibbs@freebsd.org
* The CTL0044 is more properly known as a "Creative SB AWE64 Gold".obrien1999-10-164-0/+12
|
* Sync w/ sys/i386/isa/isa_compat.h revision 1.16.kato1999-10-161-4/+0
|
* Sync w/ sys/i386/conf/options.i386 revision 1.122.kato1999-10-162-0/+6
|
* Merge form sys/i386/conf/GENERIC revision 1.195.kato1999-10-162-2/+2
|
* Properly fix building posix sources this time.marcel1999-10-162-24/+20
| | | | Reported by: markm
* Relax the check for class=storage, subclass=ide to just class=storage.dfr1999-10-161-2/+1
| | | | This allows ata to probe correctly for the HPT366 on Abit's BP6.
* - Convert this driver to newbus.mdodd1999-10-163-1036/+1508
| | | | | | | | | | | | | | - Generally clean things up. - PnP now supported. Will convert to bus_space, ifmedia and add a DEVICE_IDENTIFY() method for autodetection. As it stands device ex0 at isa0 should find a card if one is present. I feel less dirty now.
* Convert the mx driver to miibus.wpaul1999-10-169-891/+681
| | | | | | | | | | | | | | In order to make this work, I created a pseudo-PHY driver to deal with Macronix chips that use the built-in NWAY support and symbol mode port. This is actually all of them, with the exception of the original MX98713 which presents its NWAY support via the MII serial interface. The mxphy driver actually manipulates the controller registers directly rather than using the miibus_readreg()/miibus_writereg() bus interface since there are no MII registers to read. The mx driver itself pretends that the NWAY interface is a PHY locayed at MII address 31 for the sole purpose of allowing the mxphy_probe() routine to know when it needs to attach to a host controller.
* Remove name field from controller information. Fix name setting inimp1999-10-163-38/+44
| | | | | | | | pc98 case that I missed before. Attempt to get the irq for the PCIC first from the loader env var and second from the config system. I've been able to boot my laptop with a kernel that hardwired the irq to 10. This should allow boot -c to finally start working for pcic irq, but I've not tested that. Add $FreeBSD$ to slot.h.
* Use a much larger buffer for message log retrieval until we are sure thatmsmith1999-10-161-9/+10
| | | | | | | | | | | 32 bytes is safe. Handle successful completion of message log retrieval commands. With these changes, the driver correctly handles the consequences of drive death and replacement in a reliable array. Note that the massive backlog of I/O during handling of such an event can kill the system if softupdates is enabled.
* Fix mlx_diagnose_command so that it actually works. I can't believe thismsmith1999-10-161-1/+1
| | | | has been broken since implemented.
* Save the drive device_t so that we can print it later.msmith1999-10-161-0/+1
|
* Save the drive device_t correctly so we can print it later.msmith1999-10-162-2/+2
| | | | The drive number is 5 bits, not 4, in the read/write command.
* Eliminate remaining part of incorrect PCI bus numbering sanity check on ↵tegge1999-10-157-49/+0
| | | | systems with more than one PCI bus.
* Use BWX instructions on EV6 as well as EV5.gallatin1999-10-151-2/+2
| | | | This gets the AlphaServer DS10 booting.
* Until we actually support SBus, there's no reason to keep the f/w in the tree.mjacob1999-10-151-4274/+0
|
* Add new file for pccard compatibilty code. Add it to files so it getsimp1999-10-152-1/+220
| | | | pulled in as well.
* Reorganize the attachement point for pcic (it was unattached andimp1999-10-158-310/+64
| | | | | | | | | | | | | | | | | | | | | | floating before). Attach pccard devices to pcic, one per slot (although this may change to one per pcic). pcic is now attached to isa (to act as a bridge) and pccard is attached to pcic, cbb and pc98ic (the last two are card bus bridge and the pc98ic version of pcic, neither of which are in the tree yet). Move pccard compat code into pccard/pccard_compat.c. THIS REQUIRES A CONFIG FILE CHANGE. You must change your pcic/card entries to be: # PCCARD (PCMCIA) support controller pcic0 at isa? controller pcic1 at isa? controller card0 The old system was upside down and this corrects that problem. It will make it easier to add support for YENTA pccard/card bus bridges. Much more cleanup needs to happen before newbus devices can have pccard attachments. My previous commit's comments were premature.
* Include opt_bktr.roger1999-10-151-0/+2
| | | | | | | Without it the kernel config options, like OVERRIDE_TUNER, where not getting passed to the driver. Bug noticed by: Marc Fonvieille <fonvi@club-internet.fr>
* Acutally our style is "options\x20\x09".obrien1999-10-154-64/+64
| | | | | | | As BDE says: "options\x09\x09foo" looks quite different from "options\x20\x09foo" after adding a one or two character prefix. Notice by: BDE
* Implement pseudo_AF_HDRCMPLT, which controls the state of the 'headermsmith1999-10-157-11/+58
| | | | | | | | | | completion' flag. If set, the interface output routine will assume that the packet already has a valid link-level source address. This defaults to off (the address is overwritten) PR: kern/10680 Submitted by: "Christopher N . Harrell" <cnh@mindspring.net> Obtained from: NetBSD
* - Remove the ISA, PCI, and PCCARD specific code from if_ed.c; itmdodd1999-10-156-306/+76
| | | | | | | now lives in the respective bus front end files. - Add various function prototypes to if_edvar.h - Clean up some debugging code that snuck into if_ed_isa.c - Turn on the right bits in files.i386
* Make it easier to have completely new bus attachment points for pccardimp1999-10-153-32/+70
| | | | | | | | | | devices. There may still be problems with said drivers, if so please let me know. o Move attach-like functionality to the nbk attach compatibility code. o Smarter probe code: for the compatibility code probe succeeds if strcmp succeeds, for noncompatibility you can do anything you like. o Get rid of some compiler warnings introduced in last commit.
* Break out the bus front end code into separate files.mdodd1999-10-152-0/+344
| | | | | Note that these haven't been turned on nor has the old code been removed from if_ed.c. The next commit will address that.
* Make some small tweaks:wpaul1999-10-142-4/+27
| | | | | | | | | | | | - When setting/clearing promisc mode, just update the filter, don't reset the whole interface. - Call xl_init() in xl_ifmedia_upd() when setting miibus media modes. This fixes a problem with the 3c905B-COMBO where switching from 10base5/AUI or 10base2/BNC to a 10/100 mode doesn't always work right. - Attempt to reset the interface in xl_init() so that we know we're getting the receive and transmit rings reset properly.
OpenPOWER on IntegriCloud