summaryrefslogtreecommitdiff
path: root/sys
AgeCommit message (Collapse)Author
2008-08-09Do not forget to set the ``specific EOI'' bit when sending a... specific EOI;Miod Vallat
from NetBSD.
2008-08-09RegenMiod Vallat
2008-08-09Add the fr-dvorak-be'po layout as fr.dvorak for ps/2 and usb keyboards.Miod Vallat
This is only the simplified layout, which is final; the complete layout with extra symbols is still being discussed.
2008-08-09turn an MFREE() into an m_free() and garbage collect anThordur I. Bjornsson
unused mbuf pointer. OK claudio@
2008-08-09o nfs_vinvalbuf() is always called with the intrflag as 1, and thenThordur I. Bjornsson
checks if the mount is actually interrutable, and if not sets it 0. remove this argument from nfs_vinvalbuf and just do the checking inside the function. o give nfs_vinvalbuf() a makeover so it looks nice. (spacing, casts, &c); o Actually pass PCATCH too tsleep() if the mount it interrutable. ok art@, blambert@
2008-08-09Revert last commit, it doesn't always help, we need to find anotherMarcus Glocker
solution.
2008-08-09Prepare for ehci: If GET_DEF request has failed, wait a moment beforeMarcus Glocker
issuing GET_CUR. Makes my NX6000 attach on ehci.
2008-08-08Admit b_blkno means block number; a block is DEV_BSIZE (a.k.a.Kenneth R Westerback
512) bytes; ffs is inextricably tied to using b_blkno and disklabel always uses sectorsize units. Thus use DEV_BSIZE units for all fields describing ffs filesystems and convert to/from sectors where required. This enables the creation and use of ffs filesystems on non-512 byte sectorsize devices. This diff allows i386 and sgi (the two test platforms) to find disklabels that are not on a sectorsize boundary. Same change to further archs coming. This is a no-op on 512-byte sectorsize devices. This work triggered by jsing@'s need to create ffs filesystems on sgi cdroms so we can create cdrom install media for sgi. sgi testing by jsing@ ok jsing@ pedro@ "looks sane" beck@ weingart@
2008-08-08o sync comment with reality, we have never malloc()'ed filehandlesThordur I. Bjornsson
and the dead code that was supposed todo that has been removed. o rename the NFS_SMALLFH constant to NFS_MAXFHSIZE, since it better reflects what it's for. ok blambert@
2008-08-08After beck@ changed the way nfsiod's are notified of work, theBret Lambert
nfs_iodwant array became unused. Garbage collect and free up a few bytes. ok thib@
2008-08-08Remove code for variable-sized allocations of NFS filehandles by malloc(),Bret Lambert
as it was never used because there were 64-bit buffers already allocated for filehandles in nfsnode structs. ok thib@
2008-08-08remove an if notyet block from sys_fstatfs(), that will never be needed,Thordur I. Bjornsson
softupdates are reported too statfs via other means. missed this block in in rev1.148 where the same block was removed from sys_statfs().
2008-08-08Do not latch the IPSec tdb to the inpcb unconditionally. This hasAlexander Bluhm
been moved to the protocol layer from ip_output at 2002/05/31. The IPv6 part has been forgotten so packets could get encrypted unintentionally. ok hshoexer markus
2008-08-08Wrap long lines and remove useless comment.Joel Sing
2008-08-08use cgbase() instead of doing arthmetic on fs_fpg when calculatingThordur I. Bjornsson
block# too ensure proper casting. From FreeBSD; ok miod@, pedro@, blambert@
2008-08-08syncDamien Bergamini
2008-08-08Make sgivol use the sgilabel struct from machine/disklabel.h, rather thanJoel Sing
declaring another. ok miod@
2008-08-08PCI IDs for Intel WiFi Link 5000 series (5100, 5300, 5350).Damien Bergamini
2008-08-08if we fail to extract the mbuf in the Rx routine, incrementThordur I. Bjornsson
the if_ierrors before bailing out; Turn a printf() that fires in this case too a DPRINTF since we the interface error counters now reflect this. OK mglocker@
2008-08-08syncReyk Floeter
2008-08-08add eMPIA Technology EeePC 701 camera (currently unsupported uvideo(4)Reyk Floeter
device)
2008-08-08spacing + wrap a line at 79chars.Thordur I. Bjornsson
2008-08-08plug an mbuf leak in m_pullup2(); If we fail to get a cluster for an mbuf,Thordur I. Bjornsson
free the mbuf before bailing out. ok claudio@
2008-08-08'prey' -> 'pray' in comment as prayer rather than predation seemsKenneth R Westerback
the intended meaning.
2008-08-07Remove workaround used for the 4.4 release. More route prio stuff is commingClaudio Jeker
soon.
2008-08-07Use %sys_tick to generate clock interrupts on systems that have it.Mark Kettenis
2008-08-07Give each CPU its own `struct intrhand' for %tick interrupts. Fixes aMark Kettenis
problem where the clock would stop ticking on some CPUs because of lost ticks.
2008-08-07grow MINCLSIZE to MHLEN + MLEN + 1 again. we shrinked it just before theHenning Brauer
release to be on the safe side, now we have 6 months to find remaining offenders misusing MINCLSIZE
2008-08-07account spanning tree frames in if_obytes and if_omcasts.Damien Bergamini
ok henning@
2008-08-07do not touch m after IFQ_ENQUEUE()+if_start().Damien Bergamini
ok brad@, mpf@, henning@, reyk@
2008-08-07- Enable ALTQ support.Brad Smith
- Let the VLAN driver know that the hw can send and receive full size VLAN tagged packets. Tested by maja@
2008-08-07don't wait for a free mbuf cluster in sosend() and enter the existingReyk Floeter
error handler that was never used before. this fixes a bug that a userland process might hang if the system ran out of mbuf clusters or even other unexpected behaviour in the network drivers. this bug is very old - it is also found in rev 1.1/stevens v2/44lite2/... discussed with many ok markus@ thib@ dlg@
2008-08-07we are at 4.4-currentTheo de Raadt
2008-08-06fix trunk breakage that sneaked in with the lacp diff:Reyk Floeter
- don't use in-kernel IFMEDIA ioctls in lacp and remove two KASSERTs that caused reliable panics - the lacp key can be locally assigned and we don't need to query the media subtype here. - unbreak failover/loadbalance/broadcast status handling. Reported by brad@ ok deraadt@
2008-08-06Backout the acpicpu_setpdc code and the code to allow est to use acpicpuGordon Willem Klok
on amd64. Evaluating the _PDC seems to lead to instability (PR5878 and a report by jmc@) on lower end machines its too close to release and I don't have enough nickels. ok deraadt@
2008-08-06we are no longer in -betaTheo de Raadt
2008-08-05Fix spurious 0 values on batteries seen on laptopts that have an embeddedMarco Peereboom
controller. Found, diagnosed and patch from Stefan Sperling <stsp@stsp.name> Minor KNF changes while here. Tested by many on a variaty of IBM laptops and others with and without acpiec. ok deraadt
2008-08-05One last duplicate scsi initiator report in dmesg.Miod Vallat
2008-08-05Add support for reading the MAC address for newer re(4) chipsets.Brad Smith
The current method results in a MAC address of all zeros. Tested by bernd@/jcs@ with 8102E and fkr@ with 8168C. From FreeBSD ok jsg@
2008-08-04do not count ethernet header twice in if_obytes stats.Damien Bergamini
do not count address family field twice in tun's if_obytes stats. ok henning@ reyk@ deraadt@ for the ethernet bits. ok deraadt@ for the tun bits.
2008-08-04fix extended partition support by handling chained EBRs correctlyReyk Floeter
(using a recursion limit). now OpenBSD can be installed in a subsequent DOS/Linux-compatible extended partition. ok krw@ deraadt@
2008-08-03Make buf_dealloc_mem() remove the mapping even if b_pobj is NULL. OtherwiseMark Kettenis
bread_cluster() leaks mappings which causes grief on VAC architectures. Fixes bsd.rd on hppa and armish. ok art@, beck@
2008-08-03revert part of rev. 1.65 where we set the address earlier. this seemsFederico G. Schwindt
to cause issues as per netbsd pr/39023. deraadt@ yuo@ ok.
2008-08-02Use correct terms as in the specs;Marcus Glocker
"fragment" gets replaced by "sample". "sample" gets replaced by "frame". A sample is a peace of a frame (final image). No functional changes. OK deraadt@
2008-08-02Better wording for a comment.Marcus Glocker
2008-08-02Spacing, sorting, and remove an unused prototype.Marcus Glocker
2008-08-02Woops, remove #undef which was committed by mistake.Marcus Glocker
2008-08-02Don't print error message if GET_DEF request fails, since this is commonMarcus Glocker
for some devices and we will fail back to GET_CUR then.
2008-08-02compile inteldrm and radeondrm in GENERIC by default, but disabled.Owain Ainsworth
This will let them get some more testing. Re-order things a little while i'm here. prompted by and ok deraadt@.
2008-08-02Make the drm attach messages a lot prettier.Owain Ainsworth
the DRM_{INFO,ERROR,DEBUG} printf macros still need some __VA_ARGS__ love. reyk@ and marco@ liked this, prompted by deraadt.