summaryrefslogtreecommitdiffstats
path: root/sys
Commit message (Collapse)AuthorAgeFilesLines
* Move POSIX feature constants from pthread.h to unistd.h, as required byjasone1999-12-161-0/+24
| | | | | | | | | | | | | | 1003.1c-1995. Undefine _POSIX_THREAD_SAFE_FUNCTIONS, since we do not implement all of the necessary interfaces. At least getgrgid_r(), getrnam_r(), getpwuid_r(), getpwnam_r(), getc_unlocked(), getchar_unlocked(), putc_unlocked(), and putchar_unlocked() are missing. Due to a likely typo in 1003.1c-1995, we are not technically allowed to define _POSIX_THREADS without defining _POSIX_THREAD_SAFE_FUNCTIONS, but either way we're non-compliant, so I'm leaving _POSIX_THREADS defined. PR: bin/8281
* Update the xl driver to recognize yet another 3c905B/3c905C class NIC:wpaul1999-12-162-0/+5
| | | | | | | | | | | | | | | | | the 3c450-TX HomeConnect. Like the 3cSOHO100-TX OfficeConnect, this NIC uses the same ASIC as the 3c905B/3c905C but is targeted for a particular market segment (home users). It is somewhat less expensive than the 3c905B/3c905C ($49, according to the 3Com web site), comes with its own custom driver kit and is bundled with various goofy Windows software packages designed to demonstrate the niftyness of home networking (networked game demos, etc...). Changes are: - Add PCI ID to list in if_xlreg.h. - Update xl_devs table in if_xl.c. - Update xl_choose_xcvr() to consider the HomeConnect the same as all the other 10baseT/100baseTX cards.
* Don't build gensetdefs when we can use /usr/bin/gensetdefs. The lattermarcel1999-12-167-532/+17
| | | | | | also creates setdef{0|1}.c so there's no need to have those in the repository. Using /usr/bin/gensetdefs has no consequences for the output.
* Have NFS use a snapshot of boottime instead of boottime itself todillon1999-12-162-12/+28
| | | | | | | | | | | generate the NFSv3 Version id. boottime itself may change, sometimes once every tick if you are running xntpd, which really throws off clients. Clients will tend to throw away what they believe to be stale data too often, and can get into long loops rewriting the same data over and over again because they believe the server has rebooted over and over again due to the changing version id. Approved by: jkh
* This commit was generated by cvs2svn to compensate for changes in r54690,obrien1999-12-163-229/+311
|\ | | | | | | which included commits to RCS files with non-trunk default branches.
| * * The C1010 stepping B0 (Rev 1) tested OK for DT transfers without the U3ENobrien1999-12-163-229/+311
| | | | | | | | | | | | | | | | | | | | | | | | | | | | broken bit work-around enabled. * Fixed a bug that made MDP not work. (However, MDP is actually not tested due to lack of hardware using this feature). * Chip table changed to support the C1010 B0 w/o the U3EN bit work-around enabled. * Add the SYM_SETUP_MAX_LUN, SYM_SETUP_LP_PROBE_MAP (used to tell the driver about chips that are to be claimed with lower priority than old PCI bus based driver (typically the ncr)), SYM_SETUP_SCSI_DIFF, and SYM_SETUP_PCI_PARITY options. Submitted by: Gerard Roudier <groudier@club-internet.fr>
* | Adjust data pointers for untransmitted bytes in fifos when there's phaseluoqi1999-12-161-5/+13
| | | | | | | | change during data transfer.
* | Add options used by the `sym' (Symbios SCSI) driver.obrien1999-12-161-0/+13
| | | | | | | | | | | | | | | | | | SYM_SETUP_LP_PROBE_MAP Low Priority Probe Map (bits) SYM_SETUP_SCSI_DIFF HVD support for 825a, 875, 885 SYM_SETUP_PCI_PARITY PCI parity checking SYM_SETUP_MAX_LUN Number of LUNs supported Submitted by: Gerard Roudier <groudier@club-internet.fr>
* | Add FAST-80 timing to the scsi syncrates table.obrien1999-12-161-0/+1
| | | | | | | | Submitted by: Gerard Roudier <groudier@club-internet.fr>
* | Cleanup the probe messages a bit, show what the device really is, notsos1999-12-161-10/+19
| | | | | | | | | | | | just "CDROM". Also cope with devices that doesn't report speed in the old way, this should be changed into the new GET_PERFORMANCE cmd instead..
* | Add Dual LVD bus (1280) supportmjacob1999-12-167-161/+259
| |
* | dev/pcic/i82365_isasubr.c was removed from tree when it was mergedimp1999-12-161-1/+0
| | | | | | | | into i82365_isa.c. Update conf/files to reflect that.
* | Introduce NDFREE (and remove VOP_ABORTOP)eivind1999-12-1586-956/+459
| |
* | update to isdn4bsd beta release 0.90: since the isic drivers are nowhm1999-12-151-5/+0
| | | | | | | | | | new-busified, remove all isic traces from compatibility mode wrapper Noticed by: Warner Losh
* | Typo fix.tegge1999-12-151-1/+1
| |
* | Add -L${DESTDIR}${LIBDIR} to ld's command line so that the rightmarcel1999-12-151-1/+3
| | | | | | | | libstand is used.
* | update to isdn4bsd beta release 0.90: make LINT compile again, at leasthm1999-12-153-3/+3
| | | | | | | | one "device isic0 ..." line has to be uncommented.
* | update to isdn4bsd beta release 0.90: add ELSA PCC-16 isic support filehm1999-12-152-0/+2
| |
* | Enable building of the OSF/1 compat module.gallatin1999-12-151-0/+4
| |
* | update to isdn4bsd beta release 0.90: since the isic drivers are nowhm1999-12-151-5/+0
| | | | | | | | new-busified, remove all isic traces from compatibility mode wrapper
* | - Add the device resume method. It supercedes the existing resumeyokota1999-12-159-79/+43
| | | | | | | | | | | | routine which hooks the apm driver. - Rename the PSM_HOOKAPM option to PSM_HOOKRESUME. - Delete unnecessary #include.
* | Add alloc/release resource. Need to connect functionality later.imp1999-12-153-1/+21
| |
* | Add the description and example of sbc for non-PnP cards.tanimura1999-12-153-9/+15
| | | | | | | | Noticed by: Kentaro Inagaki <inagaki@tg.rim.or.jp>
* | apic_irq() returns -1 when there is no match for (IOAPIC, intpin) pair.tegge1999-12-151-6/+11
| | | | | | | | Adjust some comments to better match the code.
* | Add NetBSD's explanation of why it would be hard to emulate the Machgallatin1999-12-141-0/+69
| | | | | | | | | | | | system calls. obtained from: NetBSD
* | Add generated filesgallatin1999-12-143-0/+833
| |
* | Finally add the Alpha OSF/1 compat code. I will add it to thegallatin1999-12-1416-0/+4863
| | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | sys/modules Makefile after completing a buildworld. History: The bulk of this code was obtained from NetBSD approximately one year ago (I have taken care to preserve the original NetBSD copyrights and I thank the authors for their work.) At that time, the OSF/1 code was what was left over from their initial bootstrapping off of OSF/1 and did not provide support for executing shared binaries. I have independently added support for shared libraries, and support for some of the more obscure system calls. This code has been available for testing and comment since January of 1999 and running on production machines here at Duke since April. Known working applications include: - Netscape (all versions I've tried) - Mathematica 3.0.2 - Splus 3.4 - ArcInfo 7.1 - Matlab (version unknown) - SimOS - Atom instrumented binaries (built on a real OSF/1 system) Applications which are known not to work: - All applications linking to libmach - Adobe Acrobat (uses libmach) This has been tested with applications running against shared libraries from OSF/1 (aka Tru64) 4.0D and 4.0F. Reviewed by: marcel, obrien BDE-lint by: obrien Agreed in principal to by: msmith
* | update to isdn4bsd beta release 0.90hm1999-12-1412-28/+120
| |
* | update to isdn4bsd beta release 0.90hm1999-12-147-123/+142
| | | | | | | | drivers which are likely to be ported to newbus are commented out for now
* | update to isdn4bsd beta release 0.90hm1999-12-1467-6266/+3516
| |
* | Fix two problems: First, fix the append seek position race that candillon1999-12-146-92/+298
| | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | occur due to np->n_size potentially changing if nfs_getcacheblk() blocks in nfs_write(). Second, under -current we must supply the proper bufsize when obtaining buffers that straddle the EOF, but due to the fact that np->n_size can change out from under us it is possible that we may specify the wrong buffer size and wind up truncating dirty data written by another process. Both problems are solved by implementing nfs_rslock(), which allows us to lock around sensitive buffer cache operations such as those that occur when appending to a file. It is believed that this race is responsible for causing dirtyoff/dirtyend and (in stable) validoff/validend to exceed the buffer size. Therefore we have now added a warning printf for the dirtyoff/end case in current. However, we have introduced a new problem which we need to fix at some point, and that is that soft or intr NFS mounts may become uninterruptable from the point of view of process A which is stuck waiting on rslock while process B is stuck doing the rpc. To unstick process A, process B would have to be interrupted first. Reviewed by: Alfred Perlstein <bright@wintelcom.net>
* | Stop calling everthing an XP1000.gallatin1999-12-141-1/+1
| |
* | Improve the mapping between the hardware PCI bus numbering on multi-hosegallatin1999-12-142-17/+81
| | | | | | | | | | | | | | | | | | | | | | | | | | | | tsunami systems and the PCI bus-numbering system of FreeBSD. Eg, the former allows for 2 PCI bus 2's (one each on hoses 0 and 1) while the latter needs to give each PCI bus a unique monotonically increasing number. It has been fairly well tested and correctly maps machines with a ppb on hose 1 as well as machines with ppbs on both hoses. DS10s remain untested, as I do not have a pci card with a ppb which will pass POST in a tsunami. This is a house of cards.
* | Use SEQ_* macros for comparing sequence space numbers.jlemon1999-12-142-4/+4
| | | | | | | | Reviewed by: truckman
* | Have another go at the VIA support, this time use the PCI ID form thesos1999-12-148-17/+48
| | | | | | | | | | | | | | | | main component in the southbridge chip to determine which VIA chip we are dealing with. Try to enable DMA on generic controllers that say they has the capability, instead of relying on the BIOS to have set it up.
* | Fix the command to launch DMA for 16bit samples.tanimura1999-12-141-2/+8
| | | | | | | | Tested by: Steve Reid <sreid@sea-to-sky.net>
* | Bug fix:green1999-12-142-42/+38
| | | | | | | | | | | | | | | | | | | | | | The variables "m_mclalloc_wid" and "m_mballoc_wid" were not in the proper place. They should have been in uipc_mbuf.c and have been global, not in mbuf.h and local per each file that uses mbuf.h. Sorta bug fix: In mbuf.h, the definitions of various things for KERNEL and not KERNEL cases were very screwy. This fixes all of that which I could find.
* | Fix some problems reported by Mike Pritchard:wpaul1999-12-136-20/+74
| | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | - Add a flag DC_TX_INTR_ALWAYS which causes the transmit code to request a TX done interrupt for every packet. The PNIC seems to need this to insure that the sent TX buffers get reaped in a timely fashion. - Try to unreset the SIA as soon as possible after resetting the whole chip. - Change dcphy to support either 10/100 or 10Mbps only NICs. The built-in 21143 ethernet in Compaq Presario machines is 10Mbps only and it doesn't work right if we try to advertise 100Mbps modes during autoneg. When restricted to only 10mbps modes, it works fine. Note that for now, I detect this condition by checking the PCI subsystem ID on this NIC (which has a Compaq vendor/device ID). Yes, I know that's what the SROM is supposed to be for. I'm deliberately ignoring the SROM wherever possible. Sue me. The latter two fixes allow if_dc to work correctly with the built-in ethernet on certain Compaq Presario boxes. There are liable to be quite a few people using these as their home systems who might want to try FreeBSD; may as well be nice to them. Now if anybody out there has an Alpha miata with 10Mbps ethernet and can show me the output from pciconf -l on their system, I'd be grateful.
* | minor comment updatemjacob1999-12-131-0/+1
| |
* | Add a readahead heuristic to the NFS server side code. While the serverdillon1999-12-132-2/+154
| | | | | | | | | | | | | | | | | | | | | | cannot unilaterally pass data to a client it can reduce the physical disk transaction overhead by reading larger blocks. This results in better pipelining of requests/responses over the network and an almost 100% increase in cpu efficiency on the server. On a 100BaseTX network NFS read performance increases from 8.5 MBytes/sec to 10 MB/sec (maxed out), and cpu efficiency increases from 72% idle to 80% idle on the server. Reviewed by: Alfred Perlstein <bright@wintelcom.net>
* | PR: kern/15222dillon1999-12-132-0/+32
| | | | | | | | Submitted by: Ian Dowse <iedowse@maths.tcd.ie>
* | Add module for if_ef driver and make it compile.bp1999-12-133-2/+157
| |
* | Bring up an if_ef driver which allows support for four ethernetbp1999-12-132-1/+612
| | | | | | | | | | | | | | frame types. Currently it supports only IPX protocol and doesn't affect existing functionality when not loaded. Reviewed by: Ollivier Robert <roberto@keltia.freenix.fr>
* | Allow ifunit() routine to understand names like ed0f2. Alsobp1999-12-131-31/+26
| | | | | | | | | | | | fix a bug caused by using bcmp() instead of strcmp(). Reviewed by: Garrett Wollman <wollman@khavrinen.lcs.mit.edu>
* | Merge from sys/i386/conf/files.i386 rev 1.289.kato1999-12-132-0/+2
| | | | | | | | Submitted by: yokota
* | Merge from sys/dev/kbd/kbd.c rev 1.13.kato1999-12-132-0/+28
| | | | | | | | Submitted by: yokota
* | Merge from sys/dev/syscons/syscons.c rev 1.330.kato1999-12-131-0/+1
| |
* | Merge from sys/i386/conf/Makefile.i386 rev 1.166.kato1999-12-132-8/+14
| |
* | - Pull in kbd.c when sc or vt is included in the kernel, even ifyokota1999-12-134-0/+6
| | | | | | | | no keyboard driver is defined in the kernel config file.
* | - Add a module event function to the ukbd driver and make the ukbd KLDyokota1999-12-133-6/+69
| | | | | | | | | | module work. - Delete unnecessary #include.
OpenPOWER on IntegriCloud