summaryrefslogtreecommitdiffstats
path: root/sys
Commit message (Collapse)AuthorAgeFilesLines
* Catch a case spotted by Tor where files mmapped could leave garbage in thejulian1999-04-0513-86/+440
| | | | | | | | | | | | unallocated parts of the last page when the file ended on a frag but not a page boundary. Delimitted by tags PRE_MATT_MMAP_EOF and POST_MATT_MMAP_EOF, in files alpha/alpha/pmap.c i386/i386/pmap.c nfs/nfs_bio.c vm/pmap.h vm/vm_page.c vm/vm_page.h vm/vnode_pager.c miscfs/specfs/spec_vnops.c ufs/ufs/ufs_readwrite.c kern/vfs_bio.c Submitted by: Matt Dillon <dillon@freebsd.org> Reviewed by: Alan Cox <alc@freebsd.org>
* 1) Add the defines for the Mass Storage classn_hibma1999-04-051-10/+23
| | | | | 2) Add comments 3) Add UE_DIR to replace the querying of UE_IN directly
* change wrong names in prototypes (pipe to dev)n_hibma1999-04-051-3/+3
|
* Add the defines for the Iomega Zip 100 driven_hibma1999-04-052-0/+16
|
* bugfix: initialise timeout for usbd_device_request as well.n_hibma1999-04-051-3/+4
| | | | | moved statements around to reflect sequence in the struct, to make finding these discrepancies easier.
* Make ppbus compile under egcs. I'm not sure about this casting-to-union-peter1999-04-053-9/+14
| | | | -containing-the-type stuff, but gcc seemed to do it implicitly..
* Fix damage introduced in previous commit.rnordier1999-04-052-4/+4
|
* Optimize better for space.rnordier1999-04-052-4/+4
| | | | Thanks to: jdp
* There's not much point in the EXPORTMFS #ifdef. I've had this sittingpeter1999-04-051-3/+1
| | | | | | in my tree for 12+ months, and I just noticed that NetBSD have (I think, I've just seen the commit, not the change) just zapped it there. It wasn't in the options files or LINT either.
* Add debug flag DEBUG_EXITFREE to log problems freeing memory on exit.grog1999-04-051-0/+1
|
* remove_plex: If we don't find the plex in a volume to which itgrog1999-04-051-2/+6
| | | | claims to belong, remove it anyway.
* free_vinum: Clean out bdevsw entry before unloading kld.grog1999-04-051-7/+22
| | | | | | | | | Repeatedly-tripped-over-by: Vallo Kallaste <vallo@matti.ee> When VINUMDEBUG is set, free any memory found still allocated. Only log errors if DEBUG_EXITFREE is set.
* 'fr' macro: trace back to new kernel base 0xc0000000grog1999-04-051-1/+1
|
* Bump __FreeBSD_version to 400004 now that the __deregister_frame_infojdp1999-04-051-2/+2
| | | | | | bug is fixed in the dynamic linker. I think it might be handy to know about this to deal with some coming make world bootstrapping issues.
* Regenerate (padding for pread and pwrite).dt1999-04-046-8/+10
|
* Add standard padding argument to pread and pwrite syscall. That should make themdt1999-04-048-158/+129
| | | | | | | | | NetBSD compatible. Add parameter to fo_read and fo_write. (The only flag FOF_OFFSET mean that the offset is set in the struct uio). Factor out some common code from read/pread/write/pwrite syscalls.
* Remove the string ">>> FreeBSD/i386 BOOT". I need to reduce the size ofobrien1999-04-042-4/+4
| | | | | boot2 by 16 bytes. I expect this to be temperary until the boot2 authors can do the proper fix.
* Fix a division which I had made a multiplication.phk1999-04-041-3/+5
| | | | | | Fix return value from ntp_adjtime(). Submitted by: jhay
* Dang, lost some LL's there.phk1999-04-041-3/+3
|
* Update to latest version from Dave Mills. Mostly textual.phk1999-04-042-31/+54
|
* Two changes to vm_map_delete:alc1999-04-041-13/+10
| | | | | | | | | | | | | | 1. Don't bother checking object->ref_count == 1 in order to set OBJ_ONEMAPPING. It's a waste of time. If object->ref_count == 1, vm_map_entry_delete will "run-down" the object and its pages. 2. If object->ref_count == 1, ignore OBJ_ONEMAPPING. Wait for vm_map_entry_delete to "run-down" the object and its pages. Otherwise, we're calling two different procedures to delete the object's pages. Note: "vmstat -s" will once again show a non-zero value for "pages freed by exiting processes".
* Correct forgotten defs in defproc macrogrog1999-04-041-0/+4
|
* Fix for console mouse.kato1999-04-041-1/+5
| | | | Submitted by: Nobuyuki Koganemaru <kogane@koganemaru.co.jp>
* Make firmware revision a triple. Clean up some FC init stuff formjacob1999-04-041-73/+138
| | | | | | | | | | | | | board versions with no BIOS. Separate mailbox interrupts from IOCB interrupts. Read OUTMAILBOX5 while RISC_INT is active- not after you clear it (potential race condition). Clear out older broken BIG_ENDIAN goop. Don't negotiate narrow/async for LVD busses at startup if already in LVD mode. Note usage of presumptive 1040C revision. For all the LIP, PDB Changed, Loop UP/DOWN async events, mark fw state as unknown as well as marking the need to do a getpdb on targets- after a LIP for certain the f/w has to do PRLI/PLOGI for all targets again and marking f/w state as unknown gives us a fighting chance to (start to) hold up for that to complete.
* oops on this lastmjacob1999-04-041-3/+2
|
* F/W revisions now a tuple (not a duple). Fix pre-CAM code.mjacob1999-04-041-19/+57
|
* Fix for pre-CAM kernels (again). Turn back on fast posting.mjacob1999-04-041-35/+16
|
* Remove incorrect BIG_ENDIAN defines and substitute in the SBus only macrosmjacob1999-04-041-126/+45
| | | | | | that will SBusify an isp header or the lun/target portions of a request IOCB- and have these only valid iff __sparc__ (no non-sparc SBus machine that *I* know about).
* Change f/w revision to major,minor,micro version. Add in ISP1040C definition.mjacob1999-04-041-5/+8
|
* roll ISP1040 and ISP2100 f/w to latest releasemjacob1999-04-041-13460/+13587
|
* Read the board revision and trim cache line size back from 16 to 1mjacob1999-04-042-16/+142
| | | | | for early revision 2100 boards. Make sure to turn ROM off for these boards.
* Add a missing declaration that broke the compilation of this file.jdp1999-04-031-0/+1
|
* Restore support for executing BSD/OS binaries on the i386 by passingjdp1999-04-0312-22/+38
| | | | | | | | the address of the ps_strings structure to the process via %ebx. For other kinds of binaries, %ebx is still zeroed as before. Submitted by: Thomas Stephens <tas@stephens.org> Reviewed by: jdp
* Sync with sys/i386/isa/wd.c revision 1.191.kato1999-04-031-3/+1
|
* Sync with sys/i386/isa/sio.c revision 1.234.kato1999-04-032-4/+4
|
* Fixed some style bugs (mainly vinum ones and ones fixed in Lite2 butbde1999-04-033-24/+27
| | | | not here).
* Include nss.h only when PC98 is defined.kato1999-04-031-0/+2
| | | | Pointed out by: "Pierre Y. Dampure" <pierre.dampure@k2c.co.uk>
* Put in place the infrastructure for improved UP and SMP TLB management.alc1999-04-029-69/+174
| | | | | | | | | | | | | In particular, replace the unused field pmap::pm_flag by pmap::pm_active, which is a bit mask representing which processors have the pmap activated. (Thus, it is a simple Boolean on UPs.) Also, eliminate an unnecessary memory reference from cpu_switch() in swtch.s. Assisted by: John S. Dyson <dyson@iquest.net> Tested by: Luoqi Chen <luoqi@watermarkgroup.com>, Poul-Henning Kamp <phk@critter.freebsd.dk>
* We don't need to splbio() around biodone().phk1999-04-021-3/+1
|
* Add back cxswitch() it was used afterall.phk1999-04-021-0/+22
|
* Don't open window for race condition.phk1999-04-022-8/+2
| | | | Detected by: Reg Clemens <reg@dwf.com>
* Use files under sys/boot/i386 instead of copying under sys/boot/pc98.kato1999-04-025-108/+5
| | | | Submitted by: Takahashi Yoshihiro <nyan@dd.catv.ne.jp>
* o sys/i386/include/soundcard.hkato1999-04-0211-138/+209
| | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | Add Sound Card ID for the nss(NEC PC-9801-86 Sound System) driver. Old name of this driver was pcm driver in FreeBSD 2.2.x. Fix lack of the length of the name member of the synth_info structure. (attach_mpu401 in sys/i386/isa/sound/mpu401.c requires 33 chars.) o sys/i386/isa/sound/dev_table.h Add the DMAbuf flags definition DMA_DISABLE. Add the nss driver entry. o sys/i386/isa/sound/dmabuf.c Add the DMA_DISABLE flag check in DMAbuf_outputintr and DMAbuf_inputintr to disable DMA control in FIFO only use (nss driver required). o sys/i386/isa/sound/local.h Add the nss driver entry. o sys/i386/isa/sound/mpu401.c Replace inb function in probe_mpu401 to mpu401_status macro. Wrap macro argument for above replace. Add I/O port maping macro for NEC PC-98x1 arch. Add delay in NEC PC-98x1 arch. o sys/i386/isa/sound/pcm86.c Change driver name to avoid name space conflict to new pcm driver. Fix NEC PC-9801-86 driver to work on RELENG_3 branch or latter. o sys/i386/isa/sound/sound_calls.h Fix the mpuintr definition. Add the nss driver entry. attach_nss, probe_nss, nssintr o sys/i386/isa/sound/soundcard.c Fix lack of the mpuintr registration. Add the nss driver entry. o sys/pc98/conf/files.pc98 Add the nss driver entry. Reviewed by: kato Submitted by: Akio Morita <amorita@meadow.scphys.kyoto-u.ac.jp>
* fix polarity reversal.phk1999-04-011-2/+2
| | | | Noticed by: jhay
* Import PCI pccard bridge chip probing from PAO. Hopeful prelude fornsayer1999-04-014-26/+88
| | | | | | | broadening chipset support in -current. Reviewed by: joerg Obtained from: PAO
* Sync with sys/i386/isa/sio.c revision up to 1.233.kato1999-04-012-4/+44
|
* Sync with sys/i386/isa/npx.c revision 1.66.kato1999-04-011-1/+3
|
* Sync with sys/i386/conf/files.i386 revision up to 1.232.kato1999-04-012-12/+8
|
* Delete the aic driver.kato1999-04-012-6/+2
|
* Make the Macronix driver work on FreeBSD/alpha and add to GENERIC.wpaul1999-04-014-25/+76
| | | | | | | Like the PNIC, we have to copy packet headers in the receive handler because the chip will only DMA to longword aligned buffers. Also do some mindor cleanups.
OpenPOWER on IntegriCloud