summaryrefslogtreecommitdiffstats
path: root/sys/arch/sgi/dev (follow)
Commit message (Collapse)AuthorAgeFilesLines
...
* Oops, forgot to add this file, part of the dsrtc DS174x changes.miod2009-05-151-0/+25
|
* TOD clock support for IOC3 flavours with DS174x chips (which are rebadgedmiod2009-05-152-101/+221
| | | | | MK48Txx). Entangled with preliminary changes which will hopefully eventually lead to power(4) attaching on IP30 (but not finished yet).
* IP30 Dallas clock runs in non-BCD mode, so make sure to check which modemiod2009-05-081-27/+30
| | | | the chip is in, and honour it.
* Some recent IOC3 do not have Dallas timekeepers, so perform a few more testsmiod2009-04-201-7/+59
| | | | before deciding to attach dsrtc.
* Parse and display the part number and the serial number, instead of falselymiod2009-04-192-18/+47
| | | | printing the part number as the serial number.
* The start of Origin 200 support. Based on some code contributed by pefo@miod2009-04-131-4/+7
| | | | | | | | | some years ago for KL enumeration, building on the existing XBow support to limit ourselves to a single node for now. This is a work-in-progress; it currently lacks complete interrupt code, as well as PCI resource management. And there are likely bugs creeping inside.
* Also match on Uniqueware family 0x91, and correctly report the third bytemiod2009-04-131-4/+16
| | | | of the Ethernet address.
* Interrupt support for IOC3 and its subdevices (currently limited to themiod2009-04-121-5/+3
| | | | | SuperIO part, the Ethernet part needs a whole driver); kernel now boot single user (or bsd.rd). Joint work with jsing@
* Add support for hardware acceleration to gbe(4). This provides an acceleratedjsing2009-02-242-63/+599
| | | | | | | | | framebuffer for the console on SGI O2 workstations. X is still supported via wsfb(4) by switching back to the unaccelerated linear framebuffer mode. Some hardware details and magic numbers from NetBSD's crmfb(4) driver. ok miod@ jasper@ "Sure, go for it" deraadt@
* Eliminate the redundant bits of code for MTU and multicast handlingbrad2008-11-281-24/+7
| | | | | | | | | | | | | | from the individual drivers now that ether_ioctl() handles this. Shrinks the i386 kernels by.. RAMDISK - 2176 bytes RAMDISKB - 1504 bytes RAMDISKC - 736 bytes Tested by naddy@/okan@/sthen@/brad@/todd@/jmc@ and lots of users. Build tested on almost all archs by todd@/brad@ ok naddy@
* Second pass of simple timeout_add -> timeout_add_sec conversionsblambert2008-10-152-9/+9
| | | | | | | This should take care of the simpler ones (i.e., timeout values of integer multiples of hz). ok krw@, art@
* First step towards cleaning up the Ethernet driver ioctl handling.brad2008-10-021-9/+3
| | | | | | | | | | | | | | | | | | | | Move calling ether_ioctl() from the top of the ioctl function, which at the moment does absolutely nothing, to the default switch case. Thus allowing drivers to define their own ioctl handlers and then falling back on ether_ioctl(). The only functional change this results in at the moment is having all Ethernet drivers returning the proper errno of ENOTTY instead of EINVAL/ENXIO when encountering unknown ioctl's. Shrinks the i386 kernels by.. RAMDISK - 1024 bytes RAMDISKB - 1120 bytes RAMDISKC - 832 bytes Tested by martin@/jsing@/todd@/brad@ Build tested on almost all archs by todd@/brad@ ok jsing@
* Unbreak com@ioc probing.jsing2008-09-171-3/+3
| | | | ok miod@
* - remove some unneeded headersjasper2008-09-161-9/+1
| | | | with and ok jsing@
* Mask the upper 56 bits of the rx ports when reading them, pckbd_input() willmiod2008-06-141-3/+3
| | | | rely on this very soon.
* Don't forget to bus_space_unmap() after probing for a com chip.miod2008-05-011-1/+2
|
* allow low level audio drivers to specify a default sample format,jakemsr2008-04-211-2/+3
| | | | | | | | | instead of 8-bit mono mulaw @ 8kHz. this is just the infrastructure; no drivers are specifying a default yet. ok ratchov@, deanna@
* SGI 1-Wire Number-In-a-Can drivers. These are regular Dallas/Maxim append-onlymiod2008-04-076-0/+548
| | | | | | EEPROM, with knowledge of how SGI formats their contents. They are needed by IOC to figure out the Ethernet address of its Ethernet subdevice (yes, verily).
* Simple com@ioc (with interrupt handling disabled until ioc interrupt code ismiod2008-04-071-0/+112
| | | | written). Joint work with jsing@
* Split clock attachment in two parts: a timecounter attachment (at mainbus),miod2008-04-071-0/+252
| | | | and a time-of-day chip (wherever it gets found).
* Since uncached virtual addresses will depend upon space identifiers on R1xkmiod2008-04-071-6/+6
| | | | | | systems, switch to the PHYS_TO_UNCACHED macro to compute proper addresses. Not really necessary for the O2 which does not implement spaces, but can't hurt either.
* There's no need to print the IRQ now that we have direct configuration.jsing2008-02-211-14/+7
| | | | | | Cleanup the interrupt establishment code a little whilst we're here. ok miod@
* There's no need to print the IRQ now that we have direct configuration.jsing2008-02-211-15/+9
| | | | | | Cleanup the interrupt establishment code a little whilst we're here. ok miod@ jasper@
* Completely overhault attachment rules on sgi. No more indirect configurationmiod2008-02-206-196/+16
| | | | | | | | inherited from OpenBSD/arc machines with ISA bus; mainbus children match on device name and other hierarchies match on simplified locators. As a bonus, attachment lines in dmesg will now print their locators. ok jsing@
* Fix boot time interrupt storm on mec(4) by disabling DMA when stopping thejsing2008-01-211-6/+9
| | | | | | | | | interface. Without this we are potentially freeing TX buffers that are in use, plus we leave DMA enabled when rebooting. This leads to an interrupt storm at boot time if we were receiving/transmitting network traffic whilst shutting down. ok miod@. Tested by jasper@.
* Clean up comments.jsing2008-01-201-107/+107
|
* Significantly improve the gbe(4) driver, including:jsing2007-12-312-212/+608
| | | | | | | | | | | | | | | | - Internal restructure to separate code paths. - Add support for early console. This allows for gbe(4) to takeover were the ARCBios leaves off (if we should do so). - Add support for 8bpp and 16bpp colour depths. As a result, we also have support for colourmaps. We now use 8bpp as the default. - Add mmap() support, enabling wsfb to operate correctly. - Correct initial origin problem that occurred occasionally. ok miod@. tested by jasper@.
* Move wscons_machdep.c to it's rightful location. This brings OpenBSD/sgijsing2007-12-311-128/+0
| | | | | | inline with all other architectures. ok miod@
* power(4) can now make use of the DS1687 register definitions header file.jsing2007-12-271-4/+3
| | | | ok jasper@
* move variable declarations where they belongjasper2007-12-181-5/+5
| | | | prodded by and ok dlg@
* - powerbutton -> power buttonjasper2007-12-181-5/+5
| | | | - minor knf nit (suggested by miod@)
* add power(4), a driver for the power button found on SGI O2's.jasper2007-12-181-0/+142
| | | | | | | when machdep.kbdreset is set, and the correct interrupt is fired, the machine gets shut down. with help from and ok jsing@, ok miod@
* Enable console support for SGI O2 workstations. Switch between the serialjsing2007-12-141-7/+25
| | | | | | | | | and graphical console based on the selection made in the ARCBIOS. Early attachment of gbe(4) is still required, otherwise we have a working graphical console. ok miod@
* Add console/cnattach support to mkbc(4). This allows for early attachmentjsing2007-12-142-44/+156
| | | | | | of pckbd(4) and provides us with a console keyboard. Tested by jasper@. ok miod@
* Have gbe(4) attach as the console if the graphical console is selected viajsing2007-12-141-14/+11
| | | | | | ARCBIOS. Tested by jasper@. ok miod@
* add rcs idjasper2007-11-272-0/+4
| | | | "feel free to do so" jsing@
* Initial support for the SGI Graphics Back End (GBE) frame buffer found injsing2007-11-272-0/+641
| | | | | | | | SGI O2 machines. We currently rely on the video hardware being initialised by the ARCS firmware and can only use the initial resolution with a colour depth of 32 bits. This driver is disabled by default. ok miod@
* Fix some style(9) issues.jsing2007-11-261-42/+35
| | | | ok miod@
* It helps if you initialise timeouts before you try using them...jsing2007-11-251-1/+3
| | | | ok miod@
* Give wscons_machdep.c half a spanking. This allows wsdisplay to compile onjsing2007-11-131-10/+5
| | | | | | OpenBSD/sgi and prevents it from stealing the console. ok miod@
* Add support for the Moosehead PS/2 controller as found on SGI O2 workstations.jsing2007-10-182-0/+889
| | | | ok miod@ deraadt@
* typo fixes from joel@ionix.com.auderaadt2007-07-312-18/+18
|
* Check for codec presence in match(), and don't attach if none is found.miod2007-05-201-9/+10
| | | | ok kettenis@
* Do not invoke arcbios routines from the moment our page tables are set up,miod2007-04-261-8/+3
| | | | | | to the moment we reboot, for we do not know what it can do behind our back; this means the built-in ethernet address has to be read from the arcbios environment earlier.
* Ansify. No binary change on amd64 and i386, not yet built on sgi. ok miod@matthieu2006-06-111-13/+6
|
* allow bpf(4) to ignore packets based on their direction (inbound ordjm2006-03-251-3/+3
| | | | | outbound), using a new BIOCSDIRFILT ioctl; guidance, feedback and ok canacar@
* Drop clause 3/4 as per i386 version.jsg2005-12-091-6/+1
| | | | ok aaron@ (Copyright holder).
* splimp -> splnetbrad2005-11-091-2/+2
|
* make sure aligment does not return zero block sizemickey2005-04-151-2/+2
|
* ehternet -> ethernetmiod2005-02-171-2/+2
|