summaryrefslogtreecommitdiff
path: root/sys
AgeCommit message (Collapse)Author
2006-08-17Check d_secpercyl in all readdisklable() functions, and have all ofKenneth R Westerback
them return 'invalid geometry' when d_secpercyl == 0. While there move the check to a consistant location (after the check of d_secperunit) and use a consistant idiom (i.e. some readdisklabel()'s have no 'done' label). prodded by thib@ after a bad macppc experience. ok deraadt@
2006-08-17Separate rum(4) firmware from ral(4) ones.Damien Bergamini
ral(4) firmwares are built on PCI-capable architectures only while rum(4) firmware is built on USB-capable architectures only. Rename ral-rt2573 into rum-rt2573 and build rum-rt2573 on the zaurus too (pointed out by Patrick Heim). ok deraadt@
2006-08-17syncTheo de Raadt
2006-08-17i4 is a pci vendorTheo de Raadt
2006-08-17Setup the transparent translation with writeback cache instead ofMiod Vallat
writethrough on 68040.
2006-08-17Large cleanup of the bootblocks, including ansi protos and de-register,Miod Vallat
removal of unused hil stuff, oversimplification of the stand ite code (including dio frame buffer common code factorization), and sgc frame buffer console support, at last. This shaves ~1800 bytes off SYS_UBOOT and ~500 bytes of SYS_CDBOOT despite the addition of the sgc code. Tested on dca, hyper, topcat and sti.
2006-08-17Jump scroll support for vt100 and sun wscons emulations, helps macppc andMiod Vallat
zaurus a lot, tested by many; ok deraadt@
2006-08-17EHCI_NULL is already endian swapped. Don't swap it back.Christopher Pascoe
ok dlg
2006-08-17(128 << fd->sc_type->secsize) instead of (128 * (1 << fd->sc_type->secsize)).Kenneth R Westerback
Makes all FD_BSIZE() defines the same. No object code change.
2006-08-16remove unecessary debugging stuffJason Wright
2006-08-16Add msck(4) and msk(4).Mark Kettenis
ok deraadt@
2006-08-16Add mskc(4) and msk(4).Mark Kettenis
ok deraadt@
2006-08-16Enter msk(4), an initial stab at a driver for the Marvell Yukon-2 GigabitMark Kettenis
ethernet controllers. It works well enough to commit over. There's a lot code duplication from sk(4) though that needs to be reduced.
2006-08-16Not a bug, but change the ID strings for devices with hardware revBrad Smith
0x30000000 and 0x38000000 to both be 8168B/8111B. According to RealTek, they're both the same device, but 0x30000000 is an earlier silicon spin. From wpaul@FreeBSD
2006-08-16don't quirk the earthmatesJason Wright
2006-08-16Belkin RT2601USB.Jonathan Gray
2006-08-16regenJonathan Gray
2006-08-16Belkin RT2601USB.Jonathan Gray
2006-08-16Send out a second delayed gratuitous ARP request afterMarco Pfatschbacher
we've won the MASTER election. This seems to be necessary w/ some wacky L3 switches, that only learn by looking at ARP packets. Fixes PR 5148. OK mcbride@
2006-08-16remove the sparc64 workarounds for the jumbo frame receive ring sizes nowBrad Smith
that the iommu code has been fixed.
2006-08-15Remove DPRINTF from watchdog routine. To noisy even for debug mode.Marcus Glocker
2006-08-15Allocate as many iommu page lists as necessary to match the size requestMiod Vallat
in bus_dmamap_create() again, but this time add a few extra pages to cope with fragmented data (such as mbufs). Tested by many.
2006-08-15Some VS4k/90 have the uVAX bit set in confdata, do not report them as uVAXens.Miod Vallat
2006-08-15A more reliable LCSPX probe, based on information from Blaz Antonic, testedMiod Vallat
by aanriot@
2006-08-15syncTheo de Raadt
2006-08-15- Belkin F5D705C is a zyd(4)Niall O'Higgins
2006-08-15Remove obsolete macros.Marcus Glocker
Pointed out by deraadt@
2006-08-15a start at the port of ucycom from netbsd (I have an delorme earthmate andJason Wright
it's damn well going to work correctly soon)
2006-08-15spacingTheo de Raadt
2006-08-15Some KNF and comment cleanup.Marcus Glocker
2006-08-15Improve watchdog handler.Marcus Glocker
ok jsg@
2006-08-15when there's normal sense data i think the command completed ok, there'sDavid Gwynne
just extra data. say there's no residual if that's the case.
2006-08-15try to deal appropriate with errors from the io command replyDavid Gwynne
2006-08-14Fix bogus scanning mode.Marcus Glocker
2006-08-14say which type of header is unknownTheo de Raadt
2006-08-14split lineTheo de Raadt
2006-08-14And some more KNF.Marco Peereboom
2006-08-14KNFMarco Peereboom
2006-08-14More KNF; no functional change.Marco Peereboom
2006-08-14Really do what I intended on SMALL_KERNEL configurations.Miod Vallat
2006-08-14First in a series of KNF. No functional change.Marco Peereboom
2006-08-14replace a incorrect number with a proper define. this is a no-op changeBrad Smith
since E1000_FDX_COLLISION_DISTANCE and E1000_HDX_COLLISION_DISTANCE use the same values. From glebius@FreeBSD
2006-08-14enable bnx(4) on the CD RAMDISKs as well.Brad Smith
ok deraadt@
2006-08-14disable debugging.Brad Smith
2006-08-14Enable bnx because we now can run traffic.Marco Peereboom
ok deraadt
2006-08-14Change bus_dmamap_create to use the appropriate values. This fixes theMarco Peereboom
issues brad was seeing. Help from jason. ok brad.
2006-08-14Add an attribute to the keyboard devices which can produce the keys theMiod Vallat
wskbd hotkey thread knows about, and make this code conditional on this attribute. No functional change, simply smaller kernels on a few platforms.
2006-08-14start and stop bgrb during attach and detach respectively. as a bonusDavid Gwynne
flush the hbas cache on detach as well. writes on my raid5 seem to run fast now.
2006-08-14firmware commands (as opposed to io commands) are sent to the firmware viaDavid Gwynne
the IOC_WBUF area in bus_space, and replies to it are read from the IOC_RBUF area. the freebsd and linux drivers define these areas to be 32 dwords in length, but it then goes and casts these spaces to a struct that has a 4 byte word at the start with the length of the message in it, followed by a 124 byte buffer which is filled with the actual message in it. rather than screwing around with an extra struct and casts, we can define this header as a register of its own, and the buffer as a separate region in bus_space. this simplifies command submission and the retrieval of the replies (which is yet to be written properly).
2006-08-14Add a bunch more devices.Jonathan Gray