summaryrefslogtreecommitdiff
path: root/sys
AgeCommit message (Collapse)Author
2005-05-03Convert the size of a memory chunk from bytes to megabytes beforeTom Cosgrove
casting to a 32-bit value, not after. Corrects the display of large memory chunks in the probing: line (mem[615K 3518M 0M a20=on] becomes mem[615K 3518M 12288M a20=on]). Bump version on boot, cdboot and pxeboot accordingly. "looks ok to me" weingart@
2005-05-03repair file mmapings above 4g; found by chefren; art@ okMichael Shalayeff
2005-05-03clean up some small fallout from initial freebsd import.Hans-Joerg Hoexer
ok grange@
2005-05-03enable HW transmit checksum offloadBrad Smith
ok pvalchev@
2005-05-03- Fix bogus asm statements; tmp1 and tmp2 need to be outputs rather than inputs.Brad Smith
- Merge in4_cksum(). From NetBSD ok miod@
2005-05-03sdstrategy() shouldn't use values in disklabel until SDEV_MEDIA_LOADEDKenneth R Westerback
is checked. Fixes crash during boot when a device has no media loaded. e.g. a usb card reader with empty slots. From NetBSD. Problem was introduced by last commit to allow RAW_PART+S_IFCHAR opens to always succeed. ok millert@ marco@
2005-05-02simplify by using arc4random_bytes(), ok djm, hshoexerMarkus Friedl
2005-05-02Avoid infite loop.Mark Kettenis
ok drahn@
2005-05-02We don't really like full stops in dmesg. ok pefo@Alexander Yurchenko
2005-05-02Add ichwdt(4): Intel 6300ESB ICH watchdog timer driver. Disabled forAlexander Yurchenko
now due to lack of testing. If you have a machine that uses this device please contact me. ok deraadt@
2005-05-02obvious typo, designed to break the tree, brad, hmm?Theo de Raadt
2005-05-02Add 6300ESB watchdog timer register definitions.Alexander Yurchenko
2005-05-02quadradically -> quadratically, lots ofPedro Martelletto
2005-05-02Don't hardcode sizeof(pcireg_t) value. ok markus@Alexander Yurchenko
2005-05-02sparc64 optimized in4_cksum().Brad Smith
From NetBSD
2005-05-02Load the symbol table to the end of data/bss, and account for it whenUwe Stuehler
setting up the kernel page table. Makes ddb more usable (when used together with an unrotated console :)
2005-05-02New in{,4}_cksum that is between 1.5 and 5 times faster than theBrad Smith
old version depending on CPU type. From NetBSD ok drahn@
2005-05-01To allow for MD override of in4_cksum()...Brad Smith
ok deraadt@
2005-05-01since &func is aplt workaround the switch_trampoline and deref plt for the ↵Michael Shalayeff
func aswell
2005-05-01Allow RAW_PART+S_IFCHR device opens to succeed even if media notKenneth R Westerback
present. A successful open is required for ioctl's to work. Mostly from NetBSD, partly correcting previous code cleanup error. From deraadt@, treat MTIOCTOP+MTRETEN as CDIOCCLOSE for cd devices (i.e. close the cd drawer). ok deraadt@.
2005-05-01Fix zaudio dependencies. ok uwe@, pascoe@.Matthieu Herrb
2005-05-01When parsing the bootpath, correctly handle ":foo" modifiers if they areMiod Vallat
more than one-letter wrong; fixes boot device determination with /.../ledma:tpe/le... strings (PR #4192)
2005-05-01spellingDavid Krause
2005-05-01- Sync nubus IDs with NetBSD and add some moreMartin Reindl
- add support for reading sMemory resources from nubus cards (currently unused) - support a bunch more nubus video cards. The Miro PRISMA GX seems to handle interrupts like the Radius DirectColor/GX, so just treat it the same. ok miod@
2005-05-01Use quality 0 instead of 1000 for CP0 timecounter likeAlexander Yurchenko
for i8254 on i386/amd64. Tested by kettenis@.
2005-05-01check for VBIOONFREELIST and VBIOONSYNCLIST in vprint(), okay marius@Pedro Martelletto
2005-05-01update the maxium sendqueue size on ifconfig up; this should fix problemsMarkus Friedl
where IP cannot send packets larger then 11*mtu (e.g for large UDP/NFS packets); pascoe@ brad@
2005-05-01Another evil hack to turn sidelining into underlining on the Zaurus console.Christopher Pascoe
tested dlg@
2005-05-01Bring raise-only semantics to splsoft* on m68k and m88k, as done elsewhere.Miod Vallat
2005-05-01spacing; ok miod@ deraadt@David Krause
2005-05-01RCS idBrad Smith
2005-04-30Temporary hack to (un)rotate the Zaurus console until a proper rasopsChristopher Pascoe
rotation framework is ready.
2005-04-30try to drain send queue if we lose link during heavy transmitBrad Smith
activity instead of letting it sit and return 'no buffer available' errors.
2005-04-30don't set MTU if its the same as what's currently being used.Brad Smith
2005-04-30- Add missing break for SIOCSIFADDRBrad Smith
- Allow setting the MTU ok pvalchev@
2005-04-30- Correct the if_link_state_change() logic.Brad Smith
- Reading the EEPROM to learn the station address doesn't seem to work on boards with VIA gigE controllers that are embedded in VIA chipsets. Presumably, they don't have an external EEPROM and store the MAC address somewhere else. To get around this, read the station address from the RX filter registers instead. This has been tested to work on both embedded and standalone controllers. From FreeBSD ok pvalchev@
2005-04-30Move CALL() from <machine/asm.h> to eh.S which is the only user of the macro,Miod Vallat
and replace it with faster constructs in some cases; also drop the unused CALLP() macro.
2005-04-30Get rid of `U' suffix for psr field values.Miod Vallat
2005-04-30Use [XNF]IP_ADDR constants rather than their numeric values.Miod Vallat
2005-04-30A simpler and better SET_PC_REGS().Miod Vallat
2005-04-30Remove m88k_psr_type and function with utterly long names to control the psr,Miod Vallat
and use get_psr() / set_psr() or simple macros that expand into them everywhere. No functional change.
2005-04-30Remove disabled code which would disable all interrupts rather than switchMiod Vallat
to spltty for processing.
2005-04-30As on i386, ensure we save the %ebx register returned from the BIOSTom Cosgrove
call, not just %bx. Fixes problem introduced in gidt.S r1.3. Problem found, and fix tested, on i386 by Roy Morris rmorris (at) internetsecure (dot) com. Thanks. Bump version on boot, cdboot and pxeboot accordingly.
2005-04-30Ensure we save the %ebx register returned from the BIOS call, not justTom Cosgrove
%bx. Fixes problem introduced in gidt.S r1.29, which could lead to an incomplete memory map, and "too little memory available; running in degraded mode", as found by Roy Morris rmorris (at) internetsecure (dot) com. (Thanks for the report, and for testing the fix.) Bump version on boot, cdboot and pxeboot accordingly. ok weingart@
2005-04-30Add support for large files (> 4GB).Niall O'Higgins
Automatically converts old filesystems to use this if they are already at revision 1 (like Linux). Revision 0 filesystems don't get converted (unlike Linux). From NetBSD
2005-04-30check for ETHERMIN in SIOCSIFMTU ioctl; from bradPeter Valchev
2005-04-30From NetBSD, pt to by brad (might fix csum problems, else they mayPeter Valchev
need to be disabled after more testing): re_encap: set RTK_TDESC_CMD_IPCSUM if any of checksum offloading is requested. otherwise, RTK_TDESC_CMD_TCPCSUM/UDPCSUM don't seem to make any effect.
2005-04-30prettierTheo de Raadt
2005-04-30start the job of making things look more alikeTheo de Raadt
2005-04-30this is not GENERICTheo de Raadt