summaryrefslogtreecommitdiff
path: root/sys/arch
AgeCommit message (Collapse)Author
2009-11-07A few more PCI Ethernet controllers; from Brad.Miod Vallat
2009-11-07Add a bunch of PCI audio devices, only compile tested; from Brad.Miod Vallat
2009-11-07Replace option TGT_ORIGIN200 and TGT_ORIGIN2000 with a single option,Miod Vallat
TGT_ORIGIN, which enables support for all IP27 and IP35 systems. The original two options have always been used together, and go back to when pefo thought supporting multiple nodes would be significant work. Since an Origin 200 can be a dual-node system, making a distinction between single node and multiple node systems is a moot point anyway. Be sure to rerun config(8) before rebuilding a kernel.
2009-11-07Change sgi system identification from a single system type list, to a smallerMiod Vallat
system type list (which really is the system family) and a subsystem type. No functional change yet.
2009-11-06When rebooting IP27 or IP35 systems, do not request the prom to skip diagnosticsMiod Vallat
anymore, as this causes the nsphy connected to the onboard iec to sometimes disappear after a warm boot. Unfortunately this brings back the long reboot times on Origin 200, despite still asking for no memory test.
2009-11-04Get rid of __HAVE_GENERIC_SOFT_INTERRUPTS now that all our platforms support it.Mark Kettenis
ok jsing@, miod@
2009-11-04Replace the #ifdef NON_DEBUG and #ifdef NOTDEF_DEBUG mess with more saneJoel Sing
DPRINTF/DNPRINTF() debugging.
2009-11-04MP safe mutex.Takuya ASADA
ok miod@
2009-11-03Align each RX descriptor to a 4KB boundary; fixes poor RX performance (chipMiod Vallat
would stop RX operation if it had to cross a 4KB boundary during receive).
2009-11-03A few cleanups and also reflect duplex state in mcr in addition to tcsr.Miod Vallat
2009-11-03Offset the start of the RX buffers by two bytes, so that the ethernetMiod Vallat
header is properly aligned; speeds up RX buffer -> mbuf copies.
2009-11-03fix previous commit.Damien Bergamini
do not ignore BUS_DMA_NOCACHE (used by some variants of auich and ati drm only). ok kettenis "That looks right" deraadt
2009-11-02s/hz/Hz/ on multiples of the SI unit hertz other than MHz.Igor Sobrado
reminded by STeve Andre.
2009-11-02Got the RX threshold interrupt working, does not help RX performance though;Miod Vallat
while there, silence overzealous messages when the TX empty interrupt fires before we disable it.
2009-11-02Remove file that should never have been there.Mark Kettenis
2009-11-02A few fixes and improvements:Miod Vallat
- double the number of rx buffers. - copy packets of 104 bytes or less entirely in the tx descriptor, instead of only doing this for packets smaller than an Ethernet header. - correctly disable the rx threshold interrupt. Otherwise, one received frame every 64 would not be handled because we are not using this interrupt.
2009-11-02When the iec(4) Ethernet address is unkown, pass ff:ff:ff:ff:ff:ff instead ofMiod Vallat
00:00:00:00:00:00, in order to trigger the code which will assign a `feel bad' random address.
2009-11-01Move IS[12]BYTEMSG and ISEXTMSG defines to a common place.Federico G. Schwindt
Pointed out by miod@. krw@ miod@ ok.
2009-11-01Remove bogus #define __HAVE_GENERIC_SOFT_INTERRUPTS. No code change.Mark Kettenis
2009-11-01Call selwakeup()/KNOTE() even if the queue has emptied completely.Nicholas Marriott
ok miod
2009-11-01Looks like I forgot to add files again. These are the most important filesMiod Vallat
for the new iec(4) driver. Reminded by brad@
2009-11-01Driver for the sgi IOC3 onboard Ethernet interface. Tested on Octane only soMiod Vallat
far, and needs help to figure out its Ethernet address on IP35 systems. Heavily derived from mec(4) written by Izumi Tsutsui and Christopher Sekiya, although it required many changes to fit the IOC3 chip.
2009-10-31A chunk from my WIP bootblocks tree went in by mistake in previous commit;Miod Vallat
spotted by deraadt@
2009-10-31Establish a shutdown hook to disable the watchdog timer to prevent watchdogMark Kettenis
triggers after the kernel has been halted.
2009-10-31Make sure we don't insert and entry into the list of pending commends twice.Mark Kettenis
2009-10-31in the absense of link state handling, drivers should still be silent; ok miodTheo de Raadt
2009-10-31Do not override AS and LD, to be cross compilation friendly; noticed by syuu@Miod Vallat
2009-10-31s/Mhz/MHz/, MHz is a multiple of the SI unit hertz (whose symbol is Hz).Igor Sobrado
2009-10-31Use suser when possible. Suggested by miod@.Federico G. Schwindt
miod@ deraadt@ ok.
2009-10-31Add missing KNOTE() calls after selwakeup(), until we decide if the KNOTE()Theo de Raadt
calls can go directly into selwakeup() safely long discussion with nicm, murmers of consent from tedu and miod, noone else seems to care of kqueue is busted as long as it makes their sockets move data fast... pretty sad.
2009-10-31Blinkenlichten on Octane.Miod Vallat
2009-10-30correct interrupt status bits; patfbsd@davenulle.orgTheo de Raadt
2009-10-30Support IP30 secondary cpu bootup. ok miod@Takuya ASADA
2009-10-29add isp(4), but disable it since on most machines the pci bus is earlierTheo de Raadt
than the root disk... annoying.
2009-10-29iha(4), just like on GENERIC; from bradTheo de Raadt
2009-10-28LOMlite seems to get wedged from time to time; add some code to unwedge it.Mark Kettenis
2009-10-28delete balony comment; ok kettenisTheo de Raadt
2009-10-28 no more eisa, sorryTheo de Raadt
2009-10-28rcsid[] and sccsid[] and copyright[] are essentially unmaintained (andTheo de Raadt
unmaintainable). these days, people use source. these id's do not provide any benefit, and do hurt the small install media (the 33,000 line diff is essentially mechanical) ok with the idea millert, ok dms
2009-10-27Bah didn't man to commit the GENERIC part just yet.Marco Peereboom
Reminded by deraadt.
2009-10-27Add driver for MPI2 SAS HBAs. This covers LSI MPT2 and Dell H200 HBAs.Marco Peereboom
IO works fine but it will remain disabled for now. From James Giannoules dlg: go go go
2009-10-26Load %mxcsr when initializing the FPU on machines that support SSE.Mark Kettenis
ok deraadt@
2009-10-26Do not do strncmp comparisons on dv_xname because longer device names whichTheo de Raadt
look similar could arrive in the future. Instead, compare directly against dv_cfdata->cf_driver->cd_name Issue originally spotted by miod
2009-10-26Rename struct confargs to struct mainbus_attach_args for consistency and alsoMiod Vallat
to prevent further abuse of it.
2009-10-26Get rid of unused `frame' member of struct intrhand; only hardclock() needsMiod Vallat
a frame and clock interrupt doesn't need a struct intrhand.
2009-10-26In device_match(), match on exact device name (as obtained from struct cfdriver)Miod Vallat
instead of `first N chars of dv_xname and checking the next char is a digit'.
2009-10-26Make pci_intr_string() on xbridge return both the xbridge irq and the crossbowMiod Vallat
irq we route it to; this makes clear that devices connected to different xbridges but using the same xbridge irq are actually not shared at all; and this also helps figure out which device cause spurious interrupts.
2009-10-26Remove DS1687 vs DS742 runtime detection code; we only attach dsrtc on theMiod Vallat
onboard ioc(4) devices, and on Octane this is always a DS1687 wired to IOC3 bytebus #1 and #2, while on Origin this is always a DS1742 wired to IOC3 bytebus #0.
2009-10-26Add support for the Octane power button to power(4). Took me a while toMiod Vallat
figure out how the interrupt was routed from xbridge to xheart... (it bypasses the regular `have xbridge send a xio interrupt packet' mechanism)
2009-10-26Add new xbow routines to explicitely trigger or clear an interrupt source,Miod Vallat
instead of embedding that knowledge in xbridge(4); will be used elsewhere shortly.