summaryrefslogtreecommitdiffstats
path: root/sys
Commit message (Collapse)AuthorAgeFilesLines
* Regenerateobrien2003-01-131-1/+3
|
* - Unbreak world. I did not notice that libkvm was still used in some placesjeff2003-01-132-7/+6
| | | | | | to access the pctcpu. This will have to be sorted out more later as the new scheduler requires a procedural interface for this data. A more complete solution will follow.
* Correct an off-by-one error in the calculation of the number of interruptbenno2003-01-131-1/+1
| | | | resources we're managing.
* Bow to the whining masses and change a union back into void *. Retaindillon2003-01-1347-233/+203
| | | | | removal of unnecessary casts and throw in some minor cleanups to see if anyone complains, just for the hell of it.
* Make vm_page_alloc() return PG_ZERO only if VM_ALLOC_ZERO is specified.alc2003-01-121-4/+5
| | | | | | | | | | The objective being to eliminate some cases of page queues locking. (See, for example, vm/vm_fault.c revision 1.160.) Reviewed by: tegge (Also, pointed out by tegge that I changed vm_fault.c before changing vm_page.c. Oops.)
* Add code to make md(4) a GEOM device driver instead of relying inphk2003-01-121-4/+134
| | | | | | the disk mini-layer. This is currently not enabled.
* Partial support for the nVidia nForce2 chipset's on-board Broadcom/Altima PHYobrien2003-01-124-0/+7
| | | | | | | and 3com MAC. Specifications for the Altima PHY are available at: http://www.altimacom.com/products/ac101L.html Submitted by: Mikko S. Hyvarinen <morphy@morphy.iki.fi>
* - Move ke_pctcpu and ke_cpticks into the scheduler specific datastructure.jeff2003-01-122-17/+30
| | | | | This will prevent access through mechanisms other than the published interfaces.
* Shift things around a bit in preparation for future evilness.phk2003-01-121-43/+48
|
* Allowing nent < 0 in aio_suspend() and lio_listio() is just asking fortjr2003-01-121-2/+2
| | | | trouble. Return EINVAL instead.
* Remove "XXX undocumented" comment from lio_listio().tjr2003-01-121-1/+1
|
* Make compile cleanly when USB_DEBUG is defined.imp2003-01-121-1/+2
|
* vm_fault_copy_entry() needn't clear PG_ZERO because it didn't passalc2003-01-121-3/+0
| | | | VM_ALLOC_ZERO to vm_page_alloc().
* vm_hold_load_pages() needn't clear PG_ZERO because it didn't passalc2003-01-121-1/+0
| | | | VM_ALLOC_ZERO to vm_page_alloc(). (PG_ZERO is clear by default.)
* Merged from sys/isa/fd.c revision 1.244.nyan2003-01-122-0/+6
|
* Change struct file f_data to un_data, a union of the correct structdillon2003-01-1247-201/+220
| | | | | | | | | | pointer types, and remove a huge number of casts from code using it. Change struct xfile xf_data to xun_data (ABI is still compatible). If we need to add a #define for f_data and xf_data we can, but I don't think it will be necessary. There are no operational changes in this commit.
* Bail out of fd_clone() if the parsed unit number doesn't match ourjoerg2003-01-112-0/+6
| | | | | | | | | | expectation. This solves the problem, where in a constellation with two (or more) drives, an attempt is made to access a device name for that device using a historic partition letter, like /dev/fd1c. This is supposed to create a symlink to the master device, but previously, the link was always created to /dev/fd0, even if the request was for fd1*.
* Add support for the Intel 82820 UP-only AGP bridge.anholt2003-01-112-0/+8
| | | | | | PR: 41466 Submitted by: NIIMI Satoshi <sa2c@sa2c.net> MFC after: 1 week
* In vm_page_alloc(), fuse two if statements that are conditioned on the samealc2003-01-111-8/+3
| | | | expression.
* FBSDIDize and clean up whitespace nits.des2003-01-111-30/+25
|
* Read sanpei's mind, and unbreak the build.des2003-01-111-2/+3
|
* Change to correct card entry. RATOC REX-R280 is 10Base-T Ether Card,shiba2003-01-111-1/+1
| | | | RATOC REX-9530 is SCSI2 Card.
* Regen.shiba2003-01-111-3/+10
|
* RATOC REX-R280(10Base-T Ether Card) and REX-9530(SCSI2 Card) haveshiba2003-01-111-1/+4
| | | | same product id. So use CIS info(PCCARD_CISTPL_VERS_1).
* Fix kernel build.mux2003-01-111-1/+1
| | | | Pointy hats to: dillon, Hiten Pandya <hiten@unixdaemons.com>
* Don't restrict MBR sectorsize to 512 bytes.phk2003-01-111-20/+23
| | | | Test data provided by: Andrey Koklin <aka@veco.ru>
* Don't count mbufs with m_type == MT_HEADER or MT_OOBDATA as control datatjr2003-01-113-6/+14
| | | | | in sballoc(), sbcompress(), sbdrop() and sbfree(). Fixes fstat() st_size reporting and kevent() EVFILT_READ on TCP sockets.
* Make 'sysctl vm.vmtotal' work properly using updated patch from Hiten.dillon2003-01-112-3/+3
| | | | | | | (the patch in the PR was stale). PR: kern/5689 Submitted by: Hiten Pandya <hiten@unixdaemons.com>
* Add support for Corega FEtherII CB-TXD (CardBus 100M/10M).sanpei2003-01-112-4/+14
| | | | Fix typo (Coreaga->Corega)
* correct printf formatsam2003-01-111-1/+1
| | | | Noticed by: alpha tinderbox
* Reset the channel in attach if its not the console.jake2003-01-111-0/+7
|
* Add symlink support to devfs_rule_matchpath(). This allows the userdd2003-01-111-1/+2
| | | | to unhide symlinks as well as hide them.
* Major bugfixes for large memory and fast systems.scottl2003-01-114-67/+90
| | | | | | | | | | | | | | | | | | | | | | | | | | | | | | aac.c: Re-arrange the interrupt handler to optimize the common case of the adapter interrupting us because one or more commands are complete, and do a read across the pci bus to ensure that all posted status writes are flushed. This should close a race that could cause command completion interrupts to be lost. Follow the spec a bit closer when filling out command structures. Enable the Fast Response feature to eliminate the need for the card to DMA successfull command completions back into host memory. Tell the controller how much physical memory we have. Without this there was a chance that our DMA regions would collide with the memory window used by the cache on the controller. The result would be massive data corruption. This seemed to mainly affect systems with >2GB of memory. Fix a few whitespace problems. aac_debug.c: Add an extra diagnostic when printing out commands. aac_disk.c: Add extra sanity checks. aacreg.h: Prepare for making this 64-bit clean by reducing the use of enumeration types in structures. Many thanks to Justin Gibbs for helping track these down.
* Remove all use of the LOG2() macro/inline, undoing some non-optimal cruftdillon2003-01-112-32/+16
| | | | | | | that crept in recently. GCC will optimize the divides and multiplies for us. Submitted by: David Schultz <dschultz@uclink.Berkeley.EDU> MFC after: 1 day
* make sem_leave return a usable errno instead of -1.alfred2003-01-101-3/+3
| | | | | | make ksem_close return that usable errno instead of -1 (ERESTART). PR: 46957
* Output the fstype of each partition in a disklabel in the configurationjhb2003-01-101-0/+7
| | | | text similar to the way that the MBR module dumps its slice types.
* MFi386: revision 1.552.nyan2003-01-102-4/+0
|
* Don't record thread pointer, it's not permanent in process life cycle,davidxu2003-01-101-6/+6
| | | | use process pointer instead.
* Make newer integrated SiS900 cards working.mbr2003-01-102-2/+36
| | | | | | | | | | | Allow to read EEPROM from LAN. It is shared between a 1394 controller and the NIC and each time we access it, we need to set SIS_EECMD_REQ. Idea from: linux driver source Reviewed by: luoqi Obtained from: linux driver source (idea)
* Sis no longer implements the enhanced phy controlmbr2003-01-102-53/+262
| | | | | | | | | | register, and phy has to be directly accessed via mdio. Patch converted to CURRENT from STABLE. Submitted by: luoqi Reviewed by: luoqi (again) MFC after: 2 weeks
* SIS_CFG_EDB_MASTER_EN indicates the EDB bus is used instead ofmbr2003-01-102-3/+14
| | | | | | | | | the PCI bus. When this bit is set, the Max DMA Burst Size for TX/RX DMA should be no larger than 64 bytes. Reviewed by: luoqi Obtained from: (idea from linux driver source) MFC after: 2 weeks
* When reading PHY regs over the i2c bus, the turnaround ACK bitmbr2003-01-108-8/+8
| | | | | | | | | | is read one clock edge too late. This bit is driven low by slave (as any other input data bits from slave) when the clock is LOW. The current code did read the bit after the clock was driven high again. Reviewed by: luoqi MFC after: 2 weeks
* o Improve wording of the comment that accompanies fs_pad. Themarcel2003-01-101-1/+6
| | | | | | | | | | | padding is not specific to non-i386 architectures. It is caused by non-i386 specific alignment requirements of fs_swuid, o Add a CTASSERT to catch a change in the size of struct fs at compile-time rather than run-time. Ok'd: gordon Tested on: i386 ia64
* Add preliminary support for the Hawking PN672TX CardBus cards.imp2003-01-104-0/+30
| | | | | # Preliminary because there are some subtle things the NetBSD driver does # that we don't do yet. My card works for me w/o them.
* Don't allow user process to set an invalid window state through sigreturn.jake2003-01-102-4/+9
| | | | Spotted by: tmm
* Clear the target hardware address field when generating an ARP request.tmm2003-01-101-0/+1
| | | | | Reviewed by: nectar MFC after: 1 week
* Fix superblock alignment problems on non-i386 platforms. Also change fs_uuidgordon2003-01-091-2/+3
| | | | | | | | to fs_swuid, making it more descriptive. Submitted by: marcel Reviewed by: peter Pointy hat to: gordon
* Fix for DELL PERC firmware. Driver was hangingemoore2003-01-091-2/+16
| | | | | | | | | during load time; this attributed to the mailbox busy byte not being set prior to issuing a polling command. Approved by: ps MFC: 7 days
* Add support for the Davicom DM9009 chipset.trhodes2003-01-094-0/+8
| | | | | | PR: 46859 Submitted by: Boaz Haberman <boaz@ool-182f8b09.dyn.optonline.net> Approved by: rwatson
* Remove earlysetcpuclass() as it has been OBE.jhb2003-01-094-34/+0
| | | | Suggested by: bde
OpenPOWER on IntegriCloud