summaryrefslogtreecommitdiffstats
path: root/sys
Commit message (Collapse)AuthorAgeFilesLines
* Move the hints gunk to a seperate file. It isn't really part of thepeter2001-07-142-299/+1
| | | | newbus structure (no more than subr_rman.c is anyway).
* Fixed conflict with sys/dev/syscons/syscons.h.nyan2001-07-142-10/+0
| | | | Submitted by: yokota
* Move fxp to the miibus section where it belongs.dd2001-07-142-2/+2
|
* remember to set the return address in a message whenjulian2001-07-141-0/+1
| | | | | | | | | sending it along a hook. PR: 27906 Submitted by: Harti Brandt <brandt@fokus.gmd.de> no MFC as code is different in 4.x
* - Refine pc98 supports.nyan2001-07-145-90/+195
| | | | | - Use bus_space stuff. - Rename FDO_* -> FDC_* (obtained from NetBSD/pc98)
* Added epson_inw function.nyan2001-07-141-0/+11
|
* Merged from the following changes.nyan2001-07-147-58/+74
| | | | | | | | sys/dev/syscons/scvgarndr.c revision 1.11 sys/dev/syscons/scvtb.c revision 1.8 sys/dev/syscons/syscons.c revisions 1.361, 1.363, 1.364, 1.365 and 1.366 sys/isa/atkbd_isa.c revision 1.9 sys/isa/syscons_isa.c revision 1.17
* Merged from sys/i386/conf/GENERIC revision 1.313.nyan2001-07-141-1/+1
|
* Added (commented out) audio driver.nyan2001-07-141-0/+4
|
* Merged from sys/conf/options.i386 revision 1.150.nyan2001-07-141-0/+1
|
* Catch up with NetBSD/pc98.non2001-07-1426-3151/+7499
| | | | | | | | | | | | | | | | | | | | | | | o Much cleanly separate NetBSD(XS) / FreeBSD(CAM) codes. o Improve tagged queing support (full QTAG). o Improve quirk support. o Improve parity error retry. o Impliment wide negotheation. o Cmd link support. o Add copyright of CAM part. o Change for CAM_NEW_TRAN_CODE. o Work around for buggy KME UJDCD450. o stg: add disconnet condition. o nsp: use suspend I/O. and more. I thank Honda-san. conf/options.pc98: add CT_USE_RELOCATE_OFFSET and CT_BUS_WEIGHT dev/{ct,ncv,nsp,stg}/*_{pccard,isa}.c: add splcam() before calling attach/detach functions. Tested by: bsd-nomads Obtained from: NetBSD/pc98
* Go back to having either static OR dynamic hints, with fallbackpeter2001-07-142-32/+82
| | | | | | | | support. Trying to fix the merged set where dynamic overrode static was getting more and more complicated by the day. This should fix the duplicate atkbd, psm, fd* etc in GENERIC. (which paniced the alpha, but not the i386)
* Merge with latest version of the Mylex 6+ driver.msmith2001-07-148-1423/+1320
| | | | | | | | | | | | | | - All sources are built in a single object, reducing namespace pollution. - Kill the ready queue, and handle a busy response to mly_start in callers rather than deferring the command. - Improve our interaction with CAM: - Don't advertise physical channels as SCSI busses by default. - use the SIM queue freeze capability rather than queueing CDBs internally. - force bus reprobe at module load time. - Clean up more resources in mly_free. - Tidy up debugging levels. - Tidy up handling of events (mostly just code cleanliness). - Use explanatory macros for operations on bus/target/channel numbers.
* Return a locked struct buf from ufsdirhash_lookup() to avoid oneiedowse2001-07-133-9/+9
| | | | | | | | | | extra getblk/brelse sequence for each lookup. We already had this buf in ufsdirhash_lookup(), so there was no point in brelse'ing it only to have the caller immediately reaquire the same buffer. This should make the case of sequential lookups marginally faster; in my tests, sequential lookups with dirhash enabled are now only around 1% slower than without dirhash.
* I really should have just commented out this intire file vs. removing allobrien2001-07-131-0/+25
| | | | | the contents. One may still want the contents as reference for creating /boot/device.hints.
* Bump net.inet.tcp.sendspace to 32k and net.inet.tcp.recvspace to 65k.obrien2001-07-131-2/+2
| | | | | | | | | | | | | This should help us in nieve benchmark "tests". It seems a wide number of people think 32k buffers would not cause major issues, and is in fact in use by many other OS's at this time. The receive buffers can be bumped higher as buffers are hardly used and several research papers indicate that receive buffers rarely use much space at all. Submitted by: Leo Bicknell <bicknell@ufp.org> <20010713101107.B9559@ussenterprise.ufp.org> Agreed to in principle by: dillon (at the 32k level)
* Hints processing is FUBAR'ed right now.obrien2001-07-131-25/+0
| | | | | | | By default, we will end up with a duplicate set of hints if people have a properly populated /boot/device.hints. So for now, remove the hints here until Peter revisits the new hints processing from mid-June that broke Alpha booting.
* `pcn' supports AMD Am79C97x cards, not Am79C79x cards.dd2001-07-138-8/+8
| | | | | PR: 28946 Submitted by: Ryuichiro Imura <imura@ryu16.org>
* Unbroke kernel if I686_CPU is not defined.sobomax2001-07-132-0/+4
|
* Deal with the condition where we lose link in the middle of transmittingwpaul2001-07-122-2/+2
| | | | | | | | | | | | | | | a bunch of frames. In this case, the dc_link flag is cleared, and dc_start() stops draining the if_snd send queue, which results in lots of 'no buffers available' errors being reported to applications. The whole idea behind not draining the send queue until the link comes up was to avoid having the gratuitous ARP being lost while we're waiting for autoneg to complete after the interface is first brought up. As an optimization, change the test in dc_start() so that we only bail if dc_link is not set _and_ there are less than 10 packets in the send queue. If the queue has many frames in it, we need to drain them. If the queue has a small number of frames in it, we can hold off on sending them until the link comes up. MFC after: 1 week
* The #define for pcb_savefpu seems to do more harm than good.peter2001-07-122-2/+0
|
* Fix another missed pcb_savefpu reference (inside NPX_DEBUG)peter2001-07-124-8/+8
|
* Do not depend on pcb_savefpu backwards compat #define.peter2001-07-122-2/+2
|
* Forgot this fix from another tree. make enable_sse() a real prototype.peter2001-07-122-2/+2
|
* - Define a convenience macro ISTTYOPEN().yokota2001-07-122-21/+29
| | | | | | | - Slightly refine screen saver logic. No functional change. MFC after: 2 weeks
* Bump param, for SSE support and include file impact (<machine/pcb.h>)peter2001-07-121-1/+1
|
* Move init_sse() out of the "GenuineIntel" section, my AthlonMP systempeter2001-07-122-2/+2
| | | | has it, for example, and it works fine.
* Apply the i386 SSE mods to pc98 as well.peter2001-07-123-21/+238
|
* Activate SSE/SIMD. This is the extra context switching support thatpeter2001-07-1242-71/+653
| | | | | | | | | | | | | | | we are required to do if we let user processes use the extra 128 bit registers etc. This is the base part of the diff I got from: http://www.issei.org/issei/FreeBSD/sse.html I believe this is by: Mr. SUZUKI Issei <issei@issei.org> SMP support apparently by: Takekazu KATO <kato@chino.it.okayama-u.ac.jp> Test code by: NAKAMURA Kazushi <kaz@kobe1995.net>, see http://kobe1995.net/~kaz/FreeBSD/SSE.en.html I have fixed a couple of style(9) deviations. I have some followup commits to fix a couple of non-style things.
* Another NatSemi gigE card; the Netgear GA622Twpaul2001-07-112-2/+2
|
* Document additional cards supported by the nge driver: LinkSys EG1032wpaul2001-07-112-2/+4
| | | | | | anf EG1064, and the Surecom EP-320G-TX. Also fix typo in nge.4 man page: Addrton -> Addtron.
* Commited patch for uni signaling fix.pirzyk2001-07-111-2/+2
| | | | | | PR: kern/28748 Submitted by: Richard Hodges <rh@matriplex.com> MFC after: 2 weeks
* Call disk_destroy in cdcleanup() as appropriate.dd2001-07-111-0/+3
| | | | | PR: 24596 Reviewed by: ken
* Add 'hwatch' and 'dhwatch' ddb commands analogous to 'watch' andbsd2001-07-119-140/+699
| | | | | | | | | | 'dwatch'. The new commands install hardware watchpoints if supported by the architecture and if there are enough registers to cover the desired memory area. No objection by: audit@, hackers@ MFC after: 2 weeks
* Hmm. Let's try this on for size...mjacob2001-07-111-5/+11
| | | | | | | | | | | | | | | | | | | | We originally had it such that if the connection topology was FL-loop (public loop), we never looked at any local loop addresses. The reason for not doing that was fear or concern that we'd see the same local loop disks reflected from the name server and we'd attach them twice. However, when I recently hooked up a JBOD and a system to an ANCOR SA-8 switch, the disks did *not* show up on the fabric. So at least the ANCOR is screening those disks from appearing on the fabric. Now, it's possible this is a 'feature' of the ANCOR. When I get a chance, I'll check the Brocade (it's hard to do this on a low budget). In any case, if they *do* also show up on the fabric, we should simply elect to not log into them because we already have an entry for the local loop. There is relatively unexercised code just for this case. MFC after: 2 weeks
* Sanity guard- return ENODEV if we don't have a good IRQ resource.mjacob2001-07-111-0/+3
|
* Slight cleanliness- add an unlock of Giant in one dopanic case. Domjacob2001-07-111-9/+6
| | | | some very minor formatting changes.
* Correct spelling in a comment and remove trailing newline from add2001-07-111-2/+2
| | | | panic() call (panic() adds it itself).
* Two optimizations:wpaul2001-07-101-10/+35
| | | | | | | | | | | | | 1) Bite the bullet, and allow unaligned accesses without buffer copies on the i386 platform. According to some tests run by Andrew Gallatin, the buffer copy performance hit is greater than the unaligned access performance hit (especially with jumbo frames). We still need to copy everywhere else. 2) Enable interrupt moderation with a 100us timeout. Submitted by: Andrew Gallatin <no longer at duke.edu> MFC after: 1 week
* Bring in dirhash, a simple hash-based lookup optimisation for largeiedowse2001-07-1011-2/+1292
| | | | | | | | | | | | | | | | | | | | | | | | | | | | | directories. When enabled via "options UFS_DIRHASH", in-core hash arrays are maintained for large directories. These allow all directory operations to take place quickly instead of requiring long linear searches. For now anyway, dirhash is not enabled by default. The in-core hash arrays have a memory requirement that is approximately half the size of the size of the on-disk directory file. A number of new sysctl variables allow control over which directories get hashed and over the maximum amount of memory that dirhash will use: vfs.ufs.dirhash_minsize The minimum on-disk directory size for which hashing should be used. The default is 2560 (2.5k). vfs.ufs.dirhash_maxmem The system-wide maximum total memory to be used by dirhash data structures. The default is 2097152 (2MB). The current amount of memory being used by dirhash is visible through the read-only sysctl variable vfs.ufs.dirhash_maxmem. Finally, some extra sanity checks that are enabled by default, but which may have an impact on performance, can be disabled by setting vfs.ufs.dirhash_docheck to 0. Discussed on: -fs, -hackers
* Make this build again after breakage from previous commits.dfr2001-07-102-12/+12
|
* Fix dependencies between kernel options:yokota2001-07-105-17/+26
| | | | | | | | | | - When both SC_PIXEL_MODE and SC_NO_FONT_LOADING are defined, quietly drop SC_NO_FONT_LOADING, because the pixel(raster) console requires font. - When SC_NO_FONT_LOADING is defined, force SC_ALT_MOUSE_IMAGE. Without font, the arrow-shaped mouse cursor cannot be drawn. - Fiddle and simplify some internal macros. MFC after: 2 weeks
* mdoc(7) police: removed HISTORY info from the .Os call.ru2001-07-101-1/+1
|
* Added #include <sys/proc.h>nyan2001-07-102-0/+2
| | | | Submitted by: Kaho Toshikazu <kaho@elam.kais.kyoto-u.ac.jp>
* Use INTR_TYPE_AV rather than INTR_TYPE_MISC for the interrupt forimp2001-07-101-1/+1
| | | | pci interrupts for the bridge.
* Somehow I missed this. Use INTR_TYPE_AV (high priority) instead ofpeter2001-07-091-1/+1
| | | | INTR_TYPE_TTY (lowest priority).
* Whoops; we get an ACPI_OBJECT back from evaluating a method, notmsmith2001-07-091-8/+6
| | | | | | an ACPI_OPERAND_OBJECT. Fix this so that the power resource type can be properly checked, and we can get the system level and resource order.
* Log when the user is turning debugging on/off.joerg2001-07-092-10/+18
| | | | | | | Also sanitize the TRACE* macros a bit so they syntactically behave like single C statements (even inside in `if' statement). Submitted by: des
* Hmpf, remove two variables that got unused by rev 1.214.joerg2001-07-092-4/+2
|
* Ouch, calculate correctly. With 300 rpm and 25 retries, it's 5 secondsjoerg2001-07-092-2/+2
| | | | till timeout.
OpenPOWER on IntegriCloud