aboutsummaryrefslogtreecommitdiff
path: root/sys
Commit message (Collapse)AuthorAgeFilesLines
* Allow for IP_FW_ADD to be used in getsockopt(2) incarnation asRuslan Ermilov2000-10-122-1/+4
| | | | | | | | | | well, in which case return the rule number back into userland. PR: bin/18351 Reviewed by: archie, luigi Notes: svn path=/head/; revision=67003
* More HARP polishina:Poul-Henning Kamp2000-10-1227-146/+62
| | | | | | | | unifdef -UFORE_SBUS -DFORE_PCI s/ATM_KERNEL/_KERNER/g Notes: svn path=/head/; revision=67002
* Remove 'device tx'. In wilko's testing it traps on bringing the interfaceBill Fumerola2000-10-122-2/+0
| | | | | | | | up. Even though this has recieved all the right MI treatment (newbus, miibus) it stands for now a i386 only driver. Notes: svn path=/head/; revision=67000
* Another PnP pcic card: SMC Swapbox Plug and PlayWarner Losh2000-10-123-2/+5
| | | | | | | Submitted by: gallatin Notes: svn path=/head/; revision=66998
* Make if_sk stop using the "hide the softc structure in the jumbo buffer"Bosko Milekic2000-10-124-54/+26
| | | | | | | | | | now that the mbuf system can handle passing it to the driver itself. Reviewed by: wpaul Tested by: wpaul (Bill Paul) with "jumbograms" enabled Notes: svn path=/head/; revision=66997
* Bring the 'twe' driver back now that we think it should work.Mike Smith2000-10-122-0/+2
| | | | Notes: svn path=/head/; revision=66994
* Reduce the number of outstanding commands we will send to the controllerMike Smith2000-10-121-1/+1
| | | | | | | | to 50. This has been reported to avoid the problems that many users have been experiencing with crashing the card firmware during rebuilds. Notes: svn path=/head/; revision=66992
* sync to last commitWarner Losh2000-10-121-1/+6
| | | | Notes: svn path=/head/; revision=66991
* Add mii entry for tdk phy found on some cardbus cards.Warner Losh2000-10-121-0/+4
| | | | Notes: svn path=/head/; revision=66989
* Do some cleanups of the HARP atm codes interface into the system:Poul-Henning Kamp2000-10-1214-1356/+1
| | | | | | | | | | | Define the NETISR just like all the other NETISRs. unifdef -Usun -D__FreeBSD__ we will probably never support sun4c and if we do we can't use the solaris code anyway and I doubt anybody will be running Fore ATM cards in then in the first place. Notes: svn path=/head/; revision=66988
* Store a pointer to our softc in the kernel's SCB structure. In theJustin T. Gibbs2000-10-114-54/+40
| | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | past we stored this data in the CCB and attained the CCB via a pointer in the SCB. In ahc_timeout(), however, the timedout SCB may have already been completed (inherent race), meaning that the CCB could have been recycled, and the ahc pointer reset. Clean up the logic in ahc_search_qinfifo that deals with the busy device table. For some reason it assumed that the only valid time to search to see if additional lun entries should be checked was if lun 0 matched. Now we properly itterate through the necessary luns. The busy device table is used to detect invalid reselections, so a device would have had to perform an unexpected reselection for this to cause problems. Further, all luns are collapsed to a single entry unless we have external ram with large SCBs (3940AU models) so the chance of this happening was rather remote. Clean up the logic for dealing with the untagged queues. We now set a flag in the SCB that indicates that it is on the untagged queue instead of inferring this from the type and setup of the CCB pased into us by CAM. In ahc_timeout(), don't print the path of the SCB until the controller is paused and we are sure that it has not completed yet. This, in conjunction with referencing the ahc pointer in the SCB rather than the CCB in the SCB avoids panics in the case of a timedout scb completing just before the timeout handler runs. This turns out to be guaranteed if interrupt delivery is failing, as we run our interrupt handler to flush any "just missed events" when a timeout occurs. Mention the likelyhood of broken interrupts if a timedout SCB is completed by our call to ahc_intr(). Notes: svn path=/head/; revision=66986
* When testing for PCI bus overlap with another enumerator, make sure weMike Smith2000-10-112-2/+2
| | | | | | | | | | check for the right bus number. This is still not quite right, but fixes things for multi-bus machines again. Submitted by: tegge Notes: svn path=/head/; revision=66985
* Calling untimeout(9) leads to a race window where memory could be leaked.Archie Cobbs2000-10-111-21/+5
| | | | | | | Close this window by simply not calling untimeout(9). Notes: svn path=/head/; revision=66983
* Fix memory leak.Archie Cobbs2000-10-111-2/+2
| | | | | | | Submitted by: Christopher N. Harrell <cnh@ivmg.net> Notes: svn path=/head/; revision=66980
* Add missing comma at the end of line.Jun Kuriyama2000-10-111-1/+1
| | | | Notes: svn path=/head/; revision=66958
* kmem transfers were being double-counted due to a missing continue.Andrew Gallatin2000-10-111-0/+1
| | | | | | | | This silences the dreaded "swapinfo:cannot read blmeta_t" messages at boot. I'm really suprised there were no PRs open about this... Notes: svn path=/head/; revision=66957
* Add support for the Kingston KNU101TX 10/100 USB ethernet adapter. We'reBill Paul2000-10-101-0/+1
| | | | | | | up to 11 of these now. Notes: svn path=/head/; revision=66956
* regenetateBill Paul2000-10-102-6/+38
| | | | Notes: svn path=/head/; revision=66955
* Add vendor ID for Kingston Technology and add device ID forBill Paul2000-10-101-1/+5
| | | | | | | KNU101TX USB ethernet adapter. (Yes, another one.) Notes: svn path=/head/; revision=66954
* fix conflicting types for ng_ing_rcvmsg() and ng_ing_rcvdata().Hellmuth Michaelis2000-10-101-3/+4
| | | | Notes: svn path=/head/; revision=66939
* * Add rudimentary DDB support (no kgdb, no backtrace, no single step).Doug Rabson2000-10-1022-428/+5595
| | | | | | | | | * Track recent changes to SWI code. * Allocate RIDs for pmaps (untested). * Implement assembler version of cpu_switch - its cleaner that way. Notes: svn path=/head/; revision=66937
* correct "device iwic0" to "device iwic"Hellmuth Michaelis2000-10-102-2/+2
| | | | Notes: svn path=/head/; revision=66934
* A quote from the ia64 compiler:Doug Rabson2000-10-101-1/+1
| | | | | | | | `char' is promoted to `int' when passed through `...' (so you should pass `int' not `char' to `va_arg') Notes: svn path=/head/; revision=66933
* Set i4b version number to 0.96.00.Hellmuth Michaelis2000-10-102-6/+6
| | | | | | | It is (nearly) identical to i4b-00.96.00-beta-101000.tar.gz Notes: svn path=/head/; revision=66931
* Add a quirk entry for the USB Sony DSC drive.Nick Hibma2000-10-101-1/+6
| | | | Notes: svn path=/head/; revision=66927
* Remove unneccessary includes. (phk)Nick Hibma2000-10-101-3/+1
| | | | Notes: svn path=/head/; revision=66924
* Mark directories as directories, not as regular files.Dag-Erling Smørgrav2000-10-102-2/+2
| | | | Notes: svn path=/head/; revision=66923
* Remove unneeded includes (phk)Nick Hibma2000-10-101-2/+1
| | | | Notes: svn path=/head/; revision=66922
* Add MAE0021 - Jetstream Int V.90 56k Voice Series 2.Seigo Tanimura2000-10-102-0/+2
| | | | | | | | PR: i386/19920 Submitted by: Peter Ortner <port@iname.com> Notes: svn path=/head/; revision=66920
* awi needs to access memory with 8bit,Atsushi Onoe2000-10-101-0/+9
| | | | | | | | | | | but pccardd apparently maps memory with MDF_16BITS flag. So memory mapped access is disabled and use IO port instead for now. This fixes the problem for config index 0x01 in the pccard.conf with the message: "awi0: failed to complete selftest (timeout)" Notes: svn path=/head/; revision=66919
* Merged from sys/conf/{files.i386,options.i386} revisions 1.334 andKATO Takenori2000-10-102-30/+70
| | | | | | | 1.140, respectively. Notes: svn path=/head/; revision=66916
* Added some handling code to work with SLI configs, and removed some unusedColeman Kane2000-10-101-17/+28
| | | | | | | older code that was phased out but not removed, heh. Notes: svn path=/head/; revision=66910
* o Change TX_BUFFER_LEN from 512 to 2048.Larry Lile2000-10-101-6/+11
| | | | | | | | | | | | | | | o Remove bogus "spurious interrupt" message. o Ring buffer head and avail were incorrectly calculated. o Fix fragment count. o Fix ring entry for single station, default to 16Mbit. o Don't complain about long frames. Notes: svn path=/head/; revision=66903
* o Move from Alfred Perstein's "exclusion" technique of handling specialChris Costello2000-10-096-156/+116
| | | | | | | | | | | | file types to requiring all file types to properly implement fo_stat. This makes any new file type additions much easier as this code no longer has to be modified to accomodate it. o Instead of using curproc in fdesc_allocvp, pass a `struct proc' pointer as a new fifth parameter. Notes: svn path=/head/; revision=66894
* o Sanity check was inverted, resulting in a possible spurious panicRobert Watson2000-10-091-1/+1
| | | | | | | | during unmount if extended attributes were in use. Correct by removing an unneeded (and undesirable) '!'. Notes: svn path=/head/; revision=66893
* Close a race condition that doesn't really exist in -current. WhenJustin T. Gibbs2000-10-092-2/+2
| | | | | | | | | | | a resource shortage occurs, freeze our queue and then set the resource shortage flag while the controller data structure is locked. The old code did these in the wrong order potentially allowing our interrupt handler to release the queue and clear the flag before the freeze ever occurred. Notes: svn path=/head/; revision=66891
* Fix broken const'ness in declaration of sha1_loop().Archie Cobbs2000-10-093-10/+8
| | | | Notes: svn path=/head/; revision=66890
* kernacc() only knows about mapped memory, not K0SEG addresses.Andrew Gallatin2000-10-091-2/+7
| | | | | | | | | | | | Before calling kernacc(), make sure that we're not calling it with a K0SEG address. This gets alphas booting with SMP_DEBUG & INVARIANTS options approved by: jhb Notes: svn path=/head/; revision=66889
* Fix typo in NETGRAPH_INIT() macro.Archie Cobbs2000-10-091-1/+1
| | | | Notes: svn path=/head/; revision=66887
* Blow away the v_specmountpoint define, replacing it with what it wasEivind Eklund2000-10-0918-56/+46
| | | | | | | defined as (rdev->si_mountpoint) Notes: svn path=/head/; revision=66886
* update to i4b version 0.95.04Hellmuth Michaelis2000-10-092-96/+136
| | | | Notes: svn path=/head/; revision=66884
* Reduce buffer size from 64K to 4K.Maxim Sobolev2000-10-091-1/+1
| | | | | | | Approved by: cg Notes: svn path=/head/; revision=66883
* update to i4b version 0.95.04 (oops, forgot this one ..)Hellmuth Michaelis2000-10-091-0/+115
| | | | Notes: svn path=/head/; revision=66882
* remove MAINTAINER: i'll develop and maintain i4b from now on in theHellmuth Michaelis2000-10-091-1/+0
| | | | | | | FreeBSD-current tree Notes: svn path=/head/; revision=66881
* fix a typo & allow softclock to run on alphas.Andrew Gallatin2000-10-091-1/+1
| | | | | | | This gets my AS500 and UP1000 booting again. Notes: svn path=/head/; revision=66879
* Don't make_dev() in bpfopen() unless we need to.Poul-Henning Kamp2000-10-091-2/+3
| | | | Notes: svn path=/head/; revision=66878
* Don't hold an extra reference to vnodes. Devfs vnodes are sufficientlyPoul-Henning Kamp2000-10-093-24/+28
| | | | | | | | | | | | | | | | | cheap to setup that it doesn't really matter that we recycle device vnodes at kleenex speed. Implement first cut try at killing cloned devices when they are not needed anymore. For now only the bpf driver is involved in this experiment. Cloned devices can set the SI_CHEAPCLONE flag which allows us to destroy_dev() it when the vcount() drops to zero and the vnode is reclaimed. For now it's a requirement that the driver doesn't keep persistent state from close to (re)open. Some whitespace changes. Notes: svn path=/head/; revision=66877
* update to i4b version 0.95.04Hellmuth Michaelis2000-10-093-66/+116
| | | | Notes: svn path=/head/; revision=66876
* remove the tina-dd driver fragment, it is unlikely that it will get finished.Hellmuth Michaelis2000-10-093-497/+0
| | | | Notes: svn path=/head/; revision=66875
* update to i4b version 0.95.04Hellmuth Michaelis2000-10-0967-5562/+11422
| | | | Notes: svn path=/head/; revision=66874