summaryrefslogtreecommitdiffstats
path: root/sys
Commit message (Collapse)AuthorAgeFilesLines
* Add back the 'at ppbus?' for the lpt etc drivers. Now it's used.peter2000-01-145-33/+33
|
* ppi needs to use a bus method to get this rather than peering inside thensouch2000-01-143-4/+6
| | | | | | 1284 stuff. Submitted by: Peter Wemm <peter@netplex.com.au>
* Replace beforeinstall target with new variables used by .mk system.rgrimes2000-01-141-4/+1
| | | | Reviewed by: marcel, and make world
* Pre 4.0 tidy up.peter2000-01-1434-10166/+36
| | | | | | | | | | | | Collect together the components of several drivers and export eisa from the i386-only area (It's not, it's on some alphas too). The code hasn't been updated to work on the Alpha yet, but that can come later. Repository copies were done a while ago. Moving these now keeps them in consistant place across the 4.x series as the newbusification progresses. Submitted by: mdodd
* Do a few minor cleanups.wpaul2000-01-142-9/+5
|
* Don't do device_set_desc() until after checking for PnP probes. Otherwisepeter2000-01-143-9/+12
| | | | | | | | things like sound cards can get called "Parallel port". A note to the unwary; the isa-pnp devices in the system are probed like PCI - each device ID is passed to *all* isa probe routines to find the best match. If the driver is not prepared to deal with this, it must abort in this scenario or it will try and claim all PnP devices.
* Non-operational change, fix compiler warning.dillon2000-01-142-2/+2
| | | | Reviewed by: mckusick
* The error status for a scsi status error is "CAM_SCSI_STATUS_ERROR", not 0.gibbs2000-01-142-2/+4
|
* adv_pci.c:gibbs2000-01-146-434/+614
| | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | Update list of supported products. Adjust probe message to include the ASC3030. advansys.c: Fix a long standing bug in the error recovery strategy. In order to keep recovery simple, we freeze the SIMQ, stopping the XPT from submitting new requests. Unfortunately, we also will freeze the SIMQ if bus_dmamap_load blocks or we run out of controller resources. On cards with limited resources it was possible to freeze the SIM a second time and never unfreeze it. Now we more carefully track our exception state so we never freeze the SIMQ more than once. Don't rely on pointers fitting in a 32bit field stored in the per-transaction data structures on the card. Use an index to an array of transaction mapping structures instead. This should allow this driver to work on the Alpha. Deal with the ASC3030 which is almost idistinguishable from the ASC3050. Unfortunately the ASC3030 does not work at Ultra speeds, so if we can't find an eeprom, we must assume that ultra is disabled. The SIIG cards using the 3030 do not have eeproms. As a side effect, we now honor the ultra disable bit in the eeprom if it is present. Don't bother attempting to write corrected eeprom data back to the eeprom. We can function just fine if the data is corrupted and I'd rather not risk messing up the user's eeprom. Modify the interrupt handler to catch latched external bus rests. Dynamically determine the maximum number of S/G elements we can map at a single time. The nature of the firmware interface for these cards makes this value dependent on the number of "queues" the card can support. advlib.c: advlib.h: advmcode.c: advmcode.h: Synchronize with the latest firmware image released in the Linux Advansys driver.
* Add device driver support for USB ethernet adapters based on the CATCwpaul2000-01-1416-7/+1449
| | | | | | | | | | | | | | | | USB-EL1202A chipset. Between this and the other two drivers, we should have support for pretty much every USB ethernet adapter on the market. The only other USB chip that I know of is the SMC USB97C196, and right now I don't know of any adapters that use it (including the ones made by SMC :/ ). Note that the CATC chip supports a nifty feature: read and write combining. This allows multiple ethernet packets to be transfered in a single USB bulk in/out transaction. However I'm again having trouble with large bulk in transfers like I did with the ADMtek chip, which leads me to believe that our USB stack needs some work before we can really make use of this feature. When/if things improve, I intend to revisit the aue and cue drivers. For now, I've lost enough sanity points.
* Add aio_waitcomplete(). Make aio work correctly for socket descriptors.jasone2000-01-1414-520/+701
| | | | | | | | Make gratuitous style(9) fixes (me, not the submitter) to make the aio code more readable. PR: kern/12053 Submitted by: Chris Sedore <cmsedore@maxwell.syr.edu>
* Pull my head out of my ass and actually make the tx netisr stuff work right.wpaul2000-01-144-46/+22
| | | | | | | | | Do not not not call m_freem() in the txeof routines. Let the netisr routine do it. This also makes the tx netisr queuing much simpler (I can just use another ifqueue instead of the mess I had before.) Thanks to Bosko Milekic for making me actually think about what I was doing for a minute.
* Clean up rxeof routines a little.wpaul2000-01-142-9/+17
|
* Port of ppbus standalone framework to the newbus system.nsouch2000-01-1432-2522/+3343
| | | | | | | | | | | | | | | | | | | | | Note1: the correct interrupt level is invoked correctly for each driver. For this purpose, drivers request the bus before being able to call BUS_SETUP_INTR and BUS_TEARDOWN_INTR call is forced by the ppbus core when drivers release it. Thus, when BUS_SETUP_INTR is called at ppbus driver level, ppbus checks that the caller owns the bus and stores the interrupt handler cookie (in order to unregister it later). Printing is impossible while plip link is up is still TRUE. vpo (ZIP driver) and lpt are make in such a way that using the ZIP and printing concurrently is permitted is also TRUE. Note2: specific chipset detection is not done by default. PPC_PROBE_CHIPSET is now needed to force chipset detection. If set, the flags 0x40 still avoid detection at boot. Port of the pcf(4) driver to the newbus system (was previously directly connected to the rootbus and attached by a bogus pcf_isa_probe function).
* Fix instance of AUE_BUFSZ that should have been AUE_CUTOFF.wpaul2000-01-131-1/+1
|
* Remove debug printf I left in by mistake.wpaul2000-01-131-2/+0
|
* The alpha build cuases the 'nfsuid bloated' warning to occur. Well,dillon2000-01-1310-116/+0
| | | | | | | | there is nothing we can do about it. In fact, after further review there simply are not very many instances of the two structures NFS checks for 'bloat' so I've decided to simply rip the checks out entirely. Submitted by: Andrew Gallatin <gallatin@cs.duke.edu>
* Regenerate.wpaul2000-01-132-2/+72
|
* Bunch of updates:wpaul2000-01-136-59/+128
| | | | | | | | | | | | | | | - Add vendor/device ID for Corega USB-T ethernet adapter to necessary places so that it will work with the kue driver. - Add vendor/device ID for CATC Netmate devices for driver to be added soon. - Get really crazy about netisr stuff: avoid doing any mbuf allocations or deallocations at splbio/splusb. - Fix if_aue driver so that it works with LinkSys USB100TX: you need to flip the GPIO bits just the right way to put the PHY in the right mode.
* Confirming Peter's fix (locking 101: release the lock before you gomckusick2000-01-132-4/+0
| | | | | | to sleep). Locking 101, part 2: do not look at buffer contents after you have been asleep. There is no telling what wonderous changes may have occurred.
* Bring over ipfilter kernel sources, including merging the local modifications.guido2000-01-1330-448/+858
|
* Free the global softupdates lock prior to tsleep() in getdirtybuf().peter2000-01-132-0/+4
| | | | | | | | This seems to be responsible for a bunch of panics where the process sleeps and something else finds softupdates "locked" when it shouldn't be. This commit is unreviewed, but has been a big help here. Previously my boxes would panic pretty much on the first fsync() that wrote something to disk.
* add MAINTAINER file for claritymjacob2000-01-131-0/+2
|
* fix wrong name which is hidden by wrong ifdef.shin2000-01-131-1/+1
| | | | | | | Sorry for build failure. There was a mistake when I moved the patch from my build check machine to commit machine. Specified by: peter
* Change struct sockaddr_storage member name, because following changeshin2000-01-136-89/+89
| | | | | | | | | | | | is very likely to become consensus as recent ietf/ipng mailing list discussion. Also recent KAME repository and other KAME patched BSDs also applied it. s/__ss_family/ss_family/ s/__ss_len/ss_len/ Makeworld is confirmed, and no application should be affected by this change yet.
* Clear rt after RTFREE. This might have sometime caused kernel panic at rtfree()shin2000-01-132-2/+8
| | | | on INET6 enabled environment.
* Add missing 'DEVICE_SYSCTLS' to opt_bus.h. This is the (experimental?)peter2000-01-131-0/+1
| | | | code that exports the bus heirarchy to hw.devices.*
* Synced with sys/dev/syscons/syscons.c rev 1.331.kato2000-01-131-27/+28
|
* Synced with following changes:kato2000-01-132-14/+0
| | | | | | | | | | | | | | | | | | | | >yokota 2000/01/11 05:39:06 PST > > Modified files: > sys/dev/usb ukbd.c > sys/dev/kbd atkbd.c kbd.c kbdreg.h > Log: > Rework shifta/ctla/alta key handling. It appears that there was > misunderstanding between the PR originator and me. I hope I got it > right this time. > > Revision Changes Path > 1.22 +4 -1 src/sys/dev/usb/ukbd.c > 1.21 +1 -8 src/sys/dev/kbd/atkbd.c > 1.16 +19 -10 src/sys/dev/kbd/kbd.c > 1.9 +2 -2 src/sys/dev/kbd/kbdreg.h Submitted by: yokota
* Synced with sys/isa/sio.c rev 1.284.kato2000-01-132-6/+6
|
* Remove old copy of if_ed.c; it is no longer used.mdodd2000-01-131-3541/+0
|
* Set ifq_maxlen. (to default IFQ_MAXLEN)mdodd2000-01-131-0/+1
|
* Allow SMP systems with an MCA bus to work properly.mdodd2000-01-138-28/+43
| | | | Reviewed by: peter
* Implement BUS_{GET,SET,DELETE}_RESOURCE methods.mdodd2000-01-131-2/+44
|
* Correctly test CF.mdodd2000-01-132-2/+2
|
* Remove duplicate DEC 21050 PCI-PCI bridge (0x00011011)peter2000-01-131-2/+4
| | | | Add an entry for the Toshiba Fast Infra Red controller (0x07011179)
* Add a few devices IDs and clarify the SiS 85c496 entry.mdodd2000-01-131-1/+9
|
* Because cylinder group blocks are now written in background,mckusick2000-01-132-6/+26
| | | | | | | | | | it is no longer sufficient to get a lock on a buffer to know that its write has been completed. We have to first get the lock on the buffer, then check to see if it is doing a background write. If it is doing background write, we have to wait for the background write to finish, then check to see if that fullfilled our dependency, and if not to start another write. Luckily the explanation is longer than the fix.
* A panic occurs during an fsync when a dirty block associated withmckusick2000-01-132-8/+14
| | | | | | | | | | | a vnode has not been written (which would clear certain of its dependencies). The problems arises because fsync with MNT_NOWAIT no longer pushes all the dirty blocks associated with a vnode. It skips those that require rollbacks, since they will just get instantly dirty again. Such skipped blocks are marked so that they will not be skipped a second time (otherwise circular dependencies would never clear). So, we fsync twice to ensure that everything will be written at least once.
* Remove the 'at isa? ...' bits for ex0.mdodd2000-01-137-15/+7
| | | | Remove the confusing text about pccard and unit numbers for ep0.
* Cosmetic cleanups.mdodd2000-01-132-68/+46
|
* Implement a DEVICE_IDENTIFY method. I want to revisit some of this latermdodd2000-01-132-44/+118
| | | | but this is enough to get us going.
* When I converted this driver to newbus I also cleaned up the codemdodd2000-01-132-100/+102
| | | | | | | | | | | | | | layout. It seems that I cleaned it up a bit too much and confused a few if () { if () { } else { } } statements in the obvious manner. This allows the driver to transmit packets again. *sigh*
* Stop the recurring feeling of deja vuimp2000-01-131-1/+2
| | | | | | | | | | Stop the recurring feeling of deja vu Stop the recurring feeling of deja vu Stop the recurring feeling of deja vu and debounce the eject messages. We now mark the socket empty in the interrupt handler, rather than after we've disabled the socket which happens "much later".
* attach to non-ac97 neomagic chips and hope that ac97 ones do not have thecg2000-01-131-0/+6
| | | | same pnpbios id
* be less verbosecg2000-01-131-3/+5
|
* add a comment for some possible? IPv4 option processing.shin2000-01-132-0/+2
|
* removed incorrect ip6 length setting for IPv6 tcp reset packet.shin2000-01-132-2/+0
|
* removed an ours case which think a packet destined to loopback interfaceshin2000-01-131-5/+1
| | | | with IPv6 loopback addr for its dest or src addr as ours.
* added missing IPV6_PORTRANGE case.shin2000-01-131-0/+1
|
OpenPOWER on IntegriCloud