aboutsummaryrefslogtreecommitdiff
path: root/sys
Commit message (Collapse)AuthorAgeFilesLines
* Fixed unsigned longs that should have been vm_offset_t.Bruce Evans1996-03-199-21/+29
| | | | | | | | | | | | | vm_offset_t is currently unsigned long but should probably be plain unsigned for i386's to match the choice of minimal types to represent for fixed-width types in Lite2. Anyway, it shouldn't be assumed to be unsigned long. I only fixed the type mismatches that were detected when I changed vm_offset_t to unsigned. Only pointer type mismatches were detected. Notes: svn path=/head/; revision=14703
* Fix the problem that unmounting filesystems that are backed by a VMIOJohn Dyson1996-03-193-6/+11
| | | | | | | | | | device have reference count problems. We mark the underlying object ono-persistent, and account for the reference count that the VM system maintainsfor the special device close. This should fix the removable device problem. Notes: svn path=/head/; revision=14693
* Added kernel compile time failure if more than one APM device isNate Williams1996-03-192-2/+10
| | | | | | | configured. Notes: svn path=/head/; revision=14692
* Always enable interrupts before calling the APM idle/busy routines.Nate Williams1996-03-195-10/+10
| | | | | | | Suggested by: phk@FreeBSD.org Notes: svn path=/head/; revision=14691
* Minor bugfixes from the recent PC-CARD release.Nate Williams1996-03-182-6/+18
| | | | | | | Submitted by: hosokawa@mt.cs.keio.ac.jp and the rest of the Nomads Notes: svn path=/head/; revision=14686
* Grr, let's actually include <sys/devconf.h> so that DEVCONF support actuallyNate Williams1996-03-182-2/+4
| | | | | | | works. Notes: svn path=/head/; revision=14682
* Whoops, forgot the line that sets the default state in devfs.Nate Williams1996-03-182-2/+6
| | | | Notes: svn path=/head/; revision=14681
* Devfs support.Nate Williams1996-03-182-70/+68
| | | | | | | | | Submitted by: hosokawa@mt.cs.keio.ac.jp and the rest of the Nomads Cleanup. Notes: svn path=/head/; revision=14680
* Removed support for multiple APM devices.Nate Williams1996-03-182-78/+56
| | | | Notes: svn path=/head/; revision=14679
* Always dsgone() slices when we leave.Poul-Henning Kamp1996-03-171-3/+2
| | | | Notes: svn path=/head/; revision=14660
* Update the linux_sendsig() handler to the new type of the 4thPeter Wemm1996-03-172-8/+8
| | | | | | | | arg, now unsigned long. This was (harmlessly on i386) conflicting with the recent 4.4Lite2 changes. Notes: svn path=/head/; revision=14655
* Fix/cleanup raw partition open/close codeAndrey A. Chernov1996-03-172-46/+40
| | | | Notes: svn path=/head/; revision=14654
* Add fe0 to the LINT and GENERIC files (hmmm - looks like my rcvs setup'tJordan K. Hubbard1996-03-175-8/+10
| | | | | | | | | isn't supplying all the proper header info here! Last commit of fe0 entry should have had the following Submitted by line also). Submitted-by: Masahiro SEKIGUCHI <seki@sysrap.cs.fujitsu.co.jp> Notes: svn path=/head/; revision=14646
* This is a revised fe, Ethernet driver for MB8696x based adapters.Jordan K. Hubbard1996-03-174-1006/+1600
| | | | Notes: svn path=/head/; revision=14645
* Yet another fix from BDE for the new pipe code. This fixes a potentialJohn Dyson1996-03-171-6/+5
| | | | | | | | | | deadlock due to mismanagement of busy counters. Reviewed by: dyson Submitted by: bde Notes: svn path=/head/; revision=14644
* Changes to the Digi/Arnet SYNC driver:Peter Wemm1996-03-177-493/+843
| | | | | | | | | | | | | | | | | | | | | 1. Create 2 x 8k transmit buffer blocks in place of the 16k block previously. With this change the speed as tested with ttcp on a 2Mbit link went up from 206kbyte/s to 236kbyte/s. 2. Change the rest of the functions to also have the definition of the return value on a sepperate line. 3. Remove some unused variables. 4. Add code to recover from DMA underruns. 5. Reorder ar_get_packets() to handle errors better. 6. Only allocate a mbuf cluster if the data is more than the mbuf. (and in a second diff in addition to the above) 7. Stops the occasional DMA underruns that occurred when 2 channels are running at 2Mbit/s. Submitted by: John Hay <jhay@mikom.csir.co.za> Notes: svn path=/head/; revision=14643
* Force device mappings to always be shared. It doesn't make sense for themDavid Greenman1996-03-161-4/+5
| | | | | | | | | | to ever be COW and we need the mappings to be shared for backward compatibilty. Reviewed by: dyson Notes: svn path=/head/; revision=14638
* Add joy to the SUBDIR list.Jean-Marc Zucconi1996-03-161-2/+2
| | | | Notes: svn path=/head/; revision=14636
* Build LKM for joystick driver.Jean-Marc Zucconi1996-03-164-0/+71
| | | | Notes: svn path=/head/; revision=14635
* Fix the isa_device table (lkm): id_irq and id_maddr must be 0.Jean-Marc Zucconi1996-03-163-3/+3
| | | | | | | Pointed out by: bde Notes: svn path=/head/; revision=14634
* Add code to make it a loadable kernel moduleJean-Marc Zucconi1996-03-153-0/+138
| | | | Notes: svn path=/head/; revision=14633
* Allow SIOCGIFBRDADDR and SIOCGIFNETMASK to return information aboutBill Fenner1996-03-151-5/+17
| | | | | | | | aliases, if the alias address was passed in the struct ifreq. Default to first address on the list, for backwards compatibility. Notes: svn path=/head/; revision=14632
* Actually implement SA_RESETHAND - some of the sigaction code recognised itPeter Wemm1996-03-152-14/+29
| | | | | | | | | | | | | but didn't actually do anything with it (*blush*). This should fix bde's test case where the test program set SA_RESETHAND and when reading it back, it was gone. Tweak/optimize SA_NODEFER so that the implementation is a little simpler and does not incur (slight) overhead for every signal at delivery time. Notes: svn path=/head/; revision=14630
* Correct spelling of gerg@stallion.oz.au's email addressPeter Wemm1996-03-152-4/+4
| | | | Notes: svn path=/head/; revision=14629
* Delete recognition for COMPAT_LINUX - it's *gone* now.. :-)Peter Wemm1996-03-152-2/+0
| | | | Notes: svn path=/head/; revision=14628
* Add "linux_assym.h" as a dependency for linux_locore.o when compilingPeter Wemm1996-03-152-4/+6
| | | | | | | | | the kernel with the linux emulator statically configured (options LINUX) Problem noticed by: Brian Litzinger Notes: svn path=/head/; revision=14627
* Provide a better handling of partially corrupted directory entries.Joerg Wunsch1996-03-142-20/+24
| | | | | | | Submitted by: bde Notes: svn path=/head/; revision=14625
* IGMPv2 routines rewritten, to be more compact and to fully complyBill Fenner1996-03-146-296/+173
| | | | | | | with the IGMPv2 Internet Draft (including Router Alert IP option) Notes: svn path=/head/; revision=14622
* Fix ip option processing for raw IP sockets. This whole thing is a compromisePaul Traina1996-03-132-5/+14
| | | | | | | | | | | | | | between ignoring options specified in the setsockopt call if IP_HDRINCL is set (the UCB choice when VJ's code was brought in) vs allowing them (what everyone else did, and what is assumed by programs everywhere...sigh). Also perform some checking of the passed down packet to avoid running off the end of a mbuf chain. Reviewed by: fenner Notes: svn path=/head/; revision=14611
* This commit is as a result of a comment by Alan Cox (alc@cs.rice.edu)John Dyson1996-03-131-36/+53
| | | | | | | | | | | regarding the "real" problem with maps that we have been having over the last few weeks. He noted that the first_free pointer was left dangling in certain circumstances -- and he was right!!! This should fix the map problems that we were having, and also give us the advantage of being able to simplify maps more aggressively. Notes: svn path=/head/; revision=14610
* Return the status of the APM support (enabled/disabled) with theNate Williams1996-03-133-5/+8
| | | | | | | APM_GETINFO ioctl. Notes: svn path=/head/; revision=14608
* Make sure that we pmap_update AFTER modifying the page table entries.John Dyson1996-03-132-14/+14
| | | | | | | | The P6 can do a serious job of reordering code, and our stuff could execute incorrectly. Notes: svn path=/head/; revision=14607
* Removed more APM_SLOWSTART code and re-enabled some functions whichNate Williams1996-03-122-58/+2
| | | | | | | didn't require APM_SLOWSTART to be defined. Notes: svn path=/head/; revision=14603
* Fix some minor typo's in the comments.Nate Williams1996-03-122-8/+8
| | | | Notes: svn path=/head/; revision=14598
* Killed some historical #define cruft that we've never used in FreeBSD:David Greenman1996-03-124-56/+4
| | | | | | | | | | | | | | | UDOT_SZ SYSPTSIZE USRPTSIZE MSGBUFPTECNT DMMIN DMMAX DMTEXT USRIOSIZE VM_PHYS_SIZE Notes: svn path=/head/; revision=14595
* Fix the map corruption problem that appears as a u_map allocationJohn Dyson1996-03-121-25/+3
| | | | | | | error. Notes: svn path=/head/; revision=14589
* Remove references to MAP_FILE.. That is now "default" and is onlyPeter Wemm1996-03-125-16/+16
| | | | | | | a "#define MAP_FILE 0" that is still there for net-2 source compatability. Notes: svn path=/head/; revision=14584
* The same data segment length rounding problem that was in the elfPeter Wemm1996-03-121-4/+4
| | | | | | | | | | | loader is also present in the coff loader. It was possible to get one more page allocated than needed, which would cause brk()/malloc()/etc to fail with ENOMEM when it tried to re-allocate the space. Also, change a bcopy() from kernel to user space to a copyout(). Notes: svn path=/head/; revision=14583
* Always initialize master_softc. This avoids panics in the idle loop dueNate Williams1996-03-122-4/+14
| | | | | | | | to unitialized data if the APM support is compiled in and the probe fails. Notes: svn path=/head/; revision=14581
* Bring in some prototypes that shouldn't have been dependant onNate Williams1996-03-121-5/+1
| | | | | | | APM_SLOWSTART, which are generic APM functions. Notes: svn path=/head/; revision=14579
* Removed undocumented an unused APM_SLOWSTART code.Nate Williams1996-03-127-137/+10
| | | | Notes: svn path=/head/; revision=14577
* Allow mmap'ed devices to work correctly across forks. The sanestJohn Dyson1996-03-121-3/+11
| | | | | | | | solution appeared to be to allow the child to maintain the same mapping as the parent. Notes: svn path=/head/; revision=14574
* Do a APM BIOS dis-connect before attempting to do a 32-bit connectionNate Williams1996-03-114-82/+104
| | | | | | | | | | | | | just in case a connection already existed. Also, a minor optimization in the code which determins if a APM BIOS exists. Reviewed by: phk This is based on the APM-0.5 patch for Linux, but written entirely by me. Notes: svn path=/head/; revision=14571
* Removed conditionals on BDE_DEBUGGER around the loading for the IDTNate Williams1996-03-112-14/+6
| | | | | | | | | | since it's necessary for interrupt processing to be enabled. Modify comment to reflect this condition. Submitted by: bde Notes: svn path=/head/; revision=14570
* Move these out of the way (to the Attic) as we do not use this versionPeter Wemm1996-03-112-874/+0
| | | | | | | of makesyscalls.sh (yet?). Notes: svn path=/head/; revision=14569
* This commit was generated by cvs2svn to compensate for changes in r14567,Peter Wemm1996-03-111-0/+12
|\ | | | | | | | | | | | | which included commits to RCS files with non-trunk default branches. Notes: svn path=/head/; revision=14568
| * Import 4.4BSD-Lite2 onto the vendor branch, note that in the kernel, allPeter Wemm1996-03-1153-0/+28580
| | | | | | | | | | | | | | | | | | | | | | | | files are off the vendor branch, so this should not change anything. A "U" marker generally means that the file was not changed in between the 4.4Lite and Lite-2 releases, and does not need a merge. "C" generally means that there was a change. [note new unused (in this form) syscalls.conf, to be 'cvs rm'ed] Notes: svn path=/vendor/CSRG/dist/; revision=14567
| * Import 4.4BSD-Lite2 onto the vendor branch, note that in the kernel, allPeter Wemm1996-03-1122-0/+11676
| | | | | | | | | | | | | | | | | | | | | | files are off the vendor branch, so this should not change anything. A "U" marker generally means that the file was not changed in between the 4.4Lite and Lite-2 releases, and does not need a merge. "C" generally means that there was a change. Notes: svn path=/vendor/CSRG/dist/; revision=14564
| * Import 4.4BSD-Lite2 onto the vendor branch, note that in the kernel, allPeter Wemm1996-03-1140-0/+16807
| | | | | | | | | | | | | | | | | | | | | | files are off the vendor branch, so this should not change anything. A "U" marker generally means that the file was not changed in between the 4.4Lite and Lite-2 releases, and does not need a merge. "C" generally means that there was a change. Notes: svn path=/vendor/CSRG/dist/; revision=14563
* | This commit was generated by cvs2svn to compensate for changes in r14561,Peter Wemm1996-03-111-0/+862
|\| | | | | | | | | | | | | which included commits to RCS files with non-trunk default branches. Notes: svn path=/head/; revision=14562