summaryrefslogtreecommitdiffstats
path: root/sys
Commit message (Collapse)AuthorAgeFilesLines
* Remove extra copy of code.imp2004-04-131-7/+0
| | | | Noticed by: Carlos Velasco
* Enable the sx driver on i386 and pc98.nyan2004-04-132-1/+5
|
* Use headers from the kernel source tree rather than installed headers.des2004-04-131-1/+1
| | | | Submitted by: ru
* route.h: introduce a macro, SA_SIZE(struct sockaddr *) which returnsluigi2004-04-133-14/+19
| | | | | | | | | | the space occupied by a struct sockaddr when passed through a routing socket. Use it to replace the macro ROUNDUP(int), that does the same but is redefined by every file which uses it, courtesy of the School of Cut'n'Paste Programming(TM). (partial) userland changes to follow.
* Add support for the Promise command sequencer present on all modern Promisesos2004-04-1312-270/+625
| | | | | | | | | | | | | | | | | controllers (PDC203** PDC206**). This also adds preliminary support for the Promise SX4/SX4000 but *only* as a "normal" Promise ATA controller (ATA RAID's are supported though but only RAID0, RAID1 and RAID0+1). This cuts off yet another 5-8% of the command overhead on promise controllers, making them the fastest we have ever had support for. Work is now continuing to add support for this in ATA RAID, to accellerate ATA RAID quite a bit on these controllers, and especially the SX4/SX4000 series as they have quite a few tricks in there.. This commit also adds a few fixes to the SATA code needed for proper support.
* Bump __FreeBSD_version on behalf of the new .warning directive in make(1).ru2004-04-131-1/+1
| | | | Requested by: kris
* Fix off by one error, twice.imp2004-04-121-2/+2
| | | | Submitted by: Carlos Velasco (first one), jhb (second one)
* Do not drop Giant around the poll method yet, we're not ready for it.phk2004-04-121-2/+2
|
* MFp4:imp2004-04-121-4/+15
| | | | | | | | | | | Alignment for pccards should also be treated in a similar way that we tread it for cardbus cards. Remove bogus debugs while I'm here. # This is also necessary to make the CIS reading work. Submitted by: Carlos Velasco
* Improve reading of CIS cards:imp2004-04-121-3/+10
| | | | | | | | | | | | | | (1) Align to 64k for the CIS. Some cards don't like it when we aren't aligned to a 64k boundary. I can't find anything in the standard that requires this, but I have 1/2 dozen cards that won't work at all unless I enable this. (2) Sleep 1s before scanning the CIS. This may be a nop, but has little harm. (3) The CIS can be up to 4k in some weird, odd-ball edge cases. Since we have limiters for when that's not the case, it does no harm to increase it to 4k. #1 was submitted, in a different form, by Carlos Velasco.
* remove an almost-duplicate piece of code by setting the loopluigi2004-04-121-16/+10
| | | | limits appropriately.
* in rtinit(), remove one useless variable, and move a few othersluigi2004-04-121-9/+9
| | | | within the block where they are used.
* stop() no longer needs sched_lock held; in fact, holding sched_lock causescperciva2004-04-121-3/+2
| | | | | | | | a LOR against sleepq. Fix the comment, and fix ptracestop() to pick up sched_lock after stop() rather than before. Reported by: Scott Sipe <cscotts@mindspring.com> Reviewed by: rwatson, jhb
* Count outgoing link-level broadcast packets in if_omcasts.ru2004-04-121-1/+1
| | | | | | | | I'm not sure this is completely correct but at least this is consistent with the accounting of incoming broadcasts. PR: kern/65273 Submitted by: David J Duchscher <daved@tamu.edu>
* Don't send the available space as is in the FSSTAT call. Undermux2004-04-121-2/+14
| | | | | | | | | FreeBSD, we can have a negative available space value, but the corresponding fields in the NFS protocol are unsigned. So trnucate the value to 0 if it's negative, so that the client doesn't receive absurdly high values. Tested by: cognet
* Fix "sleeping without a mutex" panic.markm2004-04-121-3/+6
|
* Remove a check for the return value added in rev 1.41. It's not an errornjl2004-04-121-8/+1
| | | | to fail to turn off a fan, since the case is that it's usually already off.
* Move sx to i386/NOTES for the moment. I missed theimp2004-04-122-2/+4
| | | | enable/disable_intr() in the code.
* Bump __FreeBSD_version for getgrent(3) removal. I doubt anythingmux2004-04-111-1/+1
| | | | outside of the tree uses it, but it doesn't cost anything.
* Belatedly remove the getvfsent(3) API. All the consumers have beenmux2004-04-111-6/+0
| | | | | updated to use getvfsbyname(3) or the vfs.conflist sysctl since a long time, except mount_smbfs(8) which has just been fixed.
* Put struct ovfsconf inside BURN_BRIDGES as well.mux2004-04-111-0/+2
|
* Put deprecated sysctl code inside BURN_BRIDGES.mux2004-04-111-3/+5
|
* Implemented per-interface polling(4) control.ru2004-04-111-5/+13
|
* Implemented per-interface polling(4) control.ru2004-04-112-2/+23
|
* Add sx driver, since it looks like it should work on allimp2004-04-111-0/+2
| | | | architectures.
* Update to recent driver api changes.imp2004-04-112-25/+11
|
* Add glue for new sx driver.imp2004-04-112-0/+5
|
* Use vm_page_hold() rather than vm_page_wire() for short-duration pagealc2004-04-111-2/+2
| | | | wiring. The reason being that vm_page_hold() is cheaper.
* Frank Mayhar's <frank@exit.com> sx driver for older Specialiximp2004-04-117-0/+3230
| | | | | I/O8+ and I/O4+ intelligent serial controllers. si is for completely different hardware, also made by Specialix.
* Implemented per-interface polling(4) control.ru2004-04-111-1/+12
|
* Add note about why we're ignoring the below 1MB bit.imp2004-04-111-0/+19
|
* Fixed resetting of the watchdog timer and queue full flag.ru2004-04-111-7/+4
|
* Commit import of OpenBSD-stable fix:mlaier2004-04-111-6/+11
| | | | | | | | | | | | | | | Fix by dhartmei@ and mcbride@ 1.433 Properly m_copyback() modified TCP sequence number after demodulation 1.432 Fix icmp checksum when sequence number modlation is being used. Also fix a daddr vs saddr cut-n-paste error in ICMP error handling. Fixes PR 3724 Obtained from: OpenBSD Reviewed by: dhartmei Approved by: rwatson
* Unbreak build: s/TAILQ_ISEMPTY/TAILQ_EMPTY/gmarcel2004-04-111-1/+1
|
* In 4.x, if_ipending is used to track network interrupt state. In 5.x,rwatson2004-04-111-7/+0
| | | | it is no longer used, so GC the ifnet.if_ipending field.
* Stop xe claiming ownership of every card passed to xe_pccard_match.rsm2004-04-111-1/+1
| | | | | | Found by: Pete Carss <itinerant at mac dot com> Reviewed by: imp (mentor) Pointy hat to: rsm
* Compare IFF_POLLING flag with ifp->if_flags rather than ifp->if_ipending,rwatson2004-04-111-3/+3
| | | | | | | which was almost certainly a bug since polling support was introduced in this driver. Found during discussion with: mlaier
* Implemented per-interface polling(4) control.ru2004-04-111-1/+12
|
* Include nehemiah.c only on i386, as is done for the non-modulesmarcel2004-04-111-0/+2
| | | | build.
* Implemented per-interface polling(4) control.ru2004-04-111-1/+16
|
* Implemented per-interface polling(4) control.ru2004-04-112-2/+26
|
* Implemented per-interface polling(4) control.ru2004-04-111-1/+13
|
* First driver with user-configurable polling(4).ru2004-04-112-2/+26
|
* Added the new interface capability option for drivers that implementru2004-04-111-0/+1
| | | | | | user-configurable polling(4) support. Make ifconfig(8) aware of it. Suggested by: luigi
* Don't let the NFS server module be unloaded as long as there arepeadar2004-04-113-3/+6
| | | | | | | nfsd processes running Reviewed By: iedowse PR: 16299
* Clean up properly when unloading NFS client module.peadar2004-04-114-2/+35
| | | | | | | | | This includes a modified form of some code from Thomas Moestl (tmm@) to properly clean up the UMA zone and the "nfsnodehashtbl" hash table. Reviewed By: iedowse PR: 16299
* Fix pc98 build.nyan2004-04-111-3/+3
|
* Add system tunable to turn off power state changes. Default to off untilimp2004-04-111-15/+48
| | | | | | | | | | we get the resource allocation stuff hammered out. Fix and off by one error that caused unnecessary filtering of valid BARs for only 4 bytes than ICH3 and other PCI IDE controllers have. Andrew Gallatin submitted this, although it doesn't solve the problems ICH3 controllers have with the new code, it does restore the former resource list on the probe line.
* Remove a comment that refers to avail_start and avail_end as thesealc2004-04-111-3/+0
| | | | variables no longer exist.
* Remove avail_end. It is not used.alc2004-04-116-30/+4
|
OpenPOWER on IntegriCloud