Age | Commit message (Collapse) | Author | |
---|---|---|---|
2008-11-28 | Eliminate the redundant bits of code for MTU and multicast handling | Brad Smith | |
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@ | |||
2008-11-25 | Another bunch of TRY_AGAIN_LATER -> NO_CCB when no I/O could be started. | Kenneth R Westerback | |
"looks sane to me" marco@ | |||
2008-10-08 | cosmetic change for ioctl funtions.. move splnet out from variable declaration. | Brad Smith | |
2008-10-02 | First step towards cleaning up the Ethernet driver ioctl handling. | Brad Smith | |
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@ | |||
2008-06-26 | First pass at removing clauses 3 and 4 from NetBSD licenses. | Ray Lai | |
Not sure what's more surprising: how long it took for NetBSD to catch up to the rest of the BSDs (including UCB), or the amount of code that NetBSD has claimed for itself without attributing to the actual authors. OK deraadt@ | |||
2008-05-19 | Change all remaining MD uses of MALLOC and FREE into proper malloc() and | Miod Vallat | |
free() calls; prodded by chl@, ok krw@ | |||
2008-01-23 | Cleanup cn_pri. Change constants to more meaningful names, rather than | Joel Sing | |
the hp300 related ones currently in use. CN_NORMAL becomes CN_LOWPRI, CN_INTERNAL becomes CN_MIDPRI and CN_REMOTE becomes CN_HIGHPRI. ok miod@ | |||
2007-12-29 | fix comments after the members of scsi_adapter were changed. | David Gwynne | |
prompted by krw@ | |||
2007-11-25 | spelling fixes, from Martynas Venckus; | Jason McIntyre | |
2007-11-24 | some spelling fixes from Martynas Venckus | Jason McIntyre | |
2007-10-22 | stoped -> stopped | Joel Sing | |
ok miod@ | |||
2007-10-14 | 'expresion' -> 'expression'. Reported by Jung on tech@. | Kenneth R Westerback | |
2007-09-17 | Only the most obvious bzero() -> M_ZERO changes. No cast changes, no | Kenneth R Westerback | |
MALLOC/FREE, etc. Just adding M_ZERO to malloc() and deleting an immediately adjacent bzero(). | |||
2007-09-10 | Pass a real ipl level to add_nubus_intr(), and make sure the interrupt | Miod Vallat | |
handler is invoked with spl raised to the given level, otherwise all nubus interrupts are processed at level 2. | |||
2007-09-04 | Reset the chip after internal memory exhaustion, makes the driver more solid | Miod Vallat | |
with heavy NFS usage. | |||
2007-07-29 | It turns out that VIA2 always interrupts at level 2, and IPL_BIO is always 2 | Miod Vallat | |
too, so we can make these constants. | |||
2007-04-24 | It's never too late to write "too late" correctly. | Miod Vallat | |
2007-04-10 | ``it's'' -> ``its'' when the grammar gods require this change. | Miod Vallat | |
2007-03-17 | Indentation repairs, no code change. | Miod Vallat | |
2007-03-13 | Drop the second and third arguments to adb_op_sync, for they are not used; | Miod Vallat | |
while there, remove explicit global variable initializations to zero, and appease the gods by removing the most ludicrous spurious casts. No functional change (except for code shrinkage). | |||
2007-03-04 | Limit knowledge of splfoo() return values, and use mac68k_machine.via1_ipl | Miod Vallat | |
instead of hardcoded 1; this gets us rid of unnecessary polls on machines running with A/UX interrupts. | |||
2007-01-22 | use the MI DP8390 driver instead of rolling our own functions | Martin Reindl | |
from NetBSD | |||
2007-01-14 | zsprintf() is gone, fixes ZSMACDEBUG case | Martin Reindl | |
2007-01-12 | fix altq for mc(4); make mbuf functions return NULL instead of 0 while | Martin Reindl | |
there from Brad, tested by me on all three adapters | |||
2007-01-12 | support a few more video cards, untested: | Martin Reindl | |
Formac Baers/ProNitron 80.IVb Apple Mac II Monochrome Video Card VillageTronic Mac Picasso 340 Relax 19" Model 200 prodded by miod@ from NetBSD | |||
2007-01-03 | shorten dmesg a bit | Martin Reindl | |
2006-12-13 | Remove the dma_eop callback in the ncr5380 driver md attachment, it was always | Miod Vallat | |
doing nothing and the mi code does not use it anymore anyway. No functional change. | |||
2006-12-06 | fix some multi-line comments and printfs | Martin Reindl | |
2006-11-29 | Add a new member to struct wsemuldisplaydev_attach_args, for a frame buffer | Miod Vallat | |
driver to be able to tell how many wscons screens to attach to it, instead of WSDISPLAY_DEFAULTSCREENS which is a global setting. | |||
2006-11-28 | give scsi controllers a real attach args to fill in when attaching scsibus. | David Gwynne | |
ok miod@ marco@ deraadt@ | |||
2006-09-16 | Do not use bus_space_write_multi and happily write to NULL and die, when | Miod Vallat | |
bus_space_set_region was intended. ok deraadt@ | |||
2006-07-11 | the scsi_link structure contained a copy of the inquiry flags and the whole | David Gwynne | |
inquiry. this removes the flags member and makes all its users refer to the whole inquiry now. ok miod@ krw@ | |||
2006-06-30 | When allocating the default rasops attribute, it is not necessary to use | Miod Vallat | |
non-zero parameters on a color display as long as we want white on black; this was inherited from sparc but this is not necessary on these platforms. | |||
2006-06-24 | Allocate ethernet buffers as uvm pages, and map them with pmap_enter_cache(), | Miod Vallat | |
instead of crossing fingers and expecting malloc() to return aligned and contiguous memory. | |||
2006-04-16 | Remove assert definitions which are provided by libkern. | Miod Vallat | |
2006-04-14 | rm trailing whitespace | Martin Reindl | |
2006-03-25 | allow bpf(4) to ignore packets based on their direction (inbound or | Damien Miller | |
outbound), using a new BIOCSDIRFILT ioctl; guidance, feedback and ok canacar@ | |||
2006-03-23 | - Remove variable names from function prototypes. | Brad Smith | |
- Use ether_input_mbuf() and bpf_mtap(). From NetBSD ok martin@ | |||
2006-03-23 | Use PAGE_SIZE instead of NBPG. | Brad Smith | |
2006-03-23 | ANSI and KNF. | Brad Smith | |
2006-03-23 | ANSIfy | Brad Smith | |
2006-03-15 | Entries in cd_devs[] may be NULL, so be sure to check for them in your | Miod Vallat | |
device open() function. | |||
2006-03-13 | Put wsscreen_list array inside the softc instead of on the stack; similar fix | Miod Vallat | |
as happened on hp300 and sparc* yesterday. | |||
2006-03-13 | Although we can not currently run the glass console with colors if in an | Miod Vallat | |
indexed mode, remember the colormap information (if any) when the real driver attaches, and use it to allow for X11 to control the colormap. This allows glass console and 8bpp X11 on DAFB (previously, this would only be possible if the console was on cereal). | |||
2006-03-13 | remove splimp. | Brad Smith | |
ok miod@ | |||
2006-03-04 | Set up a ``different shades of gray'' palette at 2bpp, this gives us | Miod Vallat | |
highlighting. | |||
2006-02-26 | skip common macfb attachment on unknown cards | Martin Reindl | |
ok miod@ deraadt@ | |||
2006-02-25 | initialize rv to zero avoiding match on whatever is just next on the bus | Martin Reindl | |
2006-02-12 | Remove packets from the queue before calling their completion routine, as | Miod Vallat | |
done on macppc. | |||
2006-02-06 | typos from alexey dobriyan; | Jason McIntyre | |